diff --git a/Externals/GLew/LICENSE.txt b/Externals/GLew/LICENSE.txt deleted file mode 100644 index f7078042e9..0000000000 --- a/Externals/GLew/LICENSE.txt +++ /dev/null @@ -1,73 +0,0 @@ -The OpenGL Extension Wrangler Library -Copyright (C) 2002-2007, Milan Ikits -Copyright (C) 2002-2007, Marcelo E. Magallon -Copyright (C) 2002, Lev Povalahev -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* The name of the author may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -THE POSSIBILITY OF SUCH DAMAGE. - - -Mesa 3-D graphics library -Version: 7.0 - -Copyright (C) 1999-2007 Brian Paul All Rights Reserved. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the "Software"), -to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -Copyright (c) 2007 The Khronos Group Inc. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and/or associated documentation files (the -"Materials"), to deal in the Materials without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Materials, and to -permit persons to whom the Materials are furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Materials. - -THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. diff --git a/Externals/GLew/Makefile b/Externals/GLew/Makefile deleted file mode 100644 index 1eb3206dfe..0000000000 --- a/Externals/GLew/Makefile +++ /dev/null @@ -1,268 +0,0 @@ -#!gmake -## The OpenGL Extension Wrangler Library -## Copyright (C) 2002-2008, Milan Ikits -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002, Lev Povalahev -## All rights reserved. -## -## Redistribution and use in source and binary forms, with or without -## modification, are permitted provided that the following conditions are met: -## -## * Redistributions of source code must retain the above copyright notice, -## this list of conditions and the following disclaimer. -## * Redistributions in binary form must reproduce the above copyright notice, -## this list of conditions and the following disclaimer in the documentation -## and/or other materials provided with the distribution. -## * The name of the author may be used to endorse or promote products -## derived from this software without specific prior written permission. -## -## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -## AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -## ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -## LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -## CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -## SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -## INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -## CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -## THE POSSIBILITY OF SUCH DAMAGE. - -include config/version - -SHELL = /bin/sh -SYSTEM = $(shell config/config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;') -SYSTEM.SUPPORTED = $(shell test -f config/Makefile.$(SYSTEM) && echo 1) - -ifeq ($(SYSTEM.SUPPORTED), 1) -include config/Makefile.$(SYSTEM) -else -$(error "Platform '$(SYSTEM)' not supported") -endif - -GLEW_DEST ?= /usr -BINDIR ?= $(GLEW_DEST)/bin -LIBDIR ?= $(GLEW_DEST)/lib -INCDIR ?= $(GLEW_DEST)/include/GL -SHARED_OBJ_EXT ?= o -TARDIR = ../glew-$(GLEW_VERSION) -TARBALL = ../glew-$(GLEW_VERSION).tar.gz - -DIST_DIR = glew-$(GLEW_VERSION) -DIST_WIN32 = glew-$(GLEW_VERSION)-win32.zip -DIST_SRC_ZIP = glew-$(GLEW_VERSION).zip -DIST_SRC_TGZ = glew-$(GLEW_VERSION).tgz - -AR = ar -INSTALL = install -STRIP = strip -RM = rm -f -LN = ln -sf -ifeq ($(MAKECMDGOALS), debug) -OPT = -g -else -OPT = $(POPT) -endif -INCLUDE = -Iinclude -CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA) - -LIB.SRCS = src/glew.c -LIB.OBJS = $(LIB.SRCS:.c=.o) -LIB.SOBJS = $(LIB.SRCS:.c=.$(SHARED_OBJ_EXT)) -LIB.LDFLAGS = $(LDFLAGS.EXTRA) $(LDFLAGS.GL) -LIB.LIBS = $(GL_LDFLAGS) - -GLEWINFO.BIN = glewinfo$(BIN.SUFFIX) -GLEWINFO.BIN.SRCS = src/glewinfo.c -GLEWINFO.BIN.OBJS = $(GLEWINFO.BIN.SRCS:.c=.o) -VISUALINFO.BIN = visualinfo$(BIN.SUFFIX) -VISUALINFO.BIN.SRCS = src/visualinfo.c -VISUALINFO.BIN.OBJS = $(VISUALINFO.BIN.SRCS:.c=.o) -BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL) - -all debug: lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) glew.pc - -lib: - mkdir lib - -lib/$(LIB.STATIC): $(LIB.OBJS) - $(AR) cr $@ $^ - -lib/$(LIB.SHARED): $(LIB.SOBJS) - $(LD) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS) -ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw) -else - $(LN) $(LIB.SHARED) lib/$(LIB.SONAME) - $(LN) $(LIB.SHARED) lib/$(LIB.DEVLNK) -endif - -bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.OBJS) lib/$(LIB.SHARED) - $(CC) $(CFLAGS) -o $@ $(GLEWINFO.BIN.OBJS) $(BIN.LIBS) - -bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.OBJS) lib/$(LIB.SHARED) - $(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.OBJS) $(BIN.LIBS) - -%.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< - -src/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h - $(CC) $(CFLAGS) $(CFLAGS.SO) -o $@ -c $< - -src/glew.pic_o: src/glew.c include/GL/glew.h include/GL/wglew.h include/GL/glxew.h - $(CC) $(CFLAGS) $(PICFLAG) $(CFLAGS.SO) -o $@ -c $< - -glew.pc: glew.pc.in - sed \ - -e "s|@prefix@|$(GLEW_DEST)|g" \ - -e "s|@libdir@|$(LIBDIR)|g" \ - -e "s|@exec_prefix@|$(BINDIR)|g" \ - -e "s|@includedir@|$(INCDIR)|g" \ - -e "s|@version@|$(GLEW_VERSION)|g" \ - < $< > $@ - -install: all -# directories - $(INSTALL) -d -m 0755 $(BINDIR) - $(INSTALL) -d -m 0755 $(INCDIR) - $(INSTALL) -d -m 0755 $(LIBDIR) -# runtime -ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw) - $(STRIP) -x lib/$(LIB.SHARED) - $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(BINDIR)/ -else - $(STRIP) -x lib/$(LIB.SHARED) - $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/ - $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME) -endif -# development files - $(INSTALL) -m 0644 include/GL/wglew.h $(INCDIR)/ - $(INSTALL) -m 0644 include/GL/glew.h $(INCDIR)/ - $(INSTALL) -m 0644 include/GL/glxew.h $(INCDIR)/ - $(INSTALL) -m 0644 glew.pc $(LIBDIR)/pkgconfig/ -ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw) - $(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(LIBDIR)/ -else - $(STRIP) -x lib/$(LIB.STATIC) - $(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/ - $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK) -endif -# utilities - $(INSTALL) -s -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) $(BINDIR)/ - -uninstall: - $(RM) $(INCDIR)/wglew.h - $(RM) $(INCDIR)/glew.h - $(RM) $(INCDIR)/glxew.h - $(RM) $(LIBDIR)/$(LIB.DEVLNK) -ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw) - $(RM) $(BINDIR)/$(LIB.SHARED) -else - $(RM) $(LIBDIR)/$(LIB.SONAME) - $(RM) $(LIBDIR)/$(LIB.SHARED) - $(RM) $(LIBDIR)/$(LIB.STATIC) -endif - $(RM) $(BINDIR)/$(GLEWINFO.BIN) $(BINDIR)/$(VISUALINFO.BIN) - -clean: - $(RM) $(LIB.OBJS) - $(RM) $(LIB.SOBJS) - $(RM) lib/$(LIB.STATIC) lib/$(LIB.SHARED) lib/$(LIB.DEVLNK) lib/$(LIB.SONAME) $(LIB.STATIC) - $(RM) $(GLEWINFO.BIN.OBJS) bin/$(GLEWINFO.BIN) $(VISUALINFO.BIN.OBJS) bin/$(VISUALINFO.BIN) - $(RM) glew.pc -# Compiler droppings - $(RM) so_locations - -distclean: clean - find . -name \*~ | xargs $(RM) - find . -name .\*.sw\? | xargs $(RM) - -tardist: - $(RM) -r $(TARDIR) - mkdir $(TARDIR) - cp -a . $(TARDIR) - find $(TARDIR) -name CVS -o -name .cvsignore | xargs $(RM) -r - find $(TARDIR) -name .svn | xargs $(RM) -r - $(MAKE) -C $(TARDIR) distclean - $(MAKE) -C $(TARDIR) - $(MAKE) -C $(TARDIR) distclean - $(RM) -r $(TARDIR)/auto/registry - env GZIP=-9 tar -C `dirname $(TARDIR)` -cvzf $(TARBALL) `basename $(TARDIR)` - -dist-win32: - $(RM) -r $(TARDIR) - mkdir -p $(TARDIR) - mkdir -p $(TARDIR)/bin - mkdir -p $(TARDIR)/lib - cp -a include $(TARDIR) - cp -a doc $(TARDIR) - cp -a *.txt $(TARDIR) - cp -a lib/glew32.lib $(TARDIR)/lib - cp -a lib/glew32s.lib $(TARDIR)/lib - cp -a bin/glew32.dll $(TARDIR)/bin - cp -a bin/glewinfo.exe $(TARDIR)/bin - cp -a bin/visualinfo.exe $(TARDIR)/bin - find $(TARDIR) -name CVS -o -name .cvsignore | xargs $(RM) -r - find $(TARDIR) -name .svn | xargs $(RM) -r - unix2dos $(TARDIR)/include/GL/*.h - unix2dos $(TARDIR)/doc/*.txt - unix2dos $(TARDIR)/doc/*.html - unix2dos $(TARDIR)/*.txt - rm -f ../$(DIST_WIN32) - cd .. && zip -rv9 $(DIST_WIN32) $(DIST_DIR) - -dist-src: - $(RM) -r $(TARDIR) - mkdir -p $(TARDIR) - mkdir -p $(TARDIR)/bin - mkdir -p $(TARDIR)/lib - cp -a auto $(TARDIR) - $(RM) -Rf $(TARDIR)/auto/registry - cp -a build $(TARDIR) - cp -a config $(TARDIR) - cp -a src $(TARDIR) - cp -a doc $(TARDIR) - cp -a include $(TARDIR) - cp -a *.txt $(TARDIR) - cp -a Makefile $(TARDIR) - cp -a glew.pc.in $(TARDIR) - find $(TARDIR) -name '*.o' | xargs $(RM) -r - find $(TARDIR) -name '*.pic_o' | xargs $(RM) -r - find $(TARDIR) -name '*~' | xargs $(RM) -r - find $(TARDIR) -name CVS -o -name .cvsignore | xargs $(RM) -r - find $(TARDIR) -name .svn | xargs $(RM) -r - unix2dos $(TARDIR)/config/* - unix2dos $(TARDIR)/auto/core/* - unix2dos $(TARDIR)/auto/extensions/* - find $(TARDIR) -name '*.h' | xargs unix2dos - find $(TARDIR) -name '*.c' | xargs unix2dos - find $(TARDIR) -name '*.txt' | xargs unix2dos - find $(TARDIR) -name '*.html' | xargs unix2dos - find $(TARDIR) -name '*.css' | xargs unix2dos - find $(TARDIR) -name '*.sh' | xargs unix2dos - find $(TARDIR) -name '*.pl' | xargs unix2dos - find $(TARDIR) -name 'Makefile' | xargs unix2dos - find $(TARDIR) -name '*.in' | xargs unix2dos - find $(TARDIR) -name '*.pm' | xargs unix2dos - find $(TARDIR) -name '*.rc' | xargs unix2dos - rm -f ../$(DIST_SRC_ZIP) - cd .. && zip -rv9 $(DIST_SRC_ZIP) $(DIST_DIR) - dos2unix $(TARDIR)/config/* - dos2unix $(TARDIR)/auto/core/* - dos2unix $(TARDIR)/auto/extensions/* - find $(TARDIR) -name '*.h' | xargs dos2unix - find $(TARDIR) -name '*.c' | xargs dos2unix - find $(TARDIR) -name '*.txt' | xargs dos2unix - find $(TARDIR) -name '*.html' | xargs dos2unix - find $(TARDIR) -name '*.css' | xargs dos2unix - find $(TARDIR) -name '*.sh' | xargs dos2unix - find $(TARDIR) -name '*.pl' | xargs dos2unix - find $(TARDIR) -name 'Makefile' | xargs dos2unix - find $(TARDIR) -name '*.in' | xargs dos2unix - find $(TARDIR) -name '*.pm' | xargs dos2unix - find $(TARDIR) -name '*.rc' | xargs dos2unix - cd .. && env GZIP=-9 tar cvzf $(DIST_SRC_TGZ) $(DIST_DIR) - -extensions: - $(MAKE) -C auto - -.PHONY: clean distclean tardist dist-win32 dist-src diff --git a/Externals/GLew/README.txt b/Externals/GLew/README.txt deleted file mode 100644 index 1b19c53523..0000000000 --- a/Externals/GLew/README.txt +++ /dev/null @@ -1,18 +0,0 @@ -See doc/index.html for more information. - -If you downloaded the tarball from the GLEW website, you just need to: - - Unix: - - make - - Windows: - - use the project file in build/vc6/ - -If you wish to build GLEW from scratch (update the extension data from -the net or add your own extension information), you need a Unix -environment (including wget, perl, and GNU make). The extension data -is regenerated from the top level source directory with: - - make extensions diff --git a/Externals/GLew/TODO.txt b/Externals/GLew/TODO.txt deleted file mode 100644 index d2701b652e..0000000000 --- a/Externals/GLew/TODO.txt +++ /dev/null @@ -1,12 +0,0 @@ -Major: - - add support for windows mini-client drivers - - add windows installer (msi) - - separate build of static and shared object files (for mingw and - cygwin) - - start designing GLEW 2.0 - -Minor: - - make auto scripts work with text mode cygwin mounts - - add support for all SUN, MTX, and OML extensions - - make auto/Makefile more robust against auto/core/*~ mistakes - - web poll on separating glew, glxew and wglew diff --git a/Externals/GLew/auto/Makefile b/Externals/GLew/auto/Makefile deleted file mode 100644 index 1016df42ed..0000000000 --- a/Externals/GLew/auto/Makefile +++ /dev/null @@ -1,371 +0,0 @@ -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -include ../config/version - -#GLEW_SPLIT_SOURCE = yes - -SHELL = bash -REGISTRY = registry -REGISTRY_URL = http://www.opengl.org/registry/ -#http://oss.sgi.com/projects/ogl-sample/registry/ -BIN = bin -SRC = src -CORE = core -EXT = extensions -BLACKLIST = blacklist - -GL_CORE_SPEC := $(CORE)/GL_VERSION* -GLX_CORE_SPEC := $(CORE)/GLX_VERSION* -ifeq (custom,$(MAKECMDGOALS)) -#GL_CORE_SPEC := $(shell grep GL_VERSION custom.txt | sed -e 's/\(.*\)/$(CORE)\/\1/g;') -GL_EXT_SPEC := $(shell grep "^[ \t]*GL_" custom.txt | grep -v GL_VERSION | sed -e 's/\(.*\)/$(EXT)\/\1/g;') -WGL_EXT_SPEC := $(shell grep "^[ \t]*WGL_" custom.txt | sed -e 's/\(.*\)/$(EXT)\/\1/g;') -#GLX_CORE_SPEC := $(shell grep GLX_VERSION custom.txt | sed -e 's/\(.*\)/$(CORE)\/\1/g;') -GLX_EXT_SPEC := $(shell grep "^[ \t]*GLX_" custom.txt | grep -v GLX_VERSION | grep -v GLX_OML_sync_control | sed -e 's/\(.*\)/$(EXT)\/\1/g;') -else -GL_EXT_SPEC := $(EXT)/GL_* -WGL_EXT_SPEC := $(EXT)/WGL_* -GLX_EXT_SPEC := $(EXT)/GLX_* -endif - -PARSE_SPEC = parse_spec.pl -SYSTEM = $(strip $(shell uname -s)) - -TOP = .. -I.DEST = $(TOP)/include/GL -S.DEST = $(TOP)/src -D.DEST = $(TOP)/doc -B.DEST = $(TOP)/build/vc6 - -I.TARGETS = \ - $(I.DEST)/glew.h \ - $(I.DEST)/wglew.h \ - $(I.DEST)/glxew.h - -ifeq (yes,$(GLEW_SPLIT_SOURCE)) -S.TARGETS = \ - $(S.DEST)/glew_def.c \ - $(S.DEST)/glew_init.c \ - $(S.DEST)/glew_str.c \ - $(S.DEST)/glewinfo.c -else -S.TARGETS = \ - $(S.DEST)/glew.c \ - $(S.DEST)/glewinfo.c -endif - -D.TARGETS = \ - $(D.DEST)/index.html \ - $(D.DEST)/install.html \ - $(D.DEST)/basic.html \ - $(D.DEST)/advanced.html \ - $(D.DEST)/credits.html \ - $(D.DEST)/log.html \ - $(D.DEST)/glew.html \ - $(D.DEST)/wglew.html \ - $(D.DEST)/glxew.html - -B.TARGETS = \ - $(B.DEST)/glew.rc \ - $(B.DEST)/glewinfo.rc \ - $(B.DEST)/visualinfo.rc - -all custom: $(I.TARGETS) $(S.TARGETS) $(D.TARGETS) $(B.TARGETS) - -registry: $(REGISTRY)/.dummy -ext: $(EXT)/.dummy - -$(REGISTRY)/.dummy: $(BIN)/update_registry.sh - @echo "--------------------------------------------------------------------" - @echo "Downloading registry" - @echo "--------------------------------------------------------------------" - $(BIN)/update_registry.sh $(REGISTRY) $(REGISTRY_URL) - touch $@ - -$(EXT)/.dummy: $(REGISTRY)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating descriptors" - @echo "--------------------------------------------------------------------" - rm -rf $(EXT) - $(BIN)/update_ext.sh $(EXT) $(REGISTRY) $(BLACKLIST) -ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin) - find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \ - xargs -J % cp % $(EXT) -else - find $(CORE) -maxdepth 1 -type f | grep -v VERSION | grep -v "~" | \ - xargs cp --target-directory=$(EXT) -endif - touch $@ - -$(I.DEST)/glew.h: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating glew.h" - @echo "--------------------------------------------------------------------" - test -d $(I.DEST) || mkdir -p $(I.DEST) - cp -f $(SRC)/glew_license.h $@ - cat $(SRC)/mesa_license.h >> $@ - cat $(SRC)/khronos_license.h >> $@ - cat $(SRC)/glew_head.h >> $@ - $(BIN)/make_header.pl GLAPIENTRY GL $(GL_CORE_SPEC) >> $@ - $(BIN)/make_header.pl GLAPIENTRY GL $(GL_EXT_SPEC) >> $@ - echo -e "/* ------------------------------------------------------------------------- */\n\n#if defined(GLEW_MX) && defined(_WIN32)\n#define GLEW_FUN_EXPORT\n#else\n#define GLEW_FUN_EXPORT GLEWAPI\n#endif /* GLEW_MX */\n" >> $@ - echo -e "#if defined(GLEW_MX)\n#define GLEW_VAR_EXPORT\n#else\n#define GLEW_VAR_EXPORT GLEWAPI\n#endif /* GLEW_MX */\n" >> $@ - echo -e "#if defined(GLEW_MX) && defined(_WIN32)\nstruct GLEWContextStruct\n{\n#endif /* GLEW_MX */" >> $@ - $(BIN)/make_struct_fun.pl GLEW_FUN_EXPORT $(GL_CORE_SPEC) $(GL_EXT_SPEC) >> $@ - echo -e "\n#if defined(GLEW_MX) && !defined(_WIN32)\nstruct GLEWContextStruct\n{\n#endif /* GLEW_MX */\n" >> $@ - $(BIN)/make_struct_var.pl GLEW_VAR_EXPORT $(GL_CORE_SPEC) $(GL_EXT_SPEC) >> $@ - echo -e "\n#ifdef GLEW_MX\n}; /* GLEWContextStruct */\n#endif /* GLEW_MX */\n" >> $@ - perl -e 's/GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_2;/GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_1;\nGLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_2;/' -pi $@ - rm -f $@.bak - cat $(SRC)/glew_tail.h >> $@ - -$(I.DEST)/wglew.h: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating wglew.h" - @echo "--------------------------------------------------------------------" - cp -f $(SRC)/glew_license.h $@ - cat $(SRC)/khronos_license.h >> $@ - cat $(SRC)/wglew_head.h >> $@ - $(BIN)/make_header.pl WINAPI WGL $(WGL_EXT_SPEC) >> $@ - echo -e "/* ------------------------------------------------------------------------- */\n\n#ifdef GLEW_MX\n#define WGLEW_EXPORT\n#else\n#define WGLEW_EXPORT GLEWAPI\n#endif /* GLEW_MX */\n\n#ifdef GLEW_MX\nstruct WGLEWContextStruct\n{\n#endif /* GLEW_MX */" >> $@ - $(BIN)/make_struct_fun.pl WGLEW_EXPORT $(WGL_EXT_SPEC) >> $@ - $(BIN)/make_struct_var.pl WGLEW_EXPORT $(WGL_EXT_SPEC) >> $@ - echo -e "\n#ifdef GLEW_MX\n}; /* WGLEWContextStruct */\n#endif /* GLEW_MX */\n" >> $@ - cat $(SRC)/wglew_tail.h >> $@ - -$(I.DEST)/glxew.h: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating glxew.h" - @echo "--------------------------------------------------------------------" - cp -f $(SRC)/glew_license.h $@ - cat $(SRC)/mesa_license.h >> $@ - cat $(SRC)/khronos_license.h >> $@ - cat $(SRC)/glxew_head.h >> $@ - $(BIN)/make_header.pl '' GLX $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_header.pl '' GLX $(GLX_EXT_SPEC) >> $@ - echo -e "/* ------------------------------------------------------------------------- */\n\n#ifdef GLEW_MX\n#define GLXEW_EXPORT\n#else\n#define GLXEW_EXPORT extern\n#endif /* GLEW_MX */" >> $@ - $(BIN)/make_struct_fun.pl extern $(GLX_CORE_SPEC) $(GLX_EXT_SPEC) >> $@ - echo -e "\n#if defined(GLEW_MX)\nstruct GLXEWContextStruct\n{\n#endif /* GLEW_MX */\n" >> $@ - $(BIN)/make_struct_var.pl GLXEW_EXPORT $(GLX_CORE_SPEC) $(GLX_EXT_SPEC) >> $@ - echo -e "\n#ifdef GLEW_MX\n}; /* GLXEWContextStruct */\n#endif /* GLEW_MX */\n" >> $@ - perl -e 's/GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_2;/GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_0;\nGLXEW_EXPORT GLboolean __GLXEW_VERSION_1_1;\nGLXEW_EXPORT GLboolean __GLXEW_VERSION_1_2;/' -pi $@ - cat $(SRC)/glxew_tail.h >> $@ - $(BIN)/fix_OML_sync_control.sh $@ - -$(S.DEST)/glew.c: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating glew.c" - @echo "--------------------------------------------------------------------" - cp -f $(SRC)/glew_license.h $@ - cat $(SRC)/glew_head.c >> $@ - echo -e "\n#if !defined(_WIN32) || !defined(GLEW_MX)" >> $@ - $(BIN)/make_def_fun.pl GL $(GL_CORE_SPEC) >> $@ - $(BIN)/make_def_fun.pl GL $(GL_EXT_SPEC) >> $@ - echo -e "\n#endif /* !WIN32 || !GLEW_MX */" >> $@ - echo -e "\n#if !defined(GLEW_MX)" >> $@; - echo -e "\nGLboolean __GLEW_VERSION_1_1 = GL_FALSE;" >> $@ - $(BIN)/make_def_var.pl GL $(GL_CORE_SPEC) >> $@ - $(BIN)/make_def_var.pl GL $(GL_EXT_SPEC) >> $@ - echo -e "\n#endif /* !GLEW_MX */\n" >> $@; - $(BIN)/make_init.pl GL $(GL_CORE_SPEC) >> $@ - $(BIN)/make_init.pl GL $(GL_EXT_SPEC) >> $@ - cat $(SRC)/glew_init_gl.c >> $@ - $(BIN)/make_list.pl $(GL_CORE_SPEC) | grep -v '\"GL_VERSION' >> $@ - $(BIN)/make_list.pl $(GL_EXT_SPEC) >> $@ - echo -e "\n return GLEW_OK;\n}\n" >> $@ - echo -e "\n#if defined(_WIN32)" >> $@ - echo -e "\n#if !defined(GLEW_MX)" >> $@ - $(BIN)/make_def_fun.pl WGL $(WGL_EXT_SPEC) >> $@ - $(BIN)/make_def_var.pl WGL $(WGL_EXT_SPEC) >> $@ - echo -e "\n#endif /* !GLEW_MX */\n" >> $@; - $(BIN)/make_init.pl WGL $(WGL_EXT_SPEC) >> $@ - cat $(SRC)/glew_init_wgl.c >> $@ - $(BIN)/make_list.pl $(WGL_EXT_SPEC) >> $@ - echo -e "\n return GLEW_OK;\n}" >> $@; - echo -e "\n#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)" >> $@ - $(BIN)/make_def_fun.pl GLX $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_def_fun.pl GLX $(GLX_EXT_SPEC) >> $@ - echo -e "\n#if !defined(GLEW_MX)" >> $@; - echo -e "\nGLboolean __GLXEW_VERSION_1_0 = GL_FALSE;" >> $@ - echo -e "GLboolean __GLXEW_VERSION_1_1 = GL_FALSE;" >> $@ - $(BIN)/make_def_var.pl GLX $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_def_var.pl GLX $(GLX_EXT_SPEC) >> $@ - echo -e "\n#endif /* !GLEW_MX */\n" >> $@; - $(BIN)/make_init.pl GLX $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_init.pl GLX $(GLX_EXT_SPEC) >> $@ - cat $(SRC)/glew_init_glx.c >> $@ - $(BIN)/make_list.pl $(CORE)/GLX_VERSION_1_3 | grep -v '\"GLX_VERSION' >> $@ - $(BIN)/make_list.pl $(GLX_EXT_SPEC) >> $@ - echo -e "\n return GLEW_OK;\n}" >> $@ - echo -e "\n#endif /* !__APPLE__ || GLEW_APPLE_GLX */\n" >> $@; - cat $(SRC)/glew_init_tail.c >> $@ - cat $(SRC)/glew_str_head.c >> $@ - $(BIN)/make_str.pl $(GL_CORE_SPEC) $(GL_EXT_SPEC) >> $@ - cat $(SRC)/glew_str_wgl.c >> $@ - $(BIN)/make_str.pl $(WGL_EXT_SPEC) >> $@ - cat $(SRC)/glew_str_glx.c >> $@ - $(BIN)/make_str.pl $(GLX_CORE_SPEC) $(GLX_EXT_SPEC) >> $@ - cat $(SRC)/glew_str_tail.c >> $@ - perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@ - perl -e "s/GLEW_VERSION_MAJOR_STRING/$(GLEW_MAJOR)/g" -pi $@ - perl -e "s/GLEW_VERSION_MINOR_STRING/$(GLEW_MINOR)/g" -pi $@ - perl -e "s/GLEW_VERSION_MICRO_STRING/$(GLEW_MICRO)/g" -pi $@ - perl -e "s/GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader\(GLEW_CONTEXT_ARG_VAR_INIT\);/{ GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }/g" -pi $@ - perl -e "s/\(\(glColorSubTable = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glColorSubTable = /g" -pi $@ - $(BIN)/fix_OML_sync_control.sh $@ - rm -f $@.bak - -$(S.DEST)/glew_def.c: $(EXT)/.dummy - cp -f $(SRC)/glew_license.h $@ - echo -e "#include \"glew_utils.h\"\n\n#if !defined(_WIN32) || !defined(GLEW_MX)" >> $@ - $(BIN)/make_def_fun.pl GL $(GL_CORE_SPEC) >> $@ - $(BIN)/make_def_fun.pl GL $(GL_EXT_SPEC) >> $@ - echo -e "\n#endif /* !WIN32 || !GLEW_MX */" >> $@ - echo -e "\n#if !defined(GLEW_MX)\n\nGLboolean __GLEW_VERSION_1_1 = GL_FALSE;" >> $@ - $(BIN)/make_def_var.pl GL $(GL_CORE_SPEC) >> $@ - $(BIN)/make_def_var.pl GL $(GL_EXT_SPEC) >> $@ - echo -e "\n#if defined(_WIN32)" >> $@ - $(BIN)/make_def_fun.pl WGL $(WGL_EXT_SPEC) >> $@ - $(BIN)/make_def_var.pl WGL $(WGL_EXT_SPEC) >> $@ - echo -e "\n#endif /* _WIN32 */" >> $@ - echo -e "\n#endif /* !GLEW_MX */" >> $@; - echo -e "\n#if !defined(_WIN32) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))" >> $@ - $(BIN)/make_def_fun.pl GLX $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_def_fun.pl GLX $(GLX_EXT_SPEC) >> $@ - echo -e "\n#if !defined(GLEW_MX)" >> $@; - echo -e "\nGLboolean __GLXEW_VERSION_1_0 = GL_FALSE;" >> $@ - echo -e "GLboolean __GLXEW_VERSION_1_1 = GL_FALSE;" >> $@ - $(BIN)/make_def_var.pl GLX $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_def_var.pl GLX $(GLX_EXT_SPEC) >> $@ - echo -e "\n#endif /* !GLEW_MX */" >> $@; - echo -e "\n#endif /* !__APPLE__ || GLEW_APPLE_GLX */" >> $@; - rm -f $@.bak - -$(S.DEST)/glew_init.c: $(EXT)/.dummy - cp -f $(SRC)/glew_license.h $@ - echo -e "#include \"glew_utils.h\"\n" >> $@ - $(BIN)/make_init.pl GL $(GL_CORE_SPEC) >> $@ - $(BIN)/make_init.pl GL $(GL_EXT_SPEC) >> $@ - cat $(SRC)/glew_init_gl.c >> $@ - $(BIN)/make_list.pl $(GL_CORE_SPEC) | grep -v '\"GL_VERSION' >> $@ - $(BIN)/make_list.pl $(GL_EXT_SPEC) >> $@ - echo -e "\n return GLEW_OK;\n}\n\n#if defined(_WIN32)\n" >> $@; - $(BIN)/make_init.pl WGL $(WGL_EXT_SPEC) >> $@ - cat $(SRC)/glew_init_wgl.c >> $@ - $(BIN)/make_list.pl $(WGL_EXT_SPEC) >> $@ - echo -e "\n return GLEW_OK;\n}\n\n" >> $@; - echo -e "\n#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)\n" >> $@ - $(BIN)/make_init.pl GLX $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_init.pl GLX $(GLX_EXT_SPEC) >> $@ - cat $(SRC)/glew_init_glx.c >> $@ - $(BIN)/make_list.pl $(CORE)/GLX_VERSION_1_3 | grep -v '\"GLX_VERSION' >> $@ - $(BIN)/make_list.pl $(GLX_EXT_SPEC) >> $@ - echo -e "\n return GLEW_OK;\n}\n\n#endif /* !__APPLE__ || GLEW_APPLE_GLX */\n" >> $@; - cat $(SRC)/glew_init_tail.c >> $@ - perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@ - perl -e "s/GLEW_VERSION_MAJOR_STRING/$(GLEW_MAJOR)/g" -pi $@ - perl -e "s/GLEW_VERSION_MINOR_STRING/$(GLEW_MINOR)/g" -pi $@ - perl -e "s/GLEW_VERSION_MICRO_STRING/$(GLEW_MICRO)/g" -pi $@ - perl -e "s/GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader\(GLEW_CONTEXT_ARG_VAR_INIT\);/{ GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }/g" -pi $@ - perl -e "s/\(\(glBlendColor = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glBlendColor = /g" -pi $@ - $(BIN)/fix_OML_sync_control.sh $@ - rm -f $@.bak - -$(S.DEST)/glew_str.c: $(EXT)/.dummy - cp -f $(SRC)/glew_license.h $@ - echo -e "\n#include \"glew_utils.h\"\n" >> $@ - cat $(SRC)/glew_str_head.c >> $@ - $(BIN)/make_str.pl $(GL_CORE_SPEC) $(GL_EXT_SPEC) >> $@ - cat $(SRC)/glew_str_wgl.c >> $@ - $(BIN)/make_str.pl $(WGL_EXT_SPEC) >> $@ - cat $(SRC)/glew_str_glx.c >> $@ - $(BIN)/make_str.pl $(GLX_CORE_SPEC) $(GLX_EXT_SPEC) >> $@ - cat $(SRC)/glew_str_tail.c >> $@ -# $(BIN)/fix_OML_sync_control.sh $@ -# perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@ -# perl -e "s/GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader\(GLEW_CONTEXT_ARG_VAR_INIT\);/{ GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }/g" -pi $@ - rm -f $@.bak - -$(S.DEST)/glewinfo.c: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating glewinfo.c" - @echo "--------------------------------------------------------------------" - cp -f $(SRC)/glew_license.h $@ - cat $(SRC)/glewinfo_head.c >> $@ - $(BIN)/make_info.pl $(GL_CORE_SPEC) >> $@ - $(BIN)/make_info.pl $(GL_EXT_SPEC) >> $@ - echo -e "#ifdef _WIN32\n" >> $@ - $(BIN)/make_info.pl $(WGL_EXT_SPEC) >> $@ - echo -e "#else /* _UNIX */\n" >> $@ - $(BIN)/make_info.pl $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_info.pl $(GLX_EXT_SPEC) >> $@ - echo -e "#endif /* _WIN32 */\n" >> $@ - - cat $(SRC)/glewinfo_gl.c >> $@ - $(BIN)/make_info_list.pl $(GL_CORE_SPEC) >> $@ - $(BIN)/make_info_list.pl $(GL_EXT_SPEC) >> $@ - cat $(SRC)/glewinfo_wgl.c >> $@ - $(BIN)/make_info_list.pl $(WGL_EXT_SPEC) >> $@ - cat $(SRC)/glewinfo_glx.c >> $@ - $(BIN)/make_info_list.pl $(GLX_CORE_SPEC) >> $@ - $(BIN)/make_info_list.pl $(GLX_EXT_SPEC) >> $@ - cat $(SRC)/glewinfo_tail.c >> $@ - $(BIN)/fix_OML_sync_control.sh $@ - perl -e 's/"glColorSubTable"/"glBlendEquation", glBlendEquation == NULL);\n glewInfoFunc("glColorSubTable"/g' -pi $@ - rm -f $@.bak - -# Update documentation - -$(D.DEST)/%.html: doc/%.html - @echo "--------------------------------------------------------------------" - @echo "Creating $(@F)" - @echo "--------------------------------------------------------------------" - cat $(SRC)/header.html $< $(SRC)/footer.html | \ - sed 's#\(.*\)#\1#' > $@ - -$(D.DEST)/glew.html: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating glew.html" - @echo "--------------------------------------------------------------------" - cp -f $(SRC)/header.html $@ - echo -e "

Supported OpenGL Extensions

\n" >> $@ - $(BIN)/make_html.pl $(GL_EXT_SPEC) >> $@ - cat $(SRC)/footer.html >> $@ - sed -i 's#\(.*\)#\1#' $@ - -$(D.DEST)/wglew.html: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating wglew.html" - @echo "--------------------------------------------------------------------" - cp -f $(SRC)/header.html $@ - echo -e "

Supported WGL Extensions

\n" >> $@ - $(BIN)/make_html.pl $(WGL_EXT_SPEC) >> $@ - cat $(SRC)/footer.html >> $@ - sed -i 's#\(.*\)#\1#' $@ - -$(D.DEST)/glxew.html: $(EXT)/.dummy - @echo "--------------------------------------------------------------------" - @echo "Creating glxew.html" - @echo "--------------------------------------------------------------------" - cp -f $(SRC)/header.html $@ - echo -e "

Supported GLX Extensions

\n" >> $@ - $(BIN)/make_html.pl $(GLX_EXT_SPEC) >> $@ - cat $(SRC)/footer.html >> $@ - sed -i 's#\(.*\)#\1#' $@ - -$(B.DEST)/%.rc: src/%.rc $(EXT)/.dummy - perl -e "s/GLEW_MAJOR/$(GLEW_MAJOR)/g;s/GLEW_MINOR/$(GLEW_MINOR)/g;s/GLEW_MICRO/$(GLEW_MICRO)/g;" -p $< > $@ - -clean: - rm -rf $(I.TARGETS) $(S.TARGETS) $(D.TARGETS) $(B.TARGETS) - -clobber: clean - rm -rf $(EXT) - -destroy: clobber - rm -rf $(REGISTRY) diff --git a/Externals/GLew/auto/bin/fix_OML_sync_control.sh b/Externals/GLew/auto/bin/fix_OML_sync_control.sh deleted file mode 100755 index 2579ab48fc..0000000000 --- a/Externals/GLew/auto/bin/fix_OML_sync_control.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -perl -e 's/#ifndef GLX_OML_sync_control/#if !defined(GLX_OML_sync_control) \&\& defined(__STDC_VERSION__) \&\& (__STDC_VERSION__ >= 199901L)\n#include /;' -pi $1 -perl -e 's/#ifdef GLX_OML_sync_control/#if defined(GLX_OML_sync_control) \&\& defined(__STDC_VERSION__) \&\& (__STDC_VERSION__ >= 199901L)\n#include /;' -pi $1 -perl -e 's/(extern PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML;)/#ifdef GLX_OML_sync_control\n\1/' -pi $1 -perl -e 's/(extern PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML;)/\1\n#endif/' -pi $1 -perl -e 's/(extern GLboolean __GLXEW_OML_sync_control;)/#ifdef GLX_OML_sync_control\n\1\n#endif/' -pi $1 -perl -e 's/(PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML = NULL;)/#ifdef GLX_OML_sync_control\n\1/' -pi $1 -perl -e 's/(PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML = NULL;)/\1\n#endif/' -pi $1 -perl -e 's/(GLboolean __GLXEW_OML_sync_control = GL_FALSE;)/#ifdef GLX_OML_sync_control\n\1\n#endif/' -pi $1 -rm -f $1.bak diff --git a/Externals/GLew/auto/bin/make.pl b/Externals/GLew/auto/bin/make.pl deleted file mode 100755 index c3e72c35b7..0000000000 --- a/Externals/GLew/auto/bin/make.pl +++ /dev/null @@ -1,188 +0,0 @@ -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -my %regex = ( - extname => qr/^[A-Z][A-Za-z0-9_]+$/, - exturl => qr/^http.+$/, - function => qr/^(.+) ([a-z][a-z0-9_]*) \((.+)\)$/i, - token => qr/^([A-Z][A-Z0-9_x]*)\s+((?:0x)?[0-9A-Fa-f]+|[A-Z][A-Z0-9_]*)$/, - type => qr/^typedef\s+(.+)\s+([\*A-Za-z0-9_]+)$/, - exact => qr/.*;$/, -); - -# prefix function name with glew -sub prefixname($) -{ - my $name = $_[0]; - $name =~ s/^(.*)gl/__$1glew/; - return $name; -} - -# prefix function name with glew -sub prefix_varname($) -{ - my $name = $_[0]; - $name =~ s/^(.*)GL(X*)EW/__$1GL$2EW/; - return $name; -} - -#--------------------------------------------------------------------------------------- - -sub make_exact($) -{ - my $exact = $_[0]; - $exact =~ s/(; |{)/$1\n/g; - return $exact; -} - -sub make_separator($) -{ - my $extname = $_[0]; - my $l = length $extname; - my $s = (71 - $l)/2; - print "/* "; - my $j = 3; - for (my $i = 0; $i < $s; $i++) - { - print "-"; - $j++; - } - print " $_[0] "; - $j += $l + 2; - while ($j < 76) - { - print "-"; - $j++; - } - print " */\n\n"; -} - -#--------------------------------------------------------------------------------------- - -sub parse_ext($) -{ - my $filename = shift; - my %functions = (); - my %tokens = (); - my %types = (); - my @exacts = (); - my $extname = ""; # Full extension name GL_FOO_extension - my $exturl = ""; # Info URL - my $extstring = ""; # Relevant extension string - - open EXT, "<$filename" or return; - - # As of GLEW 1.5.3 the first three lines _must_ be - # the extension name, the URL and the GL extension - # string (which might be different to the name) - # - # For example GL_NV_geometry_program4 is available - # iff GL_NV_gpu_program4 appears in the extension - # string. - # - # For core OpenGL versions, the third line should - # be blank. - # - # If the URL is unknown, the second line should be - # blank. - - $extname = readline(*EXT); - $exturl = readline(*EXT); - $extstring = readline(*EXT); - - chomp($extname); - chomp($exturl); - chomp($extstring); - - while() - { - chomp; - if (s/^\s+//) - { - if (/$regex{exact}/) - { - push @exacts, $_; - } - elsif (/$regex{type}/) - { - my ($value, $name) = ($1, $2); - $types{$name} = $value; - } - elsif (/$regex{token}/) - { - my ($name, $value) = ($1, $2); - $tokens{$name} = $value; - } - elsif (/$regex{function}/) - { - my ($return, $name, $parms) = ($1, $2, $3); - $functions{$name} = { - rtype => $return, - parms => $parms, - }; - } else { - print STDERR "'$_' matched no regex.\n"; - } - } - } - - close EXT; - - return ($extname, $exturl, $extstring, \%types, \%tokens, \%functions, \@exacts); -} - -sub output_tokens($$) -{ - my ($tbl, $fnc) = @_; - if (keys %{$tbl}) - { - local $, = "\n"; - print "\n"; - print map { &{$fnc}($_, $tbl->{$_}) } sort { hex ${$tbl}{$a} <=> hex ${$tbl}{$b} } keys %{$tbl}; - print "\n"; - } else { - print STDERR "no keys in table!\n"; - } -} - -sub output_types($$) -{ - my ($tbl, $fnc) = @_; - if (keys %{$tbl}) - { - local $, = "\n"; - print "\n"; - print map { &{$fnc}($_, $tbl->{$_}) } sort { ${$tbl}{$a} cmp ${$tbl}{$b} } keys %{$tbl}; - print "\n"; - } -} - -sub output_decls($$) -{ - my ($tbl, $fnc) = @_; - if (keys %{$tbl}) - { - local $, = "\n"; - print "\n"; - print map { &{$fnc}($_, $tbl->{$_}) } sort keys %{$tbl}; - print "\n"; - } -} - -sub output_exacts($$) -{ - my ($tbl, $fnc) = @_; - if (scalar @{$tbl}) - { - local $, = "\n"; - print "\n"; - print map { &{$fnc}($_) } sort @{$tbl}; - print "\n"; - } -} - diff --git a/Externals/GLew/auto/bin/make_def_fun.pl b/Externals/GLew/auto/bin/make_def_fun.pl deleted file mode 100755 index 40e67d5dc2..0000000000 --- a/Externals/GLew/auto/bin/make_def_fun.pl +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -# function pointer declaration -sub make_pfn_decl($%) -{ - return "PFN" . (uc $_[0]) . "PROC " . prefixname($_[0]) . " = NULL;"; -} - -my @extlist = (); -my %extensions = (); - -our $type = shift; - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - output_decls($functions, \&make_pfn_decl); - } -} diff --git a/Externals/GLew/auto/bin/make_def_var.pl b/Externals/GLew/auto/bin/make_def_var.pl deleted file mode 100755 index e484194c0e..0000000000 --- a/Externals/GLew/auto/bin/make_def_var.pl +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -my @extlist = (); -my %extensions = (); - -our $type = shift; - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - my $extvar = $extname; - $extvar =~ s/GL(X*)_/GL$1EW_/; - print "GLboolean " . prefix_varname($extvar) . " = GL_FALSE;\n"; - } -} diff --git a/Externals/GLew/auto/bin/make_header.pl b/Externals/GLew/auto/bin/make_header.pl deleted file mode 100755 index e58b46fd30..0000000000 --- a/Externals/GLew/auto/bin/make_header.pl +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -# token -sub make_define($$) -{ - return "#define $_[0] $_[1]" -} - -# type declaration -sub make_type($$) -{ - return "typedef $_[1] $_[0];" -} - -# function pointer type declaration -sub make_pfn_type($%) -{ - our $api; - return join(' ', "typedef", $_[1]->{rtype}, - "($api * PFN" . (uc $_[0]) . "PROC)", - "(" . $_[1]->{parms} . ")") . ";"; -} - -# function name alias -sub make_pfn_alias($%) -{ - our $type; - return join(" ", "#define", $_[0], $type . "EW_GET_FUN(" . prefixname($_[0]) . ")") -} - -my @extlist = (); -my %extensions = (); - -our $api = shift; -our $type = shift; - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - - make_separator($extname); - print "#ifndef $extname\n#define $extname 1\n"; - output_tokens($tokens, \&make_define); - output_types($types, \&make_type); - output_exacts($exacts, \&make_exact); - output_decls($functions, \&make_pfn_type); - output_decls($functions, \&make_pfn_alias); - - my $extvar = $extname; - $extvar =~ s/GL(X*)_/GL$1EW_/; - - print "\n#define $extvar " . $type . "EW_GET_VAR(" . prefix_varname($extvar) . ")\n"; - print "\n#endif /* $extname */\n\n"; - } -} diff --git a/Externals/GLew/auto/bin/make_html.pl b/Externals/GLew/auto/bin/make_html.pl deleted file mode 100755 index ee58196147..0000000000 --- a/Externals/GLew/auto/bin/make_html.pl +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -#--------------------------------------------------------------------------------------- - -my @extlist = (); -my %extensions = (); -my $group = ""; -my $cur_group = ""; - -if (@ARGV) -{ - @extlist = @ARGV; - my $n = 1; - print "\n"; - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - $cur_group = $extname; - $cur_group =~ s/^(?:W?)GL(?:X?)_([A-Z0-9]+?)_.*$/$1/; - $extname =~ s/^(?:W?)GL(?:X?)_(.*)$/$1/; - if ($cur_group ne $group) - { - if ($group ne "") - { - print "\n"; - } - $group = $cur_group; - } - - { - if ($exturl) - { - print "\n"; - } - else - { - print "\n"; - } - $n++; - } - } - print "

$n $extname
$n $extname
\n" -} diff --git a/Externals/GLew/auto/bin/make_info.pl b/Externals/GLew/auto/bin/make_info.pl deleted file mode 100755 index 5d0c7f6d32..0000000000 --- a/Externals/GLew/auto/bin/make_info.pl +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -#--------------------------------------------------------------------------------------- - -# function pointer definition -sub make_pfn_info($%) -{ - my $name = $_[0]; - return " glewInfoFunc(\"$_[0]\", $name == NULL);"; -} - -#--------------------------------------------------------------------------------------- - -my @extlist = (); -my %extensions = (); - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - my $extvar = $extname; - $extvar =~ s/GL(X*)_/GL$1EW_/; - my $extpre = $extname; - $extpre =~ s/(GLX|GLW|GL).*/$1/; - $extpre = lc $extpre; - - #make_separator($extname); - print "#ifdef $extname\n\n"; - print "static void _glewInfo_$extname (void)\n{\n"; - if ($extvar =~ /VERSION/) - { - print " glewPrintExt(\"$extname\", $extvar, $extvar, $extvar);\n"; - } - else - { - print " glewPrintExt(\"$extname\", $extvar, $extpre" . - "ewIsSupported(\"$extname\"), $extpre" . - "ewGetExtension(\"$extstring\"));\n"; - } - output_decls($functions, \&make_pfn_info); - print "}\n\n"; - print "#endif /* $extname */\n\n"; - } -} diff --git a/Externals/GLew/auto/bin/make_info_list.pl b/Externals/GLew/auto/bin/make_info_list.pl deleted file mode 100755 index a55106d153..0000000000 --- a/Externals/GLew/auto/bin/make_info_list.pl +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -#--------------------------------------------------------------------------------------- - -# function pointer definition -sub make_pfn_def($%) -{ - return "PFN" . (uc $_[0]) . "PROC " . prefixname($_[0]) . " = NULL;"; -} - -# function pointer definition -sub make_init_call($%) -{ - my $name = prefixname($_[0]); - return " r = r || (" . $name . " = (PFN" . (uc $_[0]) . "PROC)glewGetProcAddress((const GLubyte*)\"" . $name . "\")) == NULL;"; -} - -#--------------------------------------------------------------------------------------- - -my @extlist = (); -my %extensions = (); - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - - print "#ifdef $extname\n"; - print " _glewInfo_$extname();\n"; - print "#endif /* $extname */\n"; - } -} diff --git a/Externals/GLew/auto/bin/make_init.pl b/Externals/GLew/auto/bin/make_init.pl deleted file mode 100755 index 70abc982c6..0000000000 --- a/Externals/GLew/auto/bin/make_init.pl +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -#------------------------------------------------------------------------------- - -# function pointer definition -sub make_pfn_def_init($%) -{ - #my $name = prefixname($_[0]); - return " r = ((" . $_[0] . " = (PFN" . (uc $_[0]) . "PROC)glewGetProcAddress((const GLubyte*)\"" . $_[0] . "\")) == NULL) || r;"; -} - -#------------------------------------------------------------------------------- - -my @extlist = (); -my %extensions = (); - -our $type = shift; - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = - parse_ext($ext); - - #make_separator($extname); - print "#ifdef $extname\n\n"; - my $extvar = $extname; - my $extvardef = $extname; - $extvar =~ s/GL(X*)_/GL$1EW_/; - if (keys %$functions) - { - print "static GLboolean _glewInit_$extname (" . $type . - "EW_CONTEXT_ARG_DEF_INIT)\n{\n GLboolean r = GL_FALSE;\n"; - output_decls($functions, \&make_pfn_def_init); - print "\n return r;\n}\n\n"; - } - #print "\nGLboolean " . prefix_varname($extvar) . " = GL_FALSE;\n\n"; - print "#endif /* $extname */\n\n"; - } -} diff --git a/Externals/GLew/auto/bin/make_list.pl b/Externals/GLew/auto/bin/make_list.pl deleted file mode 100755 index ceaa479249..0000000000 --- a/Externals/GLew/auto/bin/make_list.pl +++ /dev/null @@ -1,66 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -#--------------------------------------------------------------------------------------- - -# function pointer definition -sub make_init_call($%) -{ - my $name = prefixname($_[0]); - return " r = r || (" . $_[0] . " = (PFN" . (uc $_[0]) . "PROC)glewGetProcAddress(\"" . $name . "\")) == NULL;"; -} - -#--------------------------------------------------------------------------------------- - -my @extlist = (); -my %extensions = (); - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - - my $extvar = $extname; - $extvar =~ s/GL(X*)_/GL$1EW_/; - - my $extpre = $extname; - $extpre =~ s/^(W?)GL(X?).*$/\l$1gl\l$2ew/; - - #my $pextvar = prefix_varname($extvar); - - print "#ifdef $extname\n"; - - if (length($extstring)) - { - print " CONST_CAST(" . $extvar . ") = " . $extpre . "GetExtension(\"$extstring\");\n"; - } - - if (keys %$functions) - { - if ($extname =~ /WGL_.*/) - { - print " if (glewExperimental || " . $extvar . "|| crippled) CONST_CAST(" . $extvar . ")= !_glewInit_$extname(GLEW_CONTEXT_ARG_VAR_INIT);\n"; - } - else - { - print " if (glewExperimental || " . $extvar . ") CONST_CAST(" . $extvar . ") = !_glewInit_$extname(GLEW_CONTEXT_ARG_VAR_INIT);\n"; - } - } - print "#endif /* $extname */\n"; - } - -} diff --git a/Externals/GLew/auto/bin/make_str.pl b/Externals/GLew/auto/bin/make_str.pl deleted file mode 100755 index ac4a366086..0000000000 --- a/Externals/GLew/auto/bin/make_str.pl +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -my @extlist = (); -my %extensions = (); - -if (@ARGV) -{ - @extlist = @ARGV; - - my $curexttype = ""; - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - my $exttype = $extname; - $exttype =~ s/(W*?)GL(X*?)_(.*?_)(.*)/$3/; - my $extrem = $extname; - $extrem =~ s/(W*?)GL(X*?)_(.*?_)(.*)/$4/; - my $extvar = $extname; - $extvar =~ s/(W*)GL(X*)_/$1GL$2EW_/; - if(!($exttype =~ $curexttype)) - { - if(length($curexttype) > 0) - { - print " }\n"; - } - print " if (_glewStrSame2(&pos, &len, (const GLubyte*)\"$exttype\", " . length($exttype) . "))\n"; - print " {\n"; - $curexttype = $exttype; - } - print "#ifdef $extname\n"; - print " if (_glewStrSame3(&pos, &len, (const GLubyte*)\"$extrem\", ". length($extrem) . "))\n"; - #print " return $extvar;\n"; - print " {\n"; - print " ret = $extvar;\n"; - print " continue;\n"; - print " }\n"; - print "#endif\n"; - } - - print " }\n"; -} diff --git a/Externals/GLew/auto/bin/make_struct_fun.pl b/Externals/GLew/auto/bin/make_struct_fun.pl deleted file mode 100755 index c885960243..0000000000 --- a/Externals/GLew/auto/bin/make_struct_fun.pl +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -# function pointer declaration -sub make_pfn_decl($%) -{ - our $export; - return $export . " PFN" . (uc $_[0]) . "PROC " . prefixname($_[0]) . ";"; -} - -my @extlist = (); -my %extensions = (); - -our $export = shift; - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - output_decls($functions, \&make_pfn_decl); - } -} diff --git a/Externals/GLew/auto/bin/make_struct_var.pl b/Externals/GLew/auto/bin/make_struct_var.pl deleted file mode 100755 index c7ba2f4995..0000000000 --- a/Externals/GLew/auto/bin/make_struct_var.pl +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -do 'bin/make.pl'; - -my @extlist = (); -my %extensions = (); - -our $export = shift; - -if (@ARGV) -{ - @extlist = @ARGV; - - foreach my $ext (sort @extlist) - { - my ($extname, $exturl, $extstring, $types, $tokens, $functions, $exacts) = parse_ext($ext); - my $extvar = $extname; - $extvar =~ s/GL(X*)_/GL$1EW_/; - print $export . " GLboolean " . prefix_varname($extvar) . ";\n"; - } -} diff --git a/Externals/GLew/auto/bin/parse_spec.pl b/Externals/GLew/auto/bin/parse_spec.pl deleted file mode 100755 index d18fee730e..0000000000 --- a/Externals/GLew/auto/bin/parse_spec.pl +++ /dev/null @@ -1,335 +0,0 @@ -#!/usr/bin/perl -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -use strict; -use warnings; - -sub compile_regex -{ - my $regex = join('', @_); - return qr/$regex/ -} - -my @sections = ( - "Name", - "Name Strings?", - "New Procedures and Functions", - "New Tokens", -); - -my %typemap = ( - bitfield => "GLbitfield", - boolean => "GLboolean", - # fsck up in EXT_vertex_array - Boolean => "GLboolean", - byte => "GLbyte", - clampd => "GLclampd", - clampf => "GLclampf", - double => "GLdouble", - enum => "GLenum", - # Intel fsck up - Glenum => "GLenum", - float => "GLfloat", - half => "GLhalf", - int => "GLint", - short => "GLshort", - sizei => "GLsizei", - ubyte => "GLubyte", - uint => "GLuint", - ushort => "GLushort", - DMbuffer => "void *", - # Nvidia video output fsck up - int64EXT => "GLint64EXT", - uint64EXT=> "GLuint64EXT", - - # ARB VBO introduces these. - - sizeiptr => "GLsizeiptr", - intptr => "GLintptr", - sizeiptrARB => "GLsizeiptrARB", - intptrARB => "GLintptrARB", - - # ARB shader objects introduces these, charARB is at least 8 bits, - # handleARB is at least 32 bits - charARB => "GLcharARB", - handleARB => "GLhandleARB", - - # OpenGL 3.2 and GL_ARB_sync - - int64 => "GLint64", - uint64 => "GLuint64", - sync => "GLsync", - - # GLX 1.3 defines new types which might not be available at compile time - - #GLXFBConfig => "void*", - #GLXFBConfigID => "XID", - #GLXContextID => "XID", - #GLXWindow => "XID", - #GLXPbuffer => "XID", - - # Weird stuff to some SGIX extension - - #GLXFBConfigSGIX => "void*", - #GLXFBConfigIDSGIX => "XID", - -); - -my %voidtypemap = ( - void => "GLvoid", -); - -my %taboo_tokens = ( - GL_ZERO => 1, -); - -# list of function definitions to be ignored, unless they are being defined in -# the given spec. This is an ugly hack arround the fact that people writing -# spec files seem to shut down all brain activity while they are at this task. -# -# This will be moved to its own file eventually. -# -# (mem, 2003-03-19) - -my %fnc_ignore_list = ( - "BindProgramARB" => "ARB_vertex_program", - "ColorSubTableEXT" => "EXT_color_subtable", - "DeleteProgramsARB" => "ARB_vertex_program", - "GenProgramsARB" => "ARB_vertex_program", - "GetProgramEnvParameterdvARB" => "ARB_vertex_program", - "GetProgramEnvParameterfvARB" => "ARB_vertex_program", - "GetProgramLocalParameterdvARB" => "ARB_vertex_program", - "GetProgramLocalParameterfvARB" => "ARB_vertex_program", - "GetProgramStringARB" => "ARB_vertex_program", - "GetProgramivARB" => "ARB_vertex_program", - "IsProgramARB" => "ARB_vertex_program", - "ProgramEnvParameter4dARB" => "ARB_vertex_program", - "ProgramEnvParameter4dvARB" => "ARB_vertex_program", - "ProgramEnvParameter4fARB" => "ARB_vertex_program", - "ProgramEnvParameter4fvARB" => "ARB_vertex_program", - "ProgramLocalParameter4dARB" => "ARB_vertex_program", - "ProgramLocalParameter4dvARB" => "ARB_vertex_program", - "ProgramLocalParameter4fARB" => "ARB_vertex_program", - "ProgramLocalParameter4fvARB" => "ARB_vertex_program", - "ProgramStringARB" => "ARB_vertex_program", - "glXCreateContextAttribsARB" => "ARB_create_context_profile", - "wglCreateContextAttribsARB" => "WGL_ARB_create_context_profile", -); - -my %regex = ( - eofnc => qr/(?:\);?$|^$)/, # )$ | );$ | ^$ - extname => qr/^[A-Z][A-Za-z0-9_]+$/, - none => qr/^\(none\)$/, - function => qr/^(.+) ([a-z][a-z0-9_]*) \((.+)\)$/i, - prefix => qr/^(?:[aw]?gl|glX)/, # gl | agl | wgl | glX - tprefix => qr/^(?:[AW]?GL|GLX)_/, # GL_ | AGL_ | WGL_ | GLX_ - section => compile_regex('^(', join('|', @sections), ')$'), # sections in spec - token => qr/^([A-Z0-9][A-Z0-9_]*):?\s+((?:0x)?[0-9A-F]+)(.*)$/, # define tokens - types => compile_regex('\b(', join('|', keys %typemap), ')\b'), # var types - voidtype => compile_regex('\b(', keys %voidtypemap, ')\b '), # void type -); - -# reshapes the the function declaration from multiline to single line form -sub normalize_prototype -{ - local $_ = join(" ", @_); - s/\s+/ /g; # multiple whitespace -> single space - s/\<.*\>//g; # remove from direct state access extension - s/\<.*$//g; # remove incomplete from direct state access extension - s/\s*\(\s*/ \(/; # exactly one space before ( and none after - s/\s*\)\s*/\)/; # no space before or after ) - s/\s*\*([a-zA-Z])/\* $1/; # "* identifier" - s/\*wgl/\* wgl/; # "* wgl" - s/\*glX/\* glX/; # "* glX" - s/\.\.\./void/; # ... -> void - s/;$//; # remove ; at the end of the line - return $_; -} - -# Ugly hack to work arround the fact that functions are declared in more -# than one spec file. -sub ignore_function($$) -{ - return exists($fnc_ignore_list{$_[0]}) && $fnc_ignore_list{$_[0]} ne $_[1] -} - -sub parse_spec($) -{ - my $filename = shift; - my $extname = ""; - my $vendortag = ""; - my @extnames = (); - my %functions = (); - my %tokens = (); - - my $section = ""; - my @fnc = (); - - my %proc = ( - "Name" => sub { - if (/^([a-z0-9]+)_([a-z0-9_]+)/i) - { - $extname = "$1_$2"; - $vendortag = $1; - } - }, - - "Name Strings" => sub { - # Add extension name to extension list - - # Initially use $extname if (none) specified - if (/$regex{none}/) - { - $_ = $extname; - } - - if (/$regex{extname}/) - { - # prefix with "GL_" if prefix not present - s/^/GL_/ unless /$regex{tprefix}/o; - # Add extension name to extension list - push @extnames, $_; - } - }, - - "New Procedures and Functions" => sub { - # if line matches end of function - if (/$regex{eofnc}/) - { - # add line to function declaration - push @fnc, $_; - - # if normalized version of function looks like a function - if (normalize_prototype(@fnc) =~ /$regex{function}/) - { - # get return type, name, and arguments from regex - my ($return, $name, $parms) = ($1, $2, $3); - if (!ignore_function($name, $extname)) - { - # prefix with "gl" if prefix not present - $name =~ s/^/gl/ unless $name =~ /$regex{prefix}/; - # is this a pure GL function? - if ($name =~ /^gl/ && $name !~ /^glX/) - { - # apply typemaps - $return =~ s/$regex{types}/$typemap{$1}/og; - $return =~ s/void\*/GLvoid */og; - $parms =~ s/$regex{types}/$typemap{$1}/og; - $parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og; - } - # add to functions hash - $functions{$name} = { - rtype => $return, - parms => $parms, - }; - } - } - # reset function declaration - @fnc = (); - } elsif ($_ ne "" and $_ ne "None") { - # if not eof, add line to function declaration - push @fnc, $_ - } - }, - - "New Tokens" => sub { - if (/$regex{token}/) - { - my ($name, $value) = ($1, $2); - # prefix with "GL_" if prefix not present - $name =~ s/^/GL_/ unless $name =~ /$regex{tprefix}/; - # Add (name, value) pair to tokens hash, unless it's taboo - $tokens{$name} = $value unless exists $taboo_tokens{$name}; - } - }, - ); - - # Some people can't read, the template clearly says "Name String_s_" - $proc{"Name String"} = $proc{"Name Strings"}; - - # Open spec file - open SPEC, "<$filename" or return; - - # For each line of SPEC - while() - { - # Delete trailing newline character - chomp; - # Remove trailing white spaces - s/\s+$//; - # If starts with a capital letter, it must be a new section - if (/^[A-Z]/) - { - # Match section name with one of the predefined names - $section = /$regex{section}/o ? $1 : "default"; - } else { - # Line is internal to a section - # Remove leading whitespace - s/^\s+//; - # Call appropriate section processing function if it exists - &{$proc{$section}} if exists $proc{$section}; - } - } - - close SPEC; - - return ($extname, \@extnames, \%tokens, \%functions); -} - -#---------------------------------------------------------------------------------------- - -my @speclist = (); -my %extensions = (); - -my $ext_dir = shift; -my $reg_http = "http://www.opengl.org/registry/specs/"; -#my $reg_http = "http://oss.sgi.com/projects/ogl-sample/"; - -# Take command line arguments or read list from file -if (@ARGV) -{ - @speclist = @ARGV; -} else { - local $/; #??? - @speclist = split "\n", (<>); -} - -foreach my $spec (sort @speclist) -{ - my ($extname, $extnames, $tokens, $functions) = parse_spec($spec); - - foreach my $ext (@{$extnames}) - { - my $info = "$ext_dir/" . $ext; - open EXT, ">$info"; - print EXT $ext . "\n"; # Extension name - my $specname = $spec; - $specname =~ s/registry\///; - print EXT $reg_http . $specname . "\n"; # Extension info URL - print EXT $ext . "\n"; # Extension string - - my $prefix = $ext; - $prefix =~ s/^(.+?)(_.+)$/$1/; - foreach my $token (sort { hex ${$tokens}{$a} <=> hex ${$tokens}{$b} } keys %{$tokens}) - { - if ($token =~ /^$prefix\_.*/i) - { - print EXT "\t" . $token . " " . ${\%{$tokens}}{$token} . "\n"; - } - } - foreach my $function (sort keys %{$functions}) - { - if ($function =~ /^$prefix.*/i) - { - print EXT "\t" . ${$functions}{$function}{rtype} . " " . $function . " (" . ${$functions}{$function}{parms} . ")" . "\n"; - } - } - close EXT; - } -} diff --git a/Externals/GLew/auto/bin/update_ext.sh b/Externals/GLew/auto/bin/update_ext.sh deleted file mode 100755 index c660c68b4d..0000000000 --- a/Externals/GLew/auto/bin/update_ext.sh +++ /dev/null @@ -1,280 +0,0 @@ -#!/bin/bash -## -## Copyright (C) 2002-2008, Marcelo E. Magallon -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. -## -## Parameters: -## -## $1: Extensions directory -## $2: Registry directory -## $3: The black list - -set -e - -if [ ! -d $1 ] ; then - mkdir $1 - -# Parse each of the extensions in the registry - find $2 -name doc -type d -prune -o -name \*.txt -print | \ - grep -v -f $3 | sort | bin/parse_spec.pl $1 - -# fix GL_NV_texture_compression_vtc - grep -v EXT $1/GL_NV_texture_compression_vtc > tmp - mv tmp $1/GL_NV_texture_compression_vtc - -# remove duplicates from GL_ARB_vertex_program and GL_ARB_fragment_program - grep -v -F -f $1/GL_ARB_vertex_program $1/GL_ARB_fragment_program > tmp - mv tmp $1/GL_ARB_fragment_program - -# remove duplicates from GLX_EXT_visual_rating and GLX_EXT_visual_info - grep -v -F -f $1/GLX_EXT_visual_info $1/GLX_EXT_visual_rating > tmp - mv tmp $1/GLX_EXT_visual_rating - -# GL_EXT_draw_buffers2 and GL_EXT_transform_feedback both define glGetBooleanIndexedvEXT but with different parameter names - grep -v glGetBooleanIndexedvEXT $1/GL_EXT_transform_feedback > tmp - mv tmp $1/GL_EXT_transform_feedback - -# GL_EXT_draw_buffers2 and GL_EXT_transform_feedback both define glGetIntegerIndexedvEXT but with different parameter names - grep -v glGetIntegerIndexedvEXT $1/GL_EXT_transform_feedback > tmp - mv tmp $1/GL_EXT_transform_feedback - -# remove duplicates from GL_NV_present_video and GLX_NV_present_video - grep -v -F -f $1/GLX_NV_present_video $1/GL_NV_present_video > tmp - mv tmp $1/GL_NV_present_video - -# fix WGL_NV_present_video - cat >> $1/WGL_NV_present_video <> $1/WGL_NV_video_output < tmp - mv tmp $1/GL_NV_occlusion_query - perl -e's/OCCLUSION_TEST_HP.*/OCCLUSION_TEST_HP 0x8165/' -pi \ - $1/GL_HP_occlusion_test - perl -e's/OCCLUSION_TEST_RESULT_HP.*/OCCLUSION_TEST_RESULT_HP 0x8166/' -pi \ - $1/GL_HP_occlusion_test - -# fix GLvoid in GL_ARB_vertex_buffer_objects - perl -e 's/ void\*/ GLvoid\*/g' -pi \ - $1/GL_ARB_vertex_buffer_object - -# add deprecated constants to GL_ATI_fragment_shader - cat >> $1/GL_ATI_fragment_shader <> $1/GL_NV_texture_shader <> $1/WGL_ATI_pixel_format_float <> $1/WGL_ARB_make_current_read <> $1/WGL_EXT_make_current_read <> $1/GL_ARB_vertex_buffer_object <> $1/GLX_EXT_import_context <> $1/GLX_OML_swap_method <> $1/GLX_SGIX_fbconfig <> $1/GLX_SGIX_pbuffer <> $1/GL_NV_half_float <> $1/WGL_ARB_pbuffer <> $1/WGL_EXT_pbuffer < tmp - mv tmp $1/GL_ARB_fragment_shader - grep -v -F -f $1/GL_ARB_shader_objects $1/GL_ARB_vertex_shader > tmp - mv tmp $1/GL_ARB_vertex_shader - -# remove duplicates in GL_ARB_vertex_program and GL_ARB_vertex_shader - grep -v -F -f $1/GL_ARB_vertex_program $1/GL_ARB_vertex_shader > tmp - mv tmp $1/GL_ARB_vertex_shader - -# remove triplicates in GL_ARB_fragment_program, GL_ARB_fragment_shader, -# and GL_ARB_vertex_shader - grep -v -F -f $1/GL_ARB_fragment_program $1/GL_ARB_fragment_shader > tmp - mv tmp $1/GL_ARB_fragment_shader - grep -v -F -f $1/GL_ARB_fragment_program $1/GL_ARB_vertex_shader > tmp - mv tmp $1/GL_ARB_vertex_shader - -# remove duplicates in GL_EXT_direct_state_access - grep -v "glGetBooleanIndexedvEXT" $1/GL_EXT_direct_state_access > tmp - mv tmp $1/GL_EXT_direct_state_access - grep -v "glGetIntegerIndexedvEXT" $1/GL_EXT_direct_state_access > tmp - mv tmp $1/GL_EXT_direct_state_access - grep -v "glDisableIndexedEXT" $1/GL_EXT_direct_state_access > tmp - mv tmp $1/GL_EXT_direct_state_access - grep -v "glEnableIndexedEXT" $1/GL_EXT_direct_state_access > tmp - mv tmp $1/GL_EXT_direct_state_access - grep -v "glIsEnabledIndexedEXT" $1/GL_EXT_direct_state_access > tmp - mv tmp $1/GL_EXT_direct_state_access - -# remove duplicates in GL_NV_explicit_multisample - grep -v "glGetBooleanIndexedvEXT" $1/GL_NV_explicit_multisample > tmp - mv tmp $1/GL_NV_explicit_multisample - grep -v "glGetIntegerIndexedvEXT" $1/GL_NV_explicit_multisample > tmp - mv tmp $1/GL_NV_explicit_multisample - -# fix bugs in GL_ARB_vertex_shader - grep -v "GL_FLOAT" $1/GL_ARB_vertex_shader > tmp - mv tmp $1/GL_ARB_vertex_shader - perl -e 's/handle /GLhandleARB /g' -pi $1/GL_ARB_vertex_shader - -# fix bugs in GL_ARB_shader_objects - grep -v "GL_FLOAT " $1/GL_ARB_shader_objects > tmp - mv tmp $1/GL_ARB_shader_objects - grep -v "GL_INT " $1/GL_ARB_shader_objects > tmp - mv tmp $1/GL_ARB_shader_objects - -# add typedefs to GL_ARB_shader_objects - cat >> $1/GL_ARB_shader_objects <> $1/GL_ARB_transpose_matrix <> $1/GL_EXT_framebuffer_multisample < tmp - mv tmp $1/GL_NV_gpu_program_fp64 - -# Filter glGetUniformui64vNV from GL_NV_shader_buffer_load - grep -v "glGetUniformui64vNV" $1/GL_NV_shader_buffer_load > tmp - mv tmp $1/GL_NV_shader_buffer_load - -# Filter out GL_ARB_gpu_shader_fp64 enums and functions - head -n3 $1/GL_ARB_gpu_shader_fp64 > tmp - mv tmp $1/GL_ARB_gpu_shader_fp64 - -# Filter out profile enumerations from GLX_ARB_create_context - grep -v "_PROFILE_" $1/GLX_ARB_create_context > tmp - mv tmp $1/GLX_ARB_create_context - -# Filter only profile related enumerations for GLX_ARB_create_context_profile - head -n3 $1/GLX_ARB_create_context_profile > tmp - grep "_PROFILE_" $1/GLX_ARB_create_context_profile >> tmp - mv tmp $1/GLX_ARB_create_context_profile - -# Filter out profile enumerations from WGL_ARB_create_context - grep -v "_PROFILE_" $1/WGL_ARB_create_context > tmp - mv tmp $1/WGL_ARB_create_context - -# Filter only profile related enumerations for WGL_ARB_create_context_profile - head -n3 $1/WGL_ARB_create_context_profile > tmp - grep "_PROFILE_" $1/WGL_ARB_create_context_profile >> tmp - mv tmp $1/WGL_ARB_create_context_profile - -# add missing function to GLX_NV_copy_image - cat >> $1/GLX_NV_copy_image <> $1/WGL_NV_copy_image < -## Copyright (C) 2002-2008, Milan Ikits -## -## This program is distributed under the terms and conditions of the GNU -## General Public License Version 2 as published by the Free Software -## Foundation or, at your option, any later version. - -set -e - -if [ ! -d $1 ] ; then - mkdir $1 -fi -cd $1 - -wget \ - --mirror \ - --no-parent \ - --no-host-directories \ - --cut-dirs=2 \ - --accept=txt,html \ - $2 - diff --git a/Externals/GLew/auto/blacklist b/Externals/GLew/auto/blacklist deleted file mode 100644 index e00128431a..0000000000 --- a/Externals/GLew/auto/blacklist +++ /dev/null @@ -1,15 +0,0 @@ -EXT/draw_range_elements.txt -EXT/static_vertex_array.txt -EXT/vertex_array_set.alt.txt -EXT/vertex_array_set.txt -EXT/nurbs_tessellator.txt -EXT/object_space_tess.txt -SGI/filter4_parameters.txt -SGIS/texture_color_mask.txt -SGIX/dmbuffer.txt -SGIX/instruments.txt -SGIX/video_source.txt -SGIX/hyperpipe_group.txt -OES/OES_fixed_point.txt -OES/OES_query_matrix.txt -NV/video_capture.txt diff --git a/Externals/GLew/auto/core/GLX_ARB_get_proc_address b/Externals/GLew/auto/core/GLX_ARB_get_proc_address deleted file mode 100644 index 5c066d7d00..0000000000 --- a/Externals/GLew/auto/core/GLX_ARB_get_proc_address +++ /dev/null @@ -1,4 +0,0 @@ -GLX_ARB_get_proc_address -http://oss.sgi.com/projects/ogl-sample/registry/ARB/get_proc_address.txt -GLX_ARB_get_proc_address - extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void); diff --git a/Externals/GLew/auto/core/GLX_ATI_pixel_format_float b/Externals/GLew/auto/core/GLX_ATI_pixel_format_float deleted file mode 100644 index 854ca716ba..0000000000 --- a/Externals/GLew/auto/core/GLX_ATI_pixel_format_float +++ /dev/null @@ -1,4 +0,0 @@ -GLX_ATI_pixel_format_float - -GLX_ATI_pixel_format_float - GLX_RGBA_FLOAT_ATI_BIT 0x00000100 diff --git a/Externals/GLew/auto/core/GLX_ATI_render_texture b/Externals/GLew/auto/core/GLX_ATI_render_texture deleted file mode 100644 index 254eb9f3bc..0000000000 --- a/Externals/GLew/auto/core/GLX_ATI_render_texture +++ /dev/null @@ -1,41 +0,0 @@ -GLX_ATI_render_texture - -GLX_ATI_render_texture - GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800 - GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801 - GLX_TEXTURE_FORMAT_ATI 0x9802 - GLX_TEXTURE_TARGET_ATI 0x9803 - GLX_MIPMAP_TEXTURE_ATI 0x9804 - GLX_TEXTURE_RGB_ATI 0x9805 - GLX_TEXTURE_RGBA_ATI 0x9806 - GLX_NO_TEXTURE_ATI 0x9807 - GLX_TEXTURE_CUBE_MAP_ATI 0x9808 - GLX_TEXTURE_1D_ATI 0x9809 - GLX_TEXTURE_2D_ATI 0x980A - GLX_MIPMAP_LEVEL_ATI 0x980B - GLX_CUBE_MAP_FACE_ATI 0x980C - GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D - GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E - GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F - GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810 - GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811 - GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812 - GLX_FRONT_LEFT_ATI 0x9813 - GLX_FRONT_RIGHT_ATI 0x9814 - GLX_BACK_LEFT_ATI 0x9815 - GLX_BACK_RIGHT_ATI 0x9816 - GLX_AUX0_ATI 0x9817 - GLX_AUX1_ATI 0x9818 - GLX_AUX2_ATI 0x9819 - GLX_AUX3_ATI 0x981A - GLX_AUX4_ATI 0x981B - GLX_AUX5_ATI 0x981C - GLX_AUX6_ATI 0x981D - GLX_AUX7_ATI 0x981E - GLX_AUX8_ATI 0x981F - GLX_AUX9_ATI 0x9820 - GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821 - GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822 - void glXBindTexImageATI (Display *dpy, GLXPbuffer pbuf, int buffer) - void glXReleaseTexImageATI (Display *dpy, GLXPbuffer pbuf, int buffer) - void glXDrawableAttribATI (Display *dpy, GLXDrawable draw, const int *attrib_list) diff --git a/Externals/GLew/auto/core/GLX_EXT_fbconfig_packed_float b/Externals/GLew/auto/core/GLX_EXT_fbconfig_packed_float deleted file mode 100644 index 7c7822d81a..0000000000 --- a/Externals/GLew/auto/core/GLX_EXT_fbconfig_packed_float +++ /dev/null @@ -1,5 +0,0 @@ -GLX_EXT_fbconfig_packed_float -http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt -GLX_EXT_fbconfig_packed_float - GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 - GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 diff --git a/Externals/GLew/auto/core/GLX_EXT_framebuffer_sRGB b/Externals/GLew/auto/core/GLX_EXT_framebuffer_sRGB deleted file mode 100644 index f51c484afd..0000000000 --- a/Externals/GLew/auto/core/GLX_EXT_framebuffer_sRGB +++ /dev/null @@ -1,4 +0,0 @@ -GLX_EXT_framebuffer_sRGB -http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt -GLX_EXT_framebuffer_sRGB - GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 diff --git a/Externals/GLew/auto/core/GLX_NV_float_buffer b/Externals/GLew/auto/core/GLX_NV_float_buffer deleted file mode 100644 index cc9185ee94..0000000000 --- a/Externals/GLew/auto/core/GLX_NV_float_buffer +++ /dev/null @@ -1,4 +0,0 @@ -GLX_NV_float_buffer -http://cvs1.nvidia.com/inc/GL/glxtokens.h -GLX_NV_float_buffer - GLX_FLOAT_COMPONENTS_NV 0x20B0 diff --git a/Externals/GLew/auto/core/GLX_NV_vertex_array_range b/Externals/GLew/auto/core/GLX_NV_vertex_array_range deleted file mode 100644 index 11afe17406..0000000000 --- a/Externals/GLew/auto/core/GLX_NV_vertex_array_range +++ /dev/null @@ -1,5 +0,0 @@ -GLX_NV_vertex_array_range -http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt -GLX_NV_vertex_array_range - void * glXAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) - void glXFreeMemoryNV (void *pointer) diff --git a/Externals/GLew/auto/core/GLX_SGIS_shared_multisample b/Externals/GLew/auto/core/GLX_SGIS_shared_multisample deleted file mode 100644 index 274e90f76e..0000000000 --- a/Externals/GLew/auto/core/GLX_SGIS_shared_multisample +++ /dev/null @@ -1,5 +0,0 @@ -GLX_SGIS_shared_multisample - -GLX_SGIS_shared_multisample - GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 - GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 diff --git a/Externals/GLew/auto/core/GLX_SGIX_hyperpipe b/Externals/GLew/auto/core/GLX_SGIX_hyperpipe deleted file mode 100644 index 79ec30295c..0000000000 --- a/Externals/GLew/auto/core/GLX_SGIX_hyperpipe +++ /dev/null @@ -1,25 +0,0 @@ -GLX_SGIX_hyperpipe -http://oss.sgi.com/projects/ogl-sample/registry/SGIX/hyperpipe_group.txt -GLX_SGIX_hyperpipe - GLX_HYPERPIPE_ID_SGIX 0x8030 - GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 - GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 - GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 - GLX_PIPE_RECT_SGIX 0x00000001 - GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 - GLX_HYPERPIPE_STEREO_SGIX 0x00000003 - GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 - GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 - GLX_BAD_HYPERPIPE_SGIX 92 - typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int networkId; } GLXHyperpipeNetworkSGIX; - typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int channel; unsigned int participationType; int timeSlice; } GLXHyperpipeConfigSGIX; - typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int srcXOrigin; int srcYOrigin; int srcWidth; int srcHeight; int destXOrigin; int destYOrigin; int destWidth; int destHeight; } GLXPipeRect; - typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int XOrigin; int YOrigin; int maxHeight; int maxWidth; } GLXPipeRectLimits; - GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *dpy, int *npipes) - int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId) - GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *dpy, int hpId, int *npipes) - int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId) - int glXBindHyperpipeSGIX (Display *dpy, int hpId) - int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList) - int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList) - int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList) diff --git a/Externals/GLew/auto/core/GLX_SGIX_swap_barrier b/Externals/GLew/auto/core/GLX_SGIX_swap_barrier deleted file mode 100644 index 57dd60dbb0..0000000000 --- a/Externals/GLew/auto/core/GLX_SGIX_swap_barrier +++ /dev/null @@ -1,5 +0,0 @@ -GLX_SGIX_swap_barrier -http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_barrier.txt -GLX_SGIX_swap_barrier - void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier) - Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max) diff --git a/Externals/GLew/auto/core/GLX_SGIX_swap_group b/Externals/GLew/auto/core/GLX_SGIX_swap_group deleted file mode 100644 index 3530604605..0000000000 --- a/Externals/GLew/auto/core/GLX_SGIX_swap_group +++ /dev/null @@ -1,4 +0,0 @@ -GLX_SGIX_swap_group -http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_group.txt -GLX_SGIX_swap_group - void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member) diff --git a/Externals/GLew/auto/core/GLX_SUN_video_resize b/Externals/GLew/auto/core/GLX_SUN_video_resize deleted file mode 100644 index 0a0cefe3db..0000000000 --- a/Externals/GLew/auto/core/GLX_SUN_video_resize +++ /dev/null @@ -1,7 +0,0 @@ -GLX_SUN_video_resize -http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt -GLX_SUN_video_resize - GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD - GLX_VIDEO_RESIZE_SUN 0x8171 - int glXVideoResizeSUN (Display* display, GLXDrawable window, float factor) - int glXGetVideoResizeSUN (Display* display, GLXDrawable window, float* factor) diff --git a/Externals/GLew/auto/core/GLX_VERSION_1_2 b/Externals/GLew/auto/core/GLX_VERSION_1_2 deleted file mode 100644 index 39d7a09bc8..0000000000 --- a/Externals/GLew/auto/core/GLX_VERSION_1_2 +++ /dev/null @@ -1,4 +0,0 @@ -GLX_VERSION_1_2 -http://www.opengl.org/documentation/specs/glx/glx1.2.ps -GLX_VERSION_1_2 - Display* glXGetCurrentDisplay (void) diff --git a/Externals/GLew/auto/core/GLX_VERSION_1_3 b/Externals/GLew/auto/core/GLX_VERSION_1_3 deleted file mode 100644 index 46eedb979c..0000000000 --- a/Externals/GLew/auto/core/GLX_VERSION_1_3 +++ /dev/null @@ -1,82 +0,0 @@ -GLX_VERSION_1_3 -http://www.opengl.org/documentation/specs/glx/glx1.3.pdf -GLX_VERSION_1_3 - GLX_WINDOW_BIT 0x00000001 - GLX_PIXMAP_BIT 0x00000002 - GLX_PBUFFER_BIT 0x00000004 - GLX_RGBA_BIT 0x00000001 - GLX_COLOR_INDEX_BIT 0x00000002 - GLX_PBUFFER_CLOBBER_MASK 0x08000000 - GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 - GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 - GLX_BACK_LEFT_BUFFER_BIT 0x00000004 - GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 - GLX_AUX_BUFFERS_BIT 0x00000010 - GLX_DEPTH_BUFFER_BIT 0x00000020 - GLX_STENCIL_BUFFER_BIT 0x00000040 - GLX_ACCUM_BUFFER_BIT 0x00000080 - GLX_CONFIG_CAVEAT 0x20 - GLX_X_VISUAL_TYPE 0x22 - GLX_TRANSPARENT_TYPE 0x23 - GLX_TRANSPARENT_INDEX_VALUE 0x24 - GLX_TRANSPARENT_RED_VALUE 0x25 - GLX_TRANSPARENT_GREEN_VALUE 0x26 - GLX_TRANSPARENT_BLUE_VALUE 0x27 - GLX_TRANSPARENT_ALPHA_VALUE 0x28 - GLX_DONT_CARE 0xFFFFFFFF - GLX_NONE 0x8000 - GLX_SLOW_CONFIG 0x8001 - GLX_TRUE_COLOR 0x8002 - GLX_DIRECT_COLOR 0x8003 - GLX_PSEUDO_COLOR 0x8004 - GLX_STATIC_COLOR 0x8005 - GLX_GRAY_SCALE 0x8006 - GLX_STATIC_GRAY 0x8007 - GLX_TRANSPARENT_RGB 0x8008 - GLX_TRANSPARENT_INDEX 0x8009 - GLX_VISUAL_ID 0x800B - GLX_SCREEN 0x800C - GLX_NON_CONFORMANT_CONFIG 0x800D - GLX_DRAWABLE_TYPE 0x8010 - GLX_RENDER_TYPE 0x8011 - GLX_X_RENDERABLE 0x8012 - GLX_FBCONFIG_ID 0x8013 - GLX_RGBA_TYPE 0x8014 - GLX_COLOR_INDEX_TYPE 0x8015 - GLX_MAX_PBUFFER_WIDTH 0x8016 - GLX_MAX_PBUFFER_HEIGHT 0x8017 - GLX_MAX_PBUFFER_PIXELS 0x8018 - GLX_PRESERVED_CONTENTS 0x801B - GLX_LARGEST_PBUFFER 0x801C - GLX_WIDTH 0x801D - GLX_HEIGHT 0x801E - GLX_EVENT_MASK 0x801F - GLX_DAMAGED 0x8020 - GLX_SAVED 0x8021 - GLX_WINDOW 0x8022 - GLX_PBUFFER 0x8023 - GLX_PBUFFER_HEIGHT 0x8040 - GLX_PBUFFER_WIDTH 0x8041 - GLXFBConfig* glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements) - GLXFBConfig* glXGetFBConfigs (Display *dpy, int screen, int *nelements) - XVisualInfo* glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config) - int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value) - GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list) - void glXDestroyWindow (Display *dpy, GLXWindow win) - GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list) - void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap) - GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list) - void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf) - void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value) - GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) - Bool glXMakeContextCurrent (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx) - GLXDrawable glXGetCurrentReadDrawable (void) - int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value) - void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask) - void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask) - typedef XID GLXWindow - typedef XID GLXPbuffer - typedef XID GLXFBConfigID - typedef struct __GLXFBConfigRec *GLXFBConfig - typedef struct { int event_type; int draw_type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; unsigned int buffer_mask; unsigned int aux_buffer; int x, y; int width, height; int count; } GLXPbufferClobberEvent; - typedef union __GLXEvent { GLXPbufferClobberEvent glxpbufferclobber; long pad[24]; } GLXEvent; diff --git a/Externals/GLew/auto/core/GLX_VERSION_1_4 b/Externals/GLew/auto/core/GLX_VERSION_1_4 deleted file mode 100644 index 138262161e..0000000000 --- a/Externals/GLew/auto/core/GLX_VERSION_1_4 +++ /dev/null @@ -1,6 +0,0 @@ -GLX_VERSION_1_4 -http://www.opengl.org/documentation/specs/glx/glx1.4.pdf -GLX_VERSION_1_4 - GLX_SAMPLE_BUFFERS 100000 - GLX_SAMPLES 100001 - extern void ( * glXGetProcAddress (const GLubyte *procName)) (void); diff --git a/Externals/GLew/auto/core/GL_APPLE_float_pixels b/Externals/GLew/auto/core/GL_APPLE_float_pixels deleted file mode 100644 index 8a60870eec..0000000000 --- a/Externals/GLew/auto/core/GL_APPLE_float_pixels +++ /dev/null @@ -1,17 +0,0 @@ -GL_APPLE_float_pixels -http://developer.apple.com/opengl/extensions/apple_float_pixels.html -GL_APPLE_float_pixels - GL_HALF_APPLE 0x140B - GL_COLOR_FLOAT_APPLE 0x8A0F - GL_RGBA_FLOAT32_APPLE 0x8814 - GL_RGB_FLOAT32_APPLE 0x8815 - GL_ALPHA_FLOAT32_APPLE 0x8816 - GL_INTENSITY_FLOAT32_APPLE 0x8817 - GL_LUMINANCE_FLOAT32_APPLE 0x8818 - GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 - GL_RGBA_FLOAT16_APPLE 0x881A - GL_RGB_FLOAT16_APPLE 0x881B - GL_ALPHA_FLOAT16_APPLE 0x881C - GL_INTENSITY_FLOAT16_APPLE 0x881D - GL_LUMINANCE_FLOAT16_APPLE 0x881E - GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F diff --git a/Externals/GLew/auto/core/GL_APPLE_pixel_buffer b/Externals/GLew/auto/core/GL_APPLE_pixel_buffer deleted file mode 100644 index 7449f2918e..0000000000 --- a/Externals/GLew/auto/core/GL_APPLE_pixel_buffer +++ /dev/null @@ -1,4 +0,0 @@ -GL_APPLE_pixel_buffer - -GL_APPLE_pixel_buffer - GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10 diff --git a/Externals/GLew/auto/core/GL_APPLE_texture_range b/Externals/GLew/auto/core/GL_APPLE_texture_range deleted file mode 100644 index 8c5165d61d..0000000000 --- a/Externals/GLew/auto/core/GL_APPLE_texture_range +++ /dev/null @@ -1,12 +0,0 @@ -GL_APPLE_texture_range -http://developer.apple.com/opengl/extensions/apple_texture_range.html -GL_APPLE_texture_range - GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC - GL_STORAGE_PRIVATE_APPLE 0x85BD - GL_STORAGE_CACHED_APPLE 0x85BE - GL_STORAGE_SHARED_APPLE 0x85BF - GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 - GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 - void glTextureRangeAPPLE (GLenum target, GLsizei length, GLvoid *pointer) - void glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid **params) - diff --git a/Externals/GLew/auto/core/GL_ARB_imaging b/Externals/GLew/auto/core/GL_ARB_imaging deleted file mode 100644 index 0efd0c1b8e..0000000000 --- a/Externals/GLew/auto/core/GL_ARB_imaging +++ /dev/null @@ -1,112 +0,0 @@ -GL_ARB_imaging - -GL_ARB_imaging - GL_CONSTANT_COLOR 0x8001 - GL_ONE_MINUS_CONSTANT_COLOR 0x8002 - GL_CONSTANT_ALPHA 0x8003 - GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 - GL_BLEND_COLOR 0x8005 - GL_FUNC_ADD 0x8006 - GL_MIN 0x8007 - GL_MAX 0x8008 - GL_BLEND_EQUATION 0x8009 - GL_FUNC_SUBTRACT 0x800A - GL_FUNC_REVERSE_SUBTRACT 0x800B - GL_CONVOLUTION_1D 0x8010 - GL_CONVOLUTION_2D 0x8011 - GL_SEPARABLE_2D 0x8012 - GL_CONVOLUTION_BORDER_MODE 0x8013 - GL_CONVOLUTION_FILTER_SCALE 0x8014 - GL_CONVOLUTION_FILTER_BIAS 0x8015 - GL_REDUCE 0x8016 - GL_CONVOLUTION_FORMAT 0x8017 - GL_CONVOLUTION_WIDTH 0x8018 - GL_CONVOLUTION_HEIGHT 0x8019 - GL_MAX_CONVOLUTION_WIDTH 0x801A - GL_MAX_CONVOLUTION_HEIGHT 0x801B - GL_POST_CONVOLUTION_RED_SCALE 0x801C - GL_POST_CONVOLUTION_GREEN_SCALE 0x801D - GL_POST_CONVOLUTION_BLUE_SCALE 0x801E - GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F - GL_POST_CONVOLUTION_RED_BIAS 0x8020 - GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 - GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 - GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 - GL_HISTOGRAM 0x8024 - GL_PROXY_HISTOGRAM 0x8025 - GL_HISTOGRAM_WIDTH 0x8026 - GL_HISTOGRAM_FORMAT 0x8027 - GL_HISTOGRAM_RED_SIZE 0x8028 - GL_HISTOGRAM_GREEN_SIZE 0x8029 - GL_HISTOGRAM_BLUE_SIZE 0x802A - GL_HISTOGRAM_ALPHA_SIZE 0x802B - GL_HISTOGRAM_LUMINANCE_SIZE 0x802C - GL_HISTOGRAM_SINK 0x802D - GL_MINMAX 0x802E - GL_MINMAX_FORMAT 0x802F - GL_MINMAX_SINK 0x8030 - GL_TABLE_TOO_LARGE 0x8031 - GL_COLOR_MATRIX 0x80B1 - GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 - GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 - GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 - GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 - GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 - GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 - GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 - GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 - GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA - GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB - GL_COLOR_TABLE 0x80D0 - GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 - GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 - GL_PROXY_COLOR_TABLE 0x80D3 - GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 - GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 - GL_COLOR_TABLE_SCALE 0x80D6 - GL_COLOR_TABLE_BIAS 0x80D7 - GL_COLOR_TABLE_FORMAT 0x80D8 - GL_COLOR_TABLE_WIDTH 0x80D9 - GL_COLOR_TABLE_RED_SIZE 0x80DA - GL_COLOR_TABLE_GREEN_SIZE 0x80DB - GL_COLOR_TABLE_BLUE_SIZE 0x80DC - GL_COLOR_TABLE_ALPHA_SIZE 0x80DD - GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE - GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF - GL_IGNORE_BORDER 0x8150 - GL_CONSTANT_BORDER 0x8151 - GL_WRAP_BORDER 0x8152 - GL_REPLICATE_BORDER 0x8153 - GL_CONVOLUTION_BORDER_COLOR 0x8154 - void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) - void glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) - void glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params) - void glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params) - void glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) - void glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) - void glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table) - void glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params) - void glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params) - void glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) - void glResetHistogram (GLenum target) - void glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) - void glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params) - void glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params) - void glMinmax (GLenum target, GLenum internalformat, GLboolean sink) - void glResetMinmax (GLenum target) - void glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params) - void glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params) - void glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) - void glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) - void glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params) - void glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params) - void glConvolutionParameteri (GLenum target, GLenum pname, GLint params) - void glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params) - void glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) - void glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) - void glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image) - void glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params) - void glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params) - void glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) - void glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) - void glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) diff --git a/Externals/GLew/auto/core/GL_ARB_matrix_palette b/Externals/GLew/auto/core/GL_ARB_matrix_palette deleted file mode 100644 index 4b67c15cf4..0000000000 --- a/Externals/GLew/auto/core/GL_ARB_matrix_palette +++ /dev/null @@ -1,18 +0,0 @@ -GL_ARB_matrix_palette -http://oss.sgi.com/projects/ogl-sample/registry/ARB/matrix_palette.txt -GL_ARB_matrix_palette - GL_MATRIX_PALETTE_ARB 0x8840 - GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 - GL_MAX_PALETTE_MATRICES_ARB 0x8842 - GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 - GL_MATRIX_INDEX_ARRAY_ARB 0x8844 - GL_CURRENT_MATRIX_INDEX_ARB 0x8845 - GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 - GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 - GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 - GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 - void glCurrentPaletteMatrixARB (GLint index) - void glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) - void glMatrixIndexubvARB (GLint size, GLubyte *indices) - void glMatrixIndexusvARB (GLint size, GLushort *indices) - void glMatrixIndexuivARB (GLint size, GLuint *indices) diff --git a/Externals/GLew/auto/core/GL_ARB_multitexture b/Externals/GLew/auto/core/GL_ARB_multitexture deleted file mode 100644 index ee80791831..0000000000 --- a/Externals/GLew/auto/core/GL_ARB_multitexture +++ /dev/null @@ -1,72 +0,0 @@ -GL_ARB_multitexture -http://oss.sgi.com/projects/ogl-sample/registry/ARB/multitexture.txt -GL_ARB_multitexture - GL_TEXTURE0_ARB 0x84C0 - GL_TEXTURE1_ARB 0x84C1 - GL_TEXTURE2_ARB 0x84C2 - GL_TEXTURE3_ARB 0x84C3 - GL_TEXTURE4_ARB 0x84C4 - GL_TEXTURE5_ARB 0x84C5 - GL_TEXTURE6_ARB 0x84C6 - GL_TEXTURE7_ARB 0x84C7 - GL_TEXTURE8_ARB 0x84C8 - GL_TEXTURE9_ARB 0x84C9 - GL_TEXTURE10_ARB 0x84CA - GL_TEXTURE11_ARB 0x84CB - GL_TEXTURE12_ARB 0x84CC - GL_TEXTURE13_ARB 0x84CD - GL_TEXTURE14_ARB 0x84CE - GL_TEXTURE15_ARB 0x84CF - GL_TEXTURE16_ARB 0x84D0 - GL_TEXTURE17_ARB 0x84D1 - GL_TEXTURE18_ARB 0x84D2 - GL_TEXTURE19_ARB 0x84D3 - GL_TEXTURE20_ARB 0x84D4 - GL_TEXTURE21_ARB 0x84D5 - GL_TEXTURE22_ARB 0x84D6 - GL_TEXTURE23_ARB 0x84D7 - GL_TEXTURE24_ARB 0x84D8 - GL_TEXTURE25_ARB 0x84D9 - GL_TEXTURE26_ARB 0x84DA - GL_TEXTURE27_ARB 0x84DB - GL_TEXTURE28_ARB 0x84DC - GL_TEXTURE29_ARB 0x84DD - GL_TEXTURE30_ARB 0x84DE - GL_TEXTURE31_ARB 0x84DF - GL_ACTIVE_TEXTURE_ARB 0x84E0 - GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 - GL_MAX_TEXTURE_UNITS_ARB 0x84E2 - void glActiveTextureARB (GLenum texture) - void glClientActiveTextureARB (GLenum texture) - void glMultiTexCoord1dARB (GLenum target, GLdouble s) - void glMultiTexCoord1dvARB (GLenum target, const GLdouble *v) - void glMultiTexCoord1fARB (GLenum target, GLfloat s) - void glMultiTexCoord1fvARB (GLenum target, const GLfloat *v) - void glMultiTexCoord1iARB (GLenum target, GLint s) - void glMultiTexCoord1ivARB (GLenum target, const GLint *v) - void glMultiTexCoord1sARB (GLenum target, GLshort s) - void glMultiTexCoord1svARB (GLenum target, const GLshort *v) - void glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t) - void glMultiTexCoord2dvARB (GLenum target, const GLdouble *v) - void glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t) - void glMultiTexCoord2fvARB (GLenum target, const GLfloat *v) - void glMultiTexCoord2iARB (GLenum target, GLint s, GLint t) - void glMultiTexCoord2ivARB (GLenum target, const GLint *v) - void glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t) - void glMultiTexCoord2svARB (GLenum target, const GLshort *v) - void glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r) - void glMultiTexCoord3dvARB (GLenum target, const GLdouble *v) - void glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r) - void glMultiTexCoord3fvARB (GLenum target, const GLfloat *v) - void glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r) - void glMultiTexCoord3ivARB (GLenum target, const GLint *v) - void glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r) - void glMultiTexCoord3svARB (GLenum target, const GLshort *v) - void glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) - void glMultiTexCoord4dvARB (GLenum target, const GLdouble *v) - void glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) - void glMultiTexCoord4fvARB (GLenum target, const GLfloat *v) - void glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q) - void glMultiTexCoord4ivARB (GLenum target, const GLint *v) - void glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) - void glMultiTexCoord4svARB (GLenum target, const GLshort *v) diff --git a/Externals/GLew/auto/core/GL_ARB_vertex_blend b/Externals/GLew/auto/core/GL_ARB_vertex_blend deleted file mode 100644 index 8da2c785b9..0000000000 --- a/Externals/GLew/auto/core/GL_ARB_vertex_blend +++ /dev/null @@ -1,55 +0,0 @@ -GL_ARB_vertex_blend -http://oss.sgi.com/projects/ogl-sample/registry/ARB/vertex_blend.txt -GL_ARB_vertex_blend - GL_MAX_VERTEX_UNITS_ARB 0x86A4 - GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 - GL_WEIGHT_SUM_UNITY_ARB 0x86A6 - GL_VERTEX_BLEND_ARB 0x86A7 - GL_CURRENT_WEIGHT_ARB 0x86A8 - GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 - GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA - GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB - GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC - GL_WEIGHT_ARRAY_ARB 0x86AD - GL_MODELVIEW0_ARB 0x1700 - GL_MODELVIEW1_ARB 0x850A - GL_MODELVIEW2_ARB 0x8722 - GL_MODELVIEW3_ARB 0x8723 - GL_MODELVIEW4_ARB 0x8724 - GL_MODELVIEW5_ARB 0x8725 - GL_MODELVIEW6_ARB 0x8726 - GL_MODELVIEW7_ARB 0x8727 - GL_MODELVIEW8_ARB 0x8728 - GL_MODELVIEW9_ARB 0x8729 - GL_MODELVIEW10_ARB 0x872A - GL_MODELVIEW11_ARB 0x872B - GL_MODELVIEW12_ARB 0x872C - GL_MODELVIEW13_ARB 0x872D - GL_MODELVIEW14_ARB 0x872E - GL_MODELVIEW15_ARB 0x872F - GL_MODELVIEW16_ARB 0x8730 - GL_MODELVIEW17_ARB 0x8731 - GL_MODELVIEW18_ARB 0x8732 - GL_MODELVIEW19_ARB 0x8733 - GL_MODELVIEW20_ARB 0x8734 - GL_MODELVIEW21_ARB 0x8735 - GL_MODELVIEW22_ARB 0x8736 - GL_MODELVIEW23_ARB 0x8737 - GL_MODELVIEW24_ARB 0x8738 - GL_MODELVIEW25_ARB 0x8739 - GL_MODELVIEW26_ARB 0x873A - GL_MODELVIEW27_ARB 0x873B - GL_MODELVIEW28_ARB 0x873C - GL_MODELVIEW29_ARB 0x873D - GL_MODELVIEW30_ARB 0x873E - GL_MODELVIEW31_ARB 0x873F - void glWeightbvARB (GLint size, GLbyte *weights) - void glWeightsvARB (GLint size, GLshort *weights) - void glWeightivARB (GLint size, GLint *weights) - void glWeightfvARB (GLint size, GLfloat *weights) - void glWeightdvARB (GLint size, GLdouble *weights) - void glWeightubvARB (GLint size, GLubyte *weights) - void glWeightusvARB (GLint size, GLushort *weights) - void glWeightuivARB (GLint size, GLuint *weights) - void glWeightPointerARB (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) - void glVertexBlendARB (GLint count) diff --git a/Externals/GLew/auto/core/GL_ATIX_point_sprites b/Externals/GLew/auto/core/GL_ATIX_point_sprites deleted file mode 100644 index 0f4f574131..0000000000 --- a/Externals/GLew/auto/core/GL_ATIX_point_sprites +++ /dev/null @@ -1,9 +0,0 @@ -GL_ATIX_point_sprites -http://www.ati.com/developer/atiopengl.pdf -GL_ATIX_point_sprites - GL_TEXTURE_POINT_MODE_ATIX 0x60B0 - GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60B1 - GL_TEXTURE_POINT_SPRITE_ATIX 0x60B2 - GL_POINT_SPRITE_CULL_MODE_ATIX 0x60B3 - GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60B4 - GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60B5 diff --git a/Externals/GLew/auto/core/GL_ATIX_texture_env_combine3 b/Externals/GLew/auto/core/GL_ATIX_texture_env_combine3 deleted file mode 100644 index 537426b95d..0000000000 --- a/Externals/GLew/auto/core/GL_ATIX_texture_env_combine3 +++ /dev/null @@ -1,6 +0,0 @@ -GL_ATIX_texture_env_combine3 -http://www.ati.com/developer/atiopengl.pdf -GL_ATIX_texture_env_combine3 - GL_MODULATE_ADD_ATIX 0x8744 - GL_MODULATE_SIGNED_ADD_ATIX 0x8745 - GL_MODULATE_SUBTRACT_ATIX 0x8746 diff --git a/Externals/GLew/auto/core/GL_ATIX_texture_env_route b/Externals/GLew/auto/core/GL_ATIX_texture_env_route deleted file mode 100644 index 939ae09b95..0000000000 --- a/Externals/GLew/auto/core/GL_ATIX_texture_env_route +++ /dev/null @@ -1,6 +0,0 @@ -GL_ATIX_texture_env_route -http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATIX_texture_env_route.txt -GL_ATIX_texture_env_route - GL_SECONDARY_COLOR_ATIX 0x8747 - GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748 - GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749 diff --git a/Externals/GLew/auto/core/GL_ATIX_vertex_shader_output_point_size b/Externals/GLew/auto/core/GL_ATIX_vertex_shader_output_point_size deleted file mode 100644 index 277a3136cb..0000000000 --- a/Externals/GLew/auto/core/GL_ATIX_vertex_shader_output_point_size +++ /dev/null @@ -1,4 +0,0 @@ -GL_ATIX_vertex_shader_output_point_size -http://www.ati.com/developer/atiopengl.pdf -GL_ATIX_vertex_shader_output_point_size - GL_OUTPUT_POINT_SIZE_ATIX 0x610E diff --git a/Externals/GLew/auto/core/GL_ATI_envmap_bumpmap b/Externals/GLew/auto/core/GL_ATI_envmap_bumpmap deleted file mode 100644 index fbd992551e..0000000000 --- a/Externals/GLew/auto/core/GL_ATI_envmap_bumpmap +++ /dev/null @@ -1,15 +0,0 @@ -GL_ATI_envmap_bumpmap -http://oss.sgi.com/projects/ogl-sample/registry/ATI/envmap_bumpmap.txt -GL_ATI_envmap_bumpmap - GL_BUMP_ROT_MATRIX_ATI 0x8775 - GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 - GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 - GL_BUMP_TEX_UNITS_ATI 0x8778 - GL_DUDV_ATI 0x8779 - GL_DU8DV8_ATI 0x877A - GL_BUMP_ENVMAP_ATI 0x877B - GL_BUMP_TARGET_ATI 0x877C - void glTexBumpParameterivATI (GLenum pname, GLint *param) - void glTexBumpParameterfvATI (GLenum pname, GLfloat *param) - void glGetTexBumpParameterivATI (GLenum pname, GLint *param) - void glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param) diff --git a/Externals/GLew/auto/core/GL_ATI_map_object_buffer b/Externals/GLew/auto/core/GL_ATI_map_object_buffer deleted file mode 100644 index f360fa2adc..0000000000 --- a/Externals/GLew/auto/core/GL_ATI_map_object_buffer +++ /dev/null @@ -1,5 +0,0 @@ -GL_ATI_map_object_buffer -http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ATI_map_object_buffer.txt -GL_ATI_map_object_buffer - void* glMapObjectBufferATI (GLuint buffer) - void glUnmapObjectBufferATI (GLuint buffer) diff --git a/Externals/GLew/auto/core/GL_ATI_pn_triangles b/Externals/GLew/auto/core/GL_ATI_pn_triangles deleted file mode 100644 index 7b353b5352..0000000000 --- a/Externals/GLew/auto/core/GL_ATI_pn_triangles +++ /dev/null @@ -1,14 +0,0 @@ -GL_ATI_pn_triangles -http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ati_pn_triangles.txt -GL_ATI_pn_triangles - GL_PN_TRIANGLES_ATI 0x87F0 - GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 - GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 - GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 - GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 - GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 - GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 - GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 - GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 - void glPNTrianglesiATI (GLenum pname, GLint param) - void glPNTrianglesfATI (GLenum pname, GLfloat param) diff --git a/Externals/GLew/auto/core/GL_ATI_separate_stencil b/Externals/GLew/auto/core/GL_ATI_separate_stencil deleted file mode 100644 index c4d82abba9..0000000000 --- a/Externals/GLew/auto/core/GL_ATI_separate_stencil +++ /dev/null @@ -1,9 +0,0 @@ -GL_ATI_separate_stencil -http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATI_separate_stencil.txt -GL_ATI_separate_stencil - GL_STENCIL_BACK_FUNC_ATI 0x8800 - GL_STENCIL_BACK_FAIL_ATI 0x8801 - GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 - GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 - void glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) - void glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) diff --git a/Externals/GLew/auto/core/GL_ATI_shader_texture_lod b/Externals/GLew/auto/core/GL_ATI_shader_texture_lod deleted file mode 100644 index 5fbc624a6b..0000000000 --- a/Externals/GLew/auto/core/GL_ATI_shader_texture_lod +++ /dev/null @@ -1,3 +0,0 @@ -GL_ATI_shader_texture_lod - -GL_ATI_shader_texture_lod diff --git a/Externals/GLew/auto/core/GL_ATI_texture_compression_3dc b/Externals/GLew/auto/core/GL_ATI_texture_compression_3dc deleted file mode 100644 index 2548b30ead..0000000000 --- a/Externals/GLew/auto/core/GL_ATI_texture_compression_3dc +++ /dev/null @@ -1,4 +0,0 @@ -GL_ATI_texture_compression_3dc - -GL_ATI_texture_compression_3dc - GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 diff --git a/Externals/GLew/auto/core/GL_ATI_vertex_streams b/Externals/GLew/auto/core/GL_ATI_vertex_streams deleted file mode 100644 index 56005f9c50..0000000000 --- a/Externals/GLew/auto/core/GL_ATI_vertex_streams +++ /dev/null @@ -1,50 +0,0 @@ -GL_ATI_vertex_streams -http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ATI_vertex_streams.txt -GL_ATI_vertex_streams - GL_MAX_VERTEX_STREAMS_ATI 0x876B - GL_VERTEX_SOURCE_ATI 0x876C - GL_VERTEX_STREAM0_ATI 0x876D - GL_VERTEX_STREAM1_ATI 0x876E - GL_VERTEX_STREAM2_ATI 0x876F - GL_VERTEX_STREAM3_ATI 0x8770 - GL_VERTEX_STREAM4_ATI 0x8771 - GL_VERTEX_STREAM5_ATI 0x8772 - GL_VERTEX_STREAM6_ATI 0x8773 - GL_VERTEX_STREAM7_ATI 0x8774 - void glClientActiveVertexStreamATI (GLenum stream) - void glVertexBlendEnviATI (GLenum pname, GLint param) - void glVertexBlendEnvfATI (GLenum pname, GLfloat param) - void glVertexStream2sATI (GLenum stream, GLshort x, GLshort y) - void glVertexStream2svATI (GLenum stream, const GLshort *v) - void glVertexStream2iATI (GLenum stream, GLint x, GLint y) - void glVertexStream2ivATI (GLenum stream, const GLint *v) - void glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y) - void glVertexStream2fvATI (GLenum stream, const GLfloat *v) - void glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y) - void glVertexStream2dvATI (GLenum stream, const GLdouble *v) - void glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z) - void glVertexStream3svATI (GLenum stream, const GLshort *v) - void glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z) - void glVertexStream3ivATI (GLenum stream, const GLint *v) - void glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z) - void glVertexStream3fvATI (GLenum stream, const GLfloat *v) - void glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z) - void glVertexStream3dvATI (GLenum stream, const GLdouble *v) - void glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w) - void glVertexStream4svATI (GLenum stream, const GLshort *v) - void glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w) - void glVertexStream4ivATI (GLenum stream, const GLint *v) - void glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glVertexStream4fvATI (GLenum stream, const GLfloat *v) - void glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glVertexStream4dvATI (GLenum stream, const GLdouble *v) - void glNormalStream3bATI (GLenum stream, GLbyte x, GLbyte y, GLbyte z) - void glNormalStream3bvATI (GLenum stream, const GLbyte *v) - void glNormalStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z) - void glNormalStream3svATI (GLenum stream, const GLshort *v) - void glNormalStream3iATI (GLenum stream, GLint x, GLint y, GLint z) - void glNormalStream3ivATI (GLenum stream, const GLint *v) - void glNormalStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z) - void glNormalStream3fvATI (GLenum stream, const GLfloat *v) - void glNormalStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z) - void glNormalStream3dvATI (GLenum stream, const GLdouble *v) diff --git a/Externals/GLew/auto/core/GL_EXT_Cg_shader b/Externals/GLew/auto/core/GL_EXT_Cg_shader deleted file mode 100644 index 34d3152931..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_Cg_shader +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_Cg_shader -http://download.nvidia.com/developer/GLSL/GLSL%20Release%20Notes%20for%20Release%2060.pdf -GL_EXT_Cg_shader - GL_CG_VERTEX_SHADER_EXT 0x890E - GL_CG_FRAGMENT_SHADER_EXT 0x890F diff --git a/Externals/GLew/auto/core/GL_EXT_bindable_uniform b/Externals/GLew/auto/core/GL_EXT_bindable_uniform deleted file mode 100644 index 809123b659..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_bindable_uniform +++ /dev/null @@ -1,12 +0,0 @@ -GL_EXT_bindable_uniform -http://developer.download.nvidia.com/opengl/specs/GL_EXT_bindable_uniform.txt -GL_EXT_bindable_uniform - GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 - GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 - GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 - GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED - GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF - GL_UNIFORM_BUFFER_EXT 0x8DEE - void glUniformBufferEXT (GLuint program, GLint location, GLuint buffer) - GLint glGetUniformBufferSizeEXT (GLuint program, GLint location) - GLintptr glGetUniformOffsetEXT (GLuint program, GLint location) diff --git a/Externals/GLew/auto/core/GL_EXT_depth_bounds_test b/Externals/GLew/auto/core/GL_EXT_depth_bounds_test deleted file mode 100644 index 62528b7b0c..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_depth_bounds_test +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_depth_bounds_test -http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_depth_bounds_test.txt -GL_EXT_depth_bounds_test - GL_DEPTH_BOUNDS_TEST_EXT 0x8890 - GL_DEPTH_BOUNDS_EXT 0x8891 - void glDepthBoundsEXT (GLclampd zmin, GLclampd zmax) diff --git a/Externals/GLew/auto/core/GL_EXT_draw_instanced b/Externals/GLew/auto/core/GL_EXT_draw_instanced deleted file mode 100644 index afafa27f3e..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_draw_instanced +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_draw_instanced -http://developer.download.nvidia.com/opengl/specs/GL_EXT_draw_instanced.txt -GL_EXT_draw_instanced - void glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount) - void glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) diff --git a/Externals/GLew/auto/core/GL_EXT_draw_range_elements b/Externals/GLew/auto/core/GL_EXT_draw_range_elements deleted file mode 100644 index 2abc870ba2..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_draw_range_elements +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_draw_range_elements -http://oss.sgi.com/projects/ogl-sample/registry/EXT/draw_range_elements.txt -GL_EXT_draw_range_elements - GL_MAX_ELEMENTS_VERTICES 0x80E8 - GL_MAX_ELEMENTS_INDICES 0x80E9 - void glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) diff --git a/Externals/GLew/auto/core/GL_EXT_fog_coord b/Externals/GLew/auto/core/GL_EXT_fog_coord deleted file mode 100644 index ac7868aa32..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_fog_coord +++ /dev/null @@ -1,16 +0,0 @@ -GL_EXT_fog_coord -http://oss.sgi.com/projects/ogl-sample/registry/EXT/fog_coord.txt -GL_EXT_fog_coord - GL_FOG_COORDINATE_SOURCE_EXT 0x8450 - GL_FOG_COORDINATE_EXT 0x8451 - GL_FRAGMENT_DEPTH_EXT 0x8452 - GL_CURRENT_FOG_COORDINATE_EXT 0x8453 - GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 - GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 - GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 - GL_FOG_COORDINATE_ARRAY_EXT 0x8457 - void glFogCoordfEXT (GLfloat coord) - void glFogCoordfvEXT (const GLfloat *coord) - void glFogCoorddEXT (GLdouble coord) - void glFogCoorddvEXT (const GLdouble *coord) - void glFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer) diff --git a/Externals/GLew/auto/core/GL_EXT_framebuffer_sRGB b/Externals/GLew/auto/core/GL_EXT_framebuffer_sRGB deleted file mode 100644 index 4ca897b1fd..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_framebuffer_sRGB +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_framebuffer_sRGB -http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt -GL_EXT_framebuffer_sRGB - GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 - GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA diff --git a/Externals/GLew/auto/core/GL_EXT_geometry_shader4 b/Externals/GLew/auto/core/GL_EXT_geometry_shader4 deleted file mode 100644 index 888e500ae0..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_geometry_shader4 +++ /dev/null @@ -1,27 +0,0 @@ -GL_EXT_geometry_shader4 -http://developer.download.nvidia.com/opengl/specs/GL_EXT_geometry_shader4.txt -GL_EXT_geometry_shader4 - GL_GEOMETRY_SHADER_EXT 0x8DD9 - GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD - GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE - GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B - GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF - GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 - GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 - GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA - GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB - GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC - GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 - GL_LINES_ADJACENCY_EXT 0xA - GL_LINE_STRIP_ADJACENCY_EXT 0xB - GL_TRIANGLES_ADJACENCY_EXT 0xC - GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD - GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 - GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 - GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 - GL_PROGRAM_POINT_SIZE_EXT 0x8642 - void glProgramParameteriEXT (GLuint program, GLenum pname, GLint value) - void glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level) - void glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) - void glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) diff --git a/Externals/GLew/auto/core/GL_EXT_gpu_program_parameters b/Externals/GLew/auto/core/GL_EXT_gpu_program_parameters deleted file mode 100644 index 9048c98d96..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_gpu_program_parameters +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_gpu_program_parameters -http://developer.download.nvidia.com/opengl/specs/GL_EXT_gpu_program_parameters.txt -GL_EXT_gpu_program_parameters - void glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat* params) - void glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat* params) diff --git a/Externals/GLew/auto/core/GL_EXT_gpu_shader4 b/Externals/GLew/auto/core/GL_EXT_gpu_shader4 deleted file mode 100644 index 0e89f0db06..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_gpu_shader4 +++ /dev/null @@ -1,63 +0,0 @@ -GL_EXT_gpu_shader4 -http://developer.download.nvidia.com/opengl/specs/GL_EXT_gpu_shader4.txt -GL_EXT_gpu_shader4 - GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 - GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 - GL_SAMPLER_BUFFER_EXT 0x8DC2 - GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 - GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 - GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 - GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 - GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 - GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 - GL_INT_SAMPLER_1D_EXT 0x8DC9 - GL_INT_SAMPLER_2D_EXT 0x8DCA - GL_INT_SAMPLER_3D_EXT 0x8DCB - GL_INT_SAMPLER_CUBE_EXT 0x8DCC - GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD - GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE - GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF - GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 - GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 - GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 - GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 - GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 - GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 - GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 - GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 - GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 - GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD - void glGetUniformuivEXT (GLuint program, GLint location, GLuint *params) - void glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name) - GLint glGetFragDataLocationEXT (GLuint program, const GLchar *name) - void glUniform1uiEXT (GLint location, GLuint v0) - void glUniform2uiEXT (GLint location, GLuint v0, GLuint v1) - void glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2) - void glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) - void glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value) - void glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value) - void glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value) - void glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value) - void glVertexAttribI1iEXT (GLuint index, GLint x) - void glVertexAttribI2iEXT (GLuint index, GLint x, GLint y) - void glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z) - void glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w) - void glVertexAttribI1uiEXT (GLuint index, GLuint x) - void glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y) - void glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z) - void glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) - void glVertexAttribI1ivEXT (GLuint index, const GLint *v) - void glVertexAttribI2ivEXT (GLuint index, const GLint *v) - void glVertexAttribI3ivEXT (GLuint index, const GLint *v) - void glVertexAttribI4ivEXT (GLuint index, const GLint *v) - void glVertexAttribI1uivEXT (GLuint index, const GLuint *v) - void glVertexAttribI2uivEXT (GLuint index, const GLuint *v) - void glVertexAttribI3uivEXT (GLuint index, const GLuint *v) - void glVertexAttribI4uivEXT (GLuint index, const GLuint *v) - void glVertexAttribI4bvEXT (GLuint index, const GLbyte *v) - void glVertexAttribI4svEXT (GLuint index, const GLshort *v) - void glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v) - void glVertexAttribI4usvEXT (GLuint index, const GLushort *v) - void glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) - void glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params) - void glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params) diff --git a/Externals/GLew/auto/core/GL_EXT_packed_float b/Externals/GLew/auto/core/GL_EXT_packed_float deleted file mode 100644 index bcb22557d6..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_packed_float +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_packed_float -http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt -GL_EXT_packed_float - GL_R11F_G11F_B10F_EXT 0x8C3A - GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B - GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C diff --git a/Externals/GLew/auto/core/GL_EXT_pixel_buffer_object b/Externals/GLew/auto/core/GL_EXT_pixel_buffer_object deleted file mode 100644 index a7f8f2c80e..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_pixel_buffer_object +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_pixel_buffer_object -http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_pixel_buffer_object.txt -GL_EXT_pixel_buffer_object - GL_PIXEL_PACK_BUFFER_EXT 0x88EB - GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC - GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED - GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF diff --git a/Externals/GLew/auto/core/GL_EXT_secondary_color b/Externals/GLew/auto/core/GL_EXT_secondary_color deleted file mode 100644 index 490dc64320..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_secondary_color +++ /dev/null @@ -1,27 +0,0 @@ -GL_EXT_secondary_color -http://oss.sgi.com/projects/ogl-sample/registry/EXT/secondary_color.txt -GL_EXT_secondary_color - GL_COLOR_SUM_EXT 0x8458 - GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 - GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A - GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B - GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C - GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D - GL_SECONDARY_COLOR_ARRAY_EXT 0x845E - void glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue) - void glSecondaryColor3bvEXT (const GLbyte *v) - void glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue) - void glSecondaryColor3dvEXT (const GLdouble *v) - void glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue) - void glSecondaryColor3fvEXT (const GLfloat *v) - void glSecondaryColor3iEXT (GLint red, GLint green, GLint blue) - void glSecondaryColor3ivEXT (const GLint *v) - void glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue) - void glSecondaryColor3svEXT (const GLshort *v) - void glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue) - void glSecondaryColor3ubvEXT (const GLubyte *v) - void glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue) - void glSecondaryColor3uivEXT (const GLuint *v) - void glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue) - void glSecondaryColor3usvEXT (const GLushort *v) - void glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) diff --git a/Externals/GLew/auto/core/GL_EXT_texture_array b/Externals/GLew/auto/core/GL_EXT_texture_array deleted file mode 100644 index f61e72ebc3..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_array +++ /dev/null @@ -1,11 +0,0 @@ -GL_EXT_texture_array -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_array.txt -GL_EXT_texture_array - GL_TEXTURE_1D_ARRAY_EXT 0x8C18 - GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 - GL_TEXTURE_2D_ARRAY_EXT 0x8C1A - GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B - GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C - GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D - GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF - GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E diff --git a/Externals/GLew/auto/core/GL_EXT_texture_buffer_object b/Externals/GLew/auto/core/GL_EXT_texture_buffer_object deleted file mode 100644 index c00e1f3367..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_buffer_object +++ /dev/null @@ -1,9 +0,0 @@ -GL_EXT_texture_buffer_object -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_buffer_object.txt -GL_EXT_texture_buffer_object - GL_TEXTURE_BUFFER_EXT 0x8C2A - GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B - GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C - GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D - GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E - void glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer) diff --git a/Externals/GLew/auto/core/GL_EXT_texture_compression_latc b/Externals/GLew/auto/core/GL_EXT_texture_compression_latc deleted file mode 100644 index ddf8d26449..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_compression_latc +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_texture_compression_latc -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_compression_latc.txt -GL_EXT_texture_compression_latc - GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 - GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 - GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 - GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 diff --git a/Externals/GLew/auto/core/GL_EXT_texture_compression_rgtc b/Externals/GLew/auto/core/GL_EXT_texture_compression_rgtc deleted file mode 100644 index 7c5c57ff83..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_compression_rgtc +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_texture_compression_rgtc -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_compression_rgtc.txt -GL_EXT_texture_compression_rgtc - GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB - GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC - GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD - GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE diff --git a/Externals/GLew/auto/core/GL_EXT_texture_cube_map b/Externals/GLew/auto/core/GL_EXT_texture_cube_map deleted file mode 100644 index 5909f4803c..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_cube_map +++ /dev/null @@ -1,15 +0,0 @@ -GL_EXT_texture_cube_map -http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_texture_cube_map.txt -GL_EXT_texture_cube_map - GL_NORMAL_MAP_EXT 0x8511 - GL_REFLECTION_MAP_EXT 0x8512 - GL_TEXTURE_CUBE_MAP_EXT 0x8513 - GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 - GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 - GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 - GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 - GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A - GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B - GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C diff --git a/Externals/GLew/auto/core/GL_EXT_texture_edge_clamp b/Externals/GLew/auto/core/GL_EXT_texture_edge_clamp deleted file mode 100644 index 4df0997d74..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_edge_clamp +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_texture_edge_clamp -http://www.opengl.org/developers/documentation/Version1.2/1.2specs/texture_edge_clamp.txt -GL_EXT_texture_edge_clamp - GL_CLAMP_TO_EDGE_EXT 0x812F diff --git a/Externals/GLew/auto/core/GL_EXT_texture_integer b/Externals/GLew/auto/core/GL_EXT_texture_integer deleted file mode 100644 index 1c57e40d87..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_integer +++ /dev/null @@ -1,56 +0,0 @@ -GL_EXT_texture_integer -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_integer.txt -GL_EXT_texture_integer - GL_RGBA32UI_EXT 0x8D70 - GL_RGB32UI_EXT 0x8D71 - GL_ALPHA32UI_EXT 0x8D72 - GL_INTENSITY32UI_EXT 0x8D73 - GL_LUMINANCE32UI_EXT 0x8D74 - GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 - GL_RGBA16UI_EXT 0x8D76 - GL_RGB16UI_EXT 0x8D77 - GL_ALPHA16UI_EXT 0x8D78 - GL_INTENSITY16UI_EXT 0x8D79 - GL_LUMINANCE16UI_EXT 0x8D7A - GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B - GL_RGBA8UI_EXT 0x8D7C - GL_RGB8UI_EXT 0x8D7D - GL_ALPHA8UI_EXT 0x8D7E - GL_INTENSITY8UI_EXT 0x8D7F - GL_LUMINANCE8UI_EXT 0x8D80 - GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 - GL_RGBA32I_EXT 0x8D82 - GL_RGB32I_EXT 0x8D83 - GL_ALPHA32I_EXT 0x8D84 - GL_INTENSITY32I_EXT 0x8D85 - GL_LUMINANCE32I_EXT 0x8D86 - GL_LUMINANCE_ALPHA32I_EXT 0x8D87 - GL_RGBA16I_EXT 0x8D88 - GL_RGB16I_EXT 0x8D89 - GL_ALPHA16I_EXT 0x8D8A - GL_INTENSITY16I_EXT 0x8D8B - GL_LUMINANCE16I_EXT 0x8D8C - GL_LUMINANCE_ALPHA16I_EXT 0x8D8D - GL_RGBA8I_EXT 0x8D8E - GL_RGB8I_EXT 0x8D8F - GL_ALPHA8I_EXT 0x8D90 - GL_INTENSITY8I_EXT 0x8D91 - GL_LUMINANCE8I_EXT 0x8D92 - GL_LUMINANCE_ALPHA8I_EXT 0x8D93 - GL_RED_INTEGER_EXT 0x8D94 - GL_GREEN_INTEGER_EXT 0x8D95 - GL_BLUE_INTEGER_EXT 0x8D96 - GL_ALPHA_INTEGER_EXT 0x8D97 - GL_RGB_INTEGER_EXT 0x8D98 - GL_RGBA_INTEGER_EXT 0x8D99 - GL_BGR_INTEGER_EXT 0x8D9A - GL_BGRA_INTEGER_EXT 0x8D9B - GL_LUMINANCE_INTEGER_EXT 0x8D9C - GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D - GL_RGBA_INTEGER_MODE_EXT 0x8D9E - void glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params) - void glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params) - void glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params) - void glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params) - void glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha) - void glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha) diff --git a/Externals/GLew/auto/core/GL_EXT_texture_rectangle b/Externals/GLew/auto/core/GL_EXT_texture_rectangle deleted file mode 100644 index 4028a9e671..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_rectangle +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_texture_rectangle -http://developer.apple.com/opengl/extensions/ext_texture_rectangle.html -GL_EXT_texture_rectangle - GL_TEXTURE_RECTANGLE_EXT 0x84F5 - GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6 - GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7 - GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8 diff --git a/Externals/GLew/auto/core/GL_EXT_texture_shared_exponent b/Externals/GLew/auto/core/GL_EXT_texture_shared_exponent deleted file mode 100644 index 4ff7efcd35..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_texture_shared_exponent +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_texture_shared_exponent -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_shared_exponent.txt -GL_EXT_texture_shared_exponent - GL_RGB9_E5_EXT 0x8C3D - GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E - GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F diff --git a/Externals/GLew/auto/core/GL_EXT_timer_query b/Externals/GLew/auto/core/GL_EXT_timer_query deleted file mode 100644 index 390e6fc0cd..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_timer_query +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_timer_query -http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_timer_query.txt -GL_EXT_timer_query - GL_TIME_ELAPSED_EXT 0x88BF - void glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params) - void glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params) diff --git a/Externals/GLew/auto/core/GL_EXT_vertex_shader b/Externals/GLew/auto/core/GL_EXT_vertex_shader deleted file mode 100644 index eb125b6083..0000000000 --- a/Externals/GLew/auto/core/GL_EXT_vertex_shader +++ /dev/null @@ -1,156 +0,0 @@ -GL_EXT_vertex_shader -http://oss.sgi.com/projects/ogl-sample/registry/EXT/vertex_shader.txt -GL_EXT_vertex_shader - GL_VERTEX_SHADER_EXT 0x8780 - GL_VERTEX_SHADER_BINDING_EXT 0x8781 - GL_OP_INDEX_EXT 0x8782 - GL_OP_NEGATE_EXT 0x8783 - GL_OP_DOT3_EXT 0x8784 - GL_OP_DOT4_EXT 0x8785 - GL_OP_MUL_EXT 0x8786 - GL_OP_ADD_EXT 0x8787 - GL_OP_MADD_EXT 0x8788 - GL_OP_FRAC_EXT 0x8789 - GL_OP_MAX_EXT 0x878A - GL_OP_MIN_EXT 0x878B - GL_OP_SET_GE_EXT 0x878C - GL_OP_SET_LT_EXT 0x878D - GL_OP_CLAMP_EXT 0x878E - GL_OP_FLOOR_EXT 0x878F - GL_OP_ROUND_EXT 0x8790 - GL_OP_EXP_BASE_2_EXT 0x8791 - GL_OP_LOG_BASE_2_EXT 0x8792 - GL_OP_POWER_EXT 0x8793 - GL_OP_RECIP_EXT 0x8794 - GL_OP_RECIP_SQRT_EXT 0x8795 - GL_OP_SUB_EXT 0x8796 - GL_OP_CROSS_PRODUCT_EXT 0x8797 - GL_OP_MULTIPLY_MATRIX_EXT 0x8798 - GL_OP_MOV_EXT 0x8799 - GL_OUTPUT_VERTEX_EXT 0x879A - GL_OUTPUT_COLOR0_EXT 0x879B - GL_OUTPUT_COLOR1_EXT 0x879C - GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D - GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E - GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F - GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 - GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 - GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 - GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 - GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 - GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 - GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 - GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 - GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 - GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 - GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA - GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB - GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC - GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD - GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE - GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF - GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 - GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 - GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 - GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 - GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 - GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 - GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 - GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 - GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 - GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 - GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA - GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB - GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC - GL_OUTPUT_FOG_EXT 0x87BD - GL_SCALAR_EXT 0x87BE - GL_VECTOR_EXT 0x87BF - GL_MATRIX_EXT 0x87C0 - GL_VARIANT_EXT 0x87C1 - GL_INVARIANT_EXT 0x87C2 - GL_LOCAL_CONSTANT_EXT 0x87C3 - GL_LOCAL_EXT 0x87C4 - GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 - GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 - GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 - GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 - GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 - GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA - GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB - GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CC - GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CD - GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE - GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF - GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 - GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 - GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 - GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 - GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 - GL_X_EXT 0x87D5 - GL_Y_EXT 0x87D6 - GL_Z_EXT 0x87D7 - GL_W_EXT 0x87D8 - GL_NEGATIVE_X_EXT 0x87D9 - GL_NEGATIVE_Y_EXT 0x87DA - GL_NEGATIVE_Z_EXT 0x87DB - GL_NEGATIVE_W_EXT 0x87DC - GL_ZERO_EXT 0x87DD - GL_ONE_EXT 0x87DE - GL_NEGATIVE_ONE_EXT 0x87DF - GL_NORMALIZED_RANGE_EXT 0x87E0 - GL_FULL_RANGE_EXT 0x87E1 - GL_CURRENT_VERTEX_EXT 0x87E2 - GL_MVP_MATRIX_EXT 0x87E3 - GL_VARIANT_VALUE_EXT 0x87E4 - GL_VARIANT_DATATYPE_EXT 0x87E5 - GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 - GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 - GL_VARIANT_ARRAY_EXT 0x87E8 - GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 - GL_INVARIANT_VALUE_EXT 0x87EA - GL_INVARIANT_DATATYPE_EXT 0x87EB - GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC - GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED - - void glBeginVertexShaderEXT (void) - void glEndVertexShaderEXT (void) - void glBindVertexShaderEXT (GLuint id) - GLuint glGenVertexShadersEXT (GLuint range) - void glDeleteVertexShaderEXT (GLuint id) - void glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1) - void glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2) - void glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3) - void glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) - void glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) - void glInsertComponentEXT (GLuint res, GLuint src, GLuint num) - void glExtractComponentEXT (GLuint res, GLuint src, GLuint num) - GLuint glGenSymbolsEXT (GLenum dataType, GLenum storageType, GLenum range, GLuint components) - void glSetInvariantEXT (GLuint id, GLenum type, GLvoid *addr) - void glSetLocalConstantEXT (GLuint id, GLenum type, GLvoid *addr) - void glVariantbvEXT (GLuint id, GLbyte *addr) - void glVariantsvEXT (GLuint id, GLshort *addr) - void glVariantivEXT (GLuint id, GLint *addr) - void glVariantfvEXT (GLuint id, GLfloat *addr) - void glVariantdvEXT (GLuint id, GLdouble *addr) - void glVariantubvEXT (GLuint id, GLubyte *addr) - void glVariantusvEXT (GLuint id, GLushort *addr) - void glVariantuivEXT (GLuint id, GLuint *addr) - void glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, GLvoid *addr) - void glEnableVariantClientStateEXT (GLuint id) - void glDisableVariantClientStateEXT (GLuint id) - GLuint glBindLightParameterEXT (GLenum light, GLenum value) - GLuint glBindMaterialParameterEXT (GLenum face, GLenum value) - GLuint glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value) - GLuint glBindTextureUnitParameterEXT (GLenum unit, GLenum value) - GLuint glBindParameterEXT (GLenum value) - GLboolean glIsVariantEnabledEXT (GLuint id, GLenum cap) - void glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) - void glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data) - void glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data) - void glGetVariantPointervEXT (GLuint id, GLenum value, GLvoid **data) - void glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) - void glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data) - void glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data) - void glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) - void glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data) - void glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data) diff --git a/Externals/GLew/auto/core/GL_KTX_buffer_region b/Externals/GLew/auto/core/GL_KTX_buffer_region deleted file mode 100644 index 22a59d3be3..0000000000 --- a/Externals/GLew/auto/core/GL_KTX_buffer_region +++ /dev/null @@ -1,12 +0,0 @@ -GL_KTX_buffer_region - -GL_KTX_buffer_region - GL_KTX_FRONT_REGION 0x0 - GL_KTX_BACK_REGION 0x1 - GL_KTX_Z_REGION 0x2 - GL_KTX_STENCIL_REGION 0x3 - GLuint glBufferRegionEnabledEXT (void) - GLuint glNewBufferRegionEXT (GLenum region) - void glDeleteBufferRegionEXT (GLenum region) - void glReadBufferRegionEXT (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height) - void glDrawBufferRegionEXT (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height, GLint xDest, GLint yDest) diff --git a/Externals/GLew/auto/core/GL_NV_depth_buffer_float b/Externals/GLew/auto/core/GL_NV_depth_buffer_float deleted file mode 100644 index 493b245589..0000000000 --- a/Externals/GLew/auto/core/GL_NV_depth_buffer_float +++ /dev/null @@ -1,10 +0,0 @@ -GL_NV_depth_buffer_float -http://developer.download.nvidia.com/opengl/specs/GL_NV_depth_buffer_float.txt -GL_NV_depth_buffer_float - GL_DEPTH_COMPONENT32F_NV 0x8DAB - GL_DEPTH32F_STENCIL8_NV 0x8DAC - GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD - GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF - void glDepthRangedNV (GLdouble zNear, GLdouble zFar) - void glClearDepthdNV (GLdouble depth) - void glDepthBoundsdNV (GLdouble zmin, GLdouble zmax) diff --git a/Externals/GLew/auto/core/GL_NV_depth_range_unclamped b/Externals/GLew/auto/core/GL_NV_depth_range_unclamped deleted file mode 100644 index 62b4e59fa7..0000000000 --- a/Externals/GLew/auto/core/GL_NV_depth_range_unclamped +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_depth_range_unclamped - -GL_NV_depth_range_unclamped - GL_SAMPLE_COUNT_BITS_NV 0x8864 - GL_CURRENT_SAMPLE_COUNT_QUERY_NV 0x8865 - GL_QUERY_RESULT_NV 0x8866 - GL_QUERY_RESULT_AVAILABLE_NV 0x8867 - GL_SAMPLE_COUNT_NV 0x8914 diff --git a/Externals/GLew/auto/core/GL_NV_fragment_program2 b/Externals/GLew/auto/core/GL_NV_fragment_program2 deleted file mode 100644 index 7fb59eea1b..0000000000 --- a/Externals/GLew/auto/core/GL_NV_fragment_program2 +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_fragment_program2 -http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_fragment_program2.txt -GL_NV_fragment_program2 - GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 - GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 - GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 - GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 - GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 diff --git a/Externals/GLew/auto/core/GL_NV_fragment_program4 b/Externals/GLew/auto/core/GL_NV_fragment_program4 deleted file mode 100644 index 0ae2598795..0000000000 --- a/Externals/GLew/auto/core/GL_NV_fragment_program4 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_fragment_program4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_fragment_program4.txt -GL_NV_gpu_program4 diff --git a/Externals/GLew/auto/core/GL_NV_fragment_program_option b/Externals/GLew/auto/core/GL_NV_fragment_program_option deleted file mode 100644 index 7af9731bd8..0000000000 --- a/Externals/GLew/auto/core/GL_NV_fragment_program_option +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_fragment_program_option -http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_fragment_program_option.txt -GL_NV_fragment_program_option diff --git a/Externals/GLew/auto/core/GL_NV_framebuffer_multisample_coverage b/Externals/GLew/auto/core/GL_NV_framebuffer_multisample_coverage deleted file mode 100644 index d1d066056c..0000000000 --- a/Externals/GLew/auto/core/GL_NV_framebuffer_multisample_coverage +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_framebuffer_multisample_coverage -http://developer.download.nvidia.com/opengl/specs/GL_NV_framebuffer_multisample_coverage.txt -GL_NV_framebuffer_multisample_coverage - GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB - GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 - GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 - GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 - void glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) diff --git a/Externals/GLew/auto/core/GL_NV_geometry_program4 b/Externals/GLew/auto/core/GL_NV_geometry_program4 deleted file mode 100644 index 3f82b195d3..0000000000 --- a/Externals/GLew/auto/core/GL_NV_geometry_program4 +++ /dev/null @@ -1,7 +0,0 @@ -GL_NV_geometry_program4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_geometry_program4.txt -GL_NV_gpu_program4 - GL_GEOMETRY_PROGRAM_NV 0x8C26 - GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 - GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 - void glProgramVertexLimitNV (GLenum target, GLint limit) diff --git a/Externals/GLew/auto/core/GL_NV_geometry_shader4 b/Externals/GLew/auto/core/GL_NV_geometry_shader4 deleted file mode 100644 index 2040c0dbb3..0000000000 --- a/Externals/GLew/auto/core/GL_NV_geometry_shader4 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_geometry_shader4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_geometry_shader4.txt -GL_NV_geometry_shader4 diff --git a/Externals/GLew/auto/core/GL_NV_gpu_program4 b/Externals/GLew/auto/core/GL_NV_gpu_program4 deleted file mode 100644 index 030f68e1cc..0000000000 --- a/Externals/GLew/auto/core/GL_NV_gpu_program4 +++ /dev/null @@ -1,23 +0,0 @@ -GL_NV_gpu_program4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_gpu_program4.txt -GL_NV_gpu_program4 - GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 - GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 - GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 - GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 - GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 - GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 - GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 - GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 - void glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) - void glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params) - void glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params) - void glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) - void glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params) - void glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params) - void glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) - void glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params) - void glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params) - void glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) - void glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params) - void glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params) diff --git a/Externals/GLew/auto/core/GL_NV_parameter_buffer_object b/Externals/GLew/auto/core/GL_NV_parameter_buffer_object deleted file mode 100644 index d2525a1766..0000000000 --- a/Externals/GLew/auto/core/GL_NV_parameter_buffer_object +++ /dev/null @@ -1,11 +0,0 @@ -GL_NV_parameter_buffer_object -http://developer.download.nvidia.com/opengl/specs/GL_NV_parameter_buffer_object.txt -GL_NV_parameter_buffer_object - GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 - GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 - GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 - GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 - GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 - void glProgramBufferParametersfvNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params) - void glProgramBufferParametersIivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params) - void glProgramBufferParametersIuivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params) diff --git a/Externals/GLew/auto/core/GL_NV_present_video b/Externals/GLew/auto/core/GL_NV_present_video deleted file mode 100644 index 893c74c8e9..0000000000 --- a/Externals/GLew/auto/core/GL_NV_present_video +++ /dev/null @@ -1,15 +0,0 @@ -GL_NV_present_video -http://www.opengl.org/registry/specs/NV/present_video.txt -GL_NV_present_video - GL_FRAME_NV 0x8E26 - GL_FIELDS_NV 0x8E27 - GL_CURRENT_TIME_NV 0x8E28 - GL_NUM_FILL_STREAMS_NV 0x8E29 - GL_PRESENT_TIME_NV 0x8E2A - GL_PRESENT_DURATION_NV 0x8E2B - void glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT* params) - void glGetVideoivNV (GLuint video_slot, GLenum pname, GLint* params) - void glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT* params) - void glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint* params) - void glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3) - void glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1) diff --git a/Externals/GLew/auto/core/GL_NV_tessellation_program5 b/Externals/GLew/auto/core/GL_NV_tessellation_program5 deleted file mode 100644 index b663c974dc..0000000000 --- a/Externals/GLew/auto/core/GL_NV_tessellation_program5 +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_tessellation_program5 -http://www.opengl.org/registry/specs/NV/tessellation_program5.txt -GL_NV_gpu_program5 - GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 - GL_TESS_CONTROL_PROGRAM_NV 0x891E - GL_TESS_EVALUATION_PROGRAM_NV 0x891F - GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 - GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 diff --git a/Externals/GLew/auto/core/GL_NV_transform_feedback b/Externals/GLew/auto/core/GL_NV_transform_feedback deleted file mode 100644 index fce47571e8..0000000000 --- a/Externals/GLew/auto/core/GL_NV_transform_feedback +++ /dev/null @@ -1,39 +0,0 @@ -GL_NV_transform_feedback -http://developer.download.nvidia.com/opengl/specs/GL_NV_transform_feedback.txt -GL_NV_transform_feedback - GL_BACK_PRIMARY_COLOR_NV 0x8C77 - GL_BACK_SECONDARY_COLOR_NV 0x8C78 - GL_TEXTURE_COORD_NV 0x8C79 - GL_CLIP_DISTANCE_NV 0x8C7A - GL_VERTEX_ID_NV 0x8C7B - GL_PRIMITIVE_ID_NV 0x8C7C - GL_GENERIC_ATTRIB_NV 0x8C7D - GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E - GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F - GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 - GL_ACTIVE_VARYINGS_NV 0x8C81 - GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 - GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 - GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 - GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 - GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 - GL_PRIMITIVES_GENERATED_NV 0x8C87 - GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 - GL_RASTERIZER_DISCARD_NV 0x8C89 - GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A - GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B - GL_INTERLEAVED_ATTRIBS_NV 0x8C8C - GL_SEPARATE_ATTRIBS_NV 0x8C8D - GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E - GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F - void glBeginTransformFeedbackNV (GLenum primitiveMode) - void glEndTransformFeedbackNV (void) - void glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode) - void glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) - void glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset) - void glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer) - void glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode) - void glActiveVaryingNV (GLuint program, const GLchar *name) - GLint glGetVaryingLocationNV (GLuint program, const GLchar *name) - void glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) - void glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location) diff --git a/Externals/GLew/auto/core/GL_NV_vertex_program2_option b/Externals/GLew/auto/core/GL_NV_vertex_program2_option deleted file mode 100644 index 1fecc4c040..0000000000 --- a/Externals/GLew/auto/core/GL_NV_vertex_program2_option +++ /dev/null @@ -1,5 +0,0 @@ -GL_NV_vertex_program2_option -http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_vertex_program2_option.txt -GL_NV_vertex_program2_option - GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 - GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 diff --git a/Externals/GLew/auto/core/GL_NV_vertex_program3 b/Externals/GLew/auto/core/GL_NV_vertex_program3 deleted file mode 100644 index 6510e0649c..0000000000 --- a/Externals/GLew/auto/core/GL_NV_vertex_program3 +++ /dev/null @@ -1,4 +0,0 @@ -GL_NV_vertex_program3 -http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_vertex_program3.txt -GL_NV_vertex_program3 - MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C diff --git a/Externals/GLew/auto/core/GL_NV_vertex_program4 b/Externals/GLew/auto/core/GL_NV_vertex_program4 deleted file mode 100644 index 7e61b3a95d..0000000000 --- a/Externals/GLew/auto/core/GL_NV_vertex_program4 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_vertex_program4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_vertex_program4.txt -GL_NV_gpu_program4 diff --git a/Externals/GLew/auto/core/GL_SGIX_shadow b/Externals/GLew/auto/core/GL_SGIX_shadow deleted file mode 100644 index 2b34cc83a9..0000000000 --- a/Externals/GLew/auto/core/GL_SGIX_shadow +++ /dev/null @@ -1,7 +0,0 @@ -GL_SGIX_shadow -http://oss.sgi.com/projects/ogl-sample/registry/SGIX/shadow.txt -GL_SGIX_shadow - GL_TEXTURE_COMPARE_SGIX 0x819A - GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B - GL_TEXTURE_LEQUAL_R_SGIX 0x819C - GL_TEXTURE_GEQUAL_R_SGIX 0x819D diff --git a/Externals/GLew/auto/core/GL_SUN_read_video_pixels b/Externals/GLew/auto/core/GL_SUN_read_video_pixels deleted file mode 100644 index faa55f972c..0000000000 --- a/Externals/GLew/auto/core/GL_SUN_read_video_pixels +++ /dev/null @@ -1,4 +0,0 @@ -GL_SUN_read_video_pixels -http://wwws.sun.com/software/graphics/opengl/extensions/gl_sun_read_video_pixels.txt -GL_SUN_read_video_pixels - void glReadVideoPixelsSUN (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) diff --git a/Externals/GLew/auto/core/GL_VERSION_1_2 b/Externals/GLew/auto/core/GL_VERSION_1_2 deleted file mode 100644 index fb5505427c..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_1_2 +++ /dev/null @@ -1,48 +0,0 @@ -GL_VERSION_1_2 -http://www.opengl.org/documentation/specs/version1.2/opengl1.2.1.pdf - - GL_UNSIGNED_BYTE_3_3_2 0x8032 - GL_UNSIGNED_SHORT_4_4_4_4 0x8033 - GL_UNSIGNED_SHORT_5_5_5_1 0x8034 - GL_UNSIGNED_INT_8_8_8_8 0x8035 - GL_UNSIGNED_INT_10_10_10_2 0x8036 - GL_RESCALE_NORMAL 0x803A - GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 - GL_UNSIGNED_SHORT_5_6_5 0x8363 - GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 - GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 - GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 - GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 - GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 - GL_BGR 0x80E0 - GL_BGRA 0x80E1 - GL_MAX_ELEMENTS_VERTICES 0x80E8 - GL_MAX_ELEMENTS_INDICES 0x80E9 - GL_CLAMP_TO_EDGE 0x812F - GL_TEXTURE_MIN_LOD 0x813A - GL_TEXTURE_MAX_LOD 0x813B - GL_TEXTURE_BASE_LEVEL 0x813C - GL_TEXTURE_MAX_LEVEL 0x813D - GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 - GL_SINGLE_COLOR 0x81F9 - GL_SEPARATE_SPECULAR_COLOR 0x81FA - GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 - GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 - GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 - GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 - GL_ALIASED_POINT_SIZE_RANGE 0x846D - GL_ALIASED_LINE_WIDTH_RANGE 0x846E - GL_PACK_SKIP_IMAGES 0x806B - GL_PACK_IMAGE_HEIGHT 0x806C - GL_UNPACK_SKIP_IMAGES 0x806D - GL_UNPACK_IMAGE_HEIGHT 0x806E - GL_TEXTURE_3D 0x806F - GL_PROXY_TEXTURE_3D 0x8070 - GL_TEXTURE_DEPTH 0x8071 - GL_TEXTURE_WRAP_R 0x8072 - GL_MAX_3D_TEXTURE_SIZE 0x8073 - GL_TEXTURE_BINDING_3D 0x806A - void glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) - void glTexImage3D (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) - void glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) - void glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) diff --git a/Externals/GLew/auto/core/GL_VERSION_1_3 b/Externals/GLew/auto/core/GL_VERSION_1_3 deleted file mode 100644 index 737ad7c0d3..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_1_3 +++ /dev/null @@ -1,146 +0,0 @@ -GL_VERSION_1_3 -http://www.opengl.org/documentation/specs/version1.3/glspec13.pdf - - GL_TEXTURE0 0x84C0 - GL_TEXTURE1 0x84C1 - GL_TEXTURE2 0x84C2 - GL_TEXTURE3 0x84C3 - GL_TEXTURE4 0x84C4 - GL_TEXTURE5 0x84C5 - GL_TEXTURE6 0x84C6 - GL_TEXTURE7 0x84C7 - GL_TEXTURE8 0x84C8 - GL_TEXTURE9 0x84C9 - GL_TEXTURE10 0x84CA - GL_TEXTURE11 0x84CB - GL_TEXTURE12 0x84CC - GL_TEXTURE13 0x84CD - GL_TEXTURE14 0x84CE - GL_TEXTURE15 0x84CF - GL_TEXTURE16 0x84D0 - GL_TEXTURE17 0x84D1 - GL_TEXTURE18 0x84D2 - GL_TEXTURE19 0x84D3 - GL_TEXTURE20 0x84D4 - GL_TEXTURE21 0x84D5 - GL_TEXTURE22 0x84D6 - GL_TEXTURE23 0x84D7 - GL_TEXTURE24 0x84D8 - GL_TEXTURE25 0x84D9 - GL_TEXTURE26 0x84DA - GL_TEXTURE27 0x84DB - GL_TEXTURE28 0x84DC - GL_TEXTURE29 0x84DD - GL_TEXTURE30 0x84DE - GL_TEXTURE31 0x84DF - GL_ACTIVE_TEXTURE 0x84E0 - GL_CLIENT_ACTIVE_TEXTURE 0x84E1 - GL_MAX_TEXTURE_UNITS 0x84E2 - GL_NORMAL_MAP 0x8511 - GL_REFLECTION_MAP 0x8512 - GL_TEXTURE_CUBE_MAP 0x8513 - GL_TEXTURE_BINDING_CUBE_MAP 0x8514 - GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 - GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 - GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 - GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A - GL_PROXY_TEXTURE_CUBE_MAP 0x851B - GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C - GL_COMPRESSED_ALPHA 0x84E9 - GL_COMPRESSED_LUMINANCE 0x84EA - GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB - GL_COMPRESSED_INTENSITY 0x84EC - GL_COMPRESSED_RGB 0x84ED - GL_COMPRESSED_RGBA 0x84EE - GL_TEXTURE_COMPRESSION_HINT 0x84EF - GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 - GL_TEXTURE_COMPRESSED 0x86A1 - GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 - GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 - GL_MULTISAMPLE 0x809D - GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E - GL_SAMPLE_ALPHA_TO_ONE 0x809F - GL_SAMPLE_COVERAGE 0x80A0 - GL_SAMPLE_BUFFERS 0x80A8 - GL_SAMPLES 0x80A9 - GL_SAMPLE_COVERAGE_VALUE 0x80AA - GL_SAMPLE_COVERAGE_INVERT 0x80AB - GL_MULTISAMPLE_BIT 0x20000000 - GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 - GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 - GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 - GL_TRANSPOSE_COLOR_MATRIX 0x84E6 - GL_COMBINE 0x8570 - GL_COMBINE_RGB 0x8571 - GL_COMBINE_ALPHA 0x8572 - GL_SOURCE0_RGB 0x8580 - GL_SOURCE1_RGB 0x8581 - GL_SOURCE2_RGB 0x8582 - GL_SOURCE0_ALPHA 0x8588 - GL_SOURCE1_ALPHA 0x8589 - GL_SOURCE2_ALPHA 0x858A - GL_OPERAND0_RGB 0x8590 - GL_OPERAND1_RGB 0x8591 - GL_OPERAND2_RGB 0x8592 - GL_OPERAND0_ALPHA 0x8598 - GL_OPERAND1_ALPHA 0x8599 - GL_OPERAND2_ALPHA 0x859A - GL_RGB_SCALE 0x8573 - GL_ADD_SIGNED 0x8574 - GL_INTERPOLATE 0x8575 - GL_SUBTRACT 0x84E7 - GL_CONSTANT 0x8576 - GL_PRIMARY_COLOR 0x8577 - GL_PREVIOUS 0x8578 - GL_DOT3_RGB 0x86AE - GL_DOT3_RGBA 0x86AF - GL_CLAMP_TO_BORDER 0x812D - - void glActiveTexture (GLenum texture) - void glClientActiveTexture (GLenum texture) - void glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) - void glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) - void glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) - void glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) - void glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) - void glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) - void glGetCompressedTexImage (GLenum target, GLint lod, GLvoid *img) - void glLoadTransposeMatrixd (const GLdouble m[16]) - void glLoadTransposeMatrixf (const GLfloat m[16]) - void glMultTransposeMatrixd (const GLdouble m[16]) - void glMultTransposeMatrixf (const GLfloat m[16]) - void glMultiTexCoord1d (GLenum target, GLdouble s) - void glMultiTexCoord1dv (GLenum target, const GLdouble *v) - void glMultiTexCoord1f (GLenum target, GLfloat s) - void glMultiTexCoord1fv (GLenum target, const GLfloat *v) - void glMultiTexCoord1i (GLenum target, GLint s) - void glMultiTexCoord1iv (GLenum target, const GLint *v) - void glMultiTexCoord1s (GLenum target, GLshort s) - void glMultiTexCoord1sv (GLenum target, const GLshort *v) - void glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t) - void glMultiTexCoord2dv (GLenum target, const GLdouble *v) - void glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t) - void glMultiTexCoord2fv (GLenum target, const GLfloat *v) - void glMultiTexCoord2i (GLenum target, GLint s, GLint t) - void glMultiTexCoord2iv (GLenum target, const GLint *v) - void glMultiTexCoord2s (GLenum target, GLshort s, GLshort t) - void glMultiTexCoord2sv (GLenum target, const GLshort *v) - void glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r) - void glMultiTexCoord3dv (GLenum target, const GLdouble *v) - void glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r) - void glMultiTexCoord3fv (GLenum target, const GLfloat *v) - void glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r) - void glMultiTexCoord3iv (GLenum target, const GLint *v) - void glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r) - void glMultiTexCoord3sv (GLenum target, const GLshort *v) - void glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) - void glMultiTexCoord4dv (GLenum target, const GLdouble *v) - void glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) - void glMultiTexCoord4fv (GLenum target, const GLfloat *v) - void glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q) - void glMultiTexCoord4iv (GLenum target, const GLint *v) - void glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) - void glMultiTexCoord4sv (GLenum target, const GLshort *v) - void glSampleCoverage (GLclampf value, GLboolean invert) diff --git a/Externals/GLew/auto/core/GL_VERSION_1_4 b/Externals/GLew/auto/core/GL_VERSION_1_4 deleted file mode 100644 index a48fc235b3..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_1_4 +++ /dev/null @@ -1,89 +0,0 @@ -GL_VERSION_1_4 -http://www.opengl.org/documentation/specs/version1.4/glspec14.pdf - - GL_GENERATE_MIPMAP 0x8191 - GL_GENERATE_MIPMAP_HINT 0x8192 - GL_DEPTH_COMPONENT16 0x81A5 - GL_DEPTH_COMPONENT24 0x81A6 - GL_DEPTH_COMPONENT32 0x81A7 - GL_TEXTURE_DEPTH_SIZE 0x884A - GL_DEPTH_TEXTURE_MODE 0x884B - GL_TEXTURE_COMPARE_MODE 0x884C - GL_TEXTURE_COMPARE_FUNC 0x884D - GL_COMPARE_R_TO_TEXTURE 0x884E - GL_FOG_COORDINATE_SOURCE 0x8450 - GL_FOG_COORDINATE 0x8451 - GL_FRAGMENT_DEPTH 0x8452 - GL_CURRENT_FOG_COORDINATE 0x8453 - GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 - GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 - GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 - GL_FOG_COORDINATE_ARRAY 0x8457 - GL_POINT_SIZE_MIN 0x8126 - GL_POINT_SIZE_MAX 0x8127 - GL_POINT_FADE_THRESHOLD_SIZE 0x8128 - GL_POINT_DISTANCE_ATTENUATION 0x8129 - GL_COLOR_SUM 0x8458 - GL_CURRENT_SECONDARY_COLOR 0x8459 - GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A - GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B - GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C - GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D - GL_SECONDARY_COLOR_ARRAY 0x845E - GL_BLEND_DST_RGB 0x80C8 - GL_BLEND_SRC_RGB 0x80C9 - GL_BLEND_DST_ALPHA 0x80CA - GL_BLEND_SRC_ALPHA 0x80CB - GL_INCR_WRAP 0x8507 - GL_DECR_WRAP 0x8508 - GL_TEXTURE_FILTER_CONTROL 0x8500 - GL_TEXTURE_LOD_BIAS 0x8501 - GL_MAX_TEXTURE_LOD_BIAS 0x84FD - GL_MIRRORED_REPEAT 0x8370 - void glBlendEquation (GLenum mode) - void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) - void glFogCoordf (GLfloat coord) - void glFogCoordfv (const GLfloat *coord) - void glFogCoordd (GLdouble coord) - void glFogCoorddv (const GLdouble *coord) - void glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer) - void glMultiDrawArrays (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) - void glMultiDrawElements (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount) - void glPointParameteri (GLenum pname, GLint param) - void glPointParameteriv (GLenum pname, const GLint *params) - void glPointParameterf (GLenum pname, GLfloat param) - void glPointParameterfv (GLenum pname, const GLfloat *params) - void glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue) - void glSecondaryColor3bv (const GLbyte *v) - void glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue) - void glSecondaryColor3dv (const GLdouble *v) - void glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue) - void glSecondaryColor3fv (const GLfloat *v) - void glSecondaryColor3i (GLint red, GLint green, GLint blue) - void glSecondaryColor3iv (const GLint *v) - void glSecondaryColor3s (GLshort red, GLshort green, GLshort blue) - void glSecondaryColor3sv (const GLshort *v) - void glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue) - void glSecondaryColor3ubv (const GLubyte *v) - void glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue) - void glSecondaryColor3uiv (const GLuint *v) - void glSecondaryColor3us (GLushort red, GLushort green, GLushort blue) - void glSecondaryColor3usv (const GLushort *v) - void glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) - void glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) - void glWindowPos2d (GLdouble x, GLdouble y) - void glWindowPos2f (GLfloat x, GLfloat y) - void glWindowPos2i (GLint x, GLint y) - void glWindowPos2s (GLshort x, GLshort y) - void glWindowPos2dv (const GLdouble *p) - void glWindowPos2fv (const GLfloat *p) - void glWindowPos2iv (const GLint *p) - void glWindowPos2sv (const GLshort *p) - void glWindowPos3d (GLdouble x, GLdouble y, GLdouble z) - void glWindowPos3f (GLfloat x, GLfloat y, GLfloat z) - void glWindowPos3i (GLint x, GLint y, GLint z) - void glWindowPos3s (GLshort x, GLshort y, GLshort z) - void glWindowPos3dv (const GLdouble *p) - void glWindowPos3fv (const GLfloat *p) - void glWindowPos3iv (const GLint *p) - void glWindowPos3sv (const GLshort *p) diff --git a/Externals/GLew/auto/core/GL_VERSION_1_5 b/Externals/GLew/auto/core/GL_VERSION_1_5 deleted file mode 100644 index d1ec8d4b27..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_1_5 +++ /dev/null @@ -1,74 +0,0 @@ -GL_VERSION_1_5 -http://www.opengl.org/documentation/specs/version1.5/glspec15.pdf - - GL_BUFFER_SIZE 0x8764 - GL_BUFFER_USAGE 0x8765 - GL_QUERY_COUNTER_BITS 0x8864 - GL_CURRENT_QUERY 0x8865 - GL_QUERY_RESULT 0x8866 - GL_QUERY_RESULT_AVAILABLE 0x8867 - GL_ARRAY_BUFFER 0x8892 - GL_ELEMENT_ARRAY_BUFFER 0x8893 - GL_ARRAY_BUFFER_BINDING 0x8894 - GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 - GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 - GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 - GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 - GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 - GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A - GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B - GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C - GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D - GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E - GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F - GL_READ_ONLY 0x88B8 - GL_WRITE_ONLY 0x88B9 - GL_READ_WRITE 0x88BA - GL_BUFFER_ACCESS 0x88BB - GL_BUFFER_MAPPED 0x88BC - GL_BUFFER_MAP_POINTER 0x88BD - GL_STREAM_DRAW 0x88E0 - GL_STREAM_READ 0x88E1 - GL_STREAM_COPY 0x88E2 - GL_STATIC_DRAW 0x88E4 - GL_STATIC_READ 0x88E5 - GL_STATIC_COPY 0x88E6 - GL_DYNAMIC_DRAW 0x88E8 - GL_DYNAMIC_READ 0x88E9 - GL_DYNAMIC_COPY 0x88EA - GL_SAMPLES_PASSED 0x8914 - GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE - GL_FOG_COORD GL_FOG_COORDINATE - GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE - GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE - GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE - GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER - GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY - GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING - GL_SRC0_RGB GL_SOURCE0_RGB - GL_SRC1_RGB GL_SOURCE1_RGB - GL_SRC2_RGB GL_SOURCE2_RGB - GL_SRC0_ALPHA GL_SOURCE0_ALPHA - GL_SRC1_ALPHA GL_SOURCE1_ALPHA - GL_SRC2_ALPHA GL_SOURCE2_ALPHA - void glGenQueries (GLsizei n, GLuint* ids) - void glDeleteQueries (GLsizei n, const GLuint* ids) - GLboolean glIsQuery (GLuint id) - void glBeginQuery (GLenum target, GLuint id) - void glEndQuery (GLenum target) - void glGetQueryiv (GLenum target, GLenum pname, GLint* params) - void glGetQueryObjectiv (GLuint id, GLenum pname, GLint* params) - void glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint* params) - void glBindBuffer (GLenum target, GLuint buffer) - void glDeleteBuffers (GLsizei n, const GLuint* buffers) - void glGenBuffers (GLsizei n, GLuint* buffers) - GLboolean glIsBuffer (GLuint buffer) - void glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage) - void glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data) - void glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid* data) - GLvoid* glMapBuffer (GLenum target, GLenum access) - GLboolean glUnmapBuffer (GLenum target) - void glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params) - void glGetBufferPointerv (GLenum target, GLenum pname, GLvoid** params) - typedef ptrdiff_t GLsizeiptr - typedef ptrdiff_t GLintptr diff --git a/Externals/GLew/auto/core/GL_VERSION_2_0 b/Externals/GLew/auto/core/GL_VERSION_2_0 deleted file mode 100644 index b1b5902565..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_2_0 +++ /dev/null @@ -1,181 +0,0 @@ -GL_VERSION_2_0 -http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf - - GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION - GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 - GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 - GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 - GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 - GL_CURRENT_VERTEX_ATTRIB 0x8626 - GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 - GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 - GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 - GL_STENCIL_BACK_FUNC 0x8800 - GL_STENCIL_BACK_FAIL 0x8801 - GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 - GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 - GL_MAX_DRAW_BUFFERS 0x8824 - GL_DRAW_BUFFER0 0x8825 - GL_DRAW_BUFFER1 0x8826 - GL_DRAW_BUFFER2 0x8827 - GL_DRAW_BUFFER3 0x8828 - GL_DRAW_BUFFER4 0x8829 - GL_DRAW_BUFFER5 0x882A - GL_DRAW_BUFFER6 0x882B - GL_DRAW_BUFFER7 0x882C - GL_DRAW_BUFFER8 0x882D - GL_DRAW_BUFFER9 0x882E - GL_DRAW_BUFFER10 0x882F - GL_DRAW_BUFFER11 0x8830 - GL_DRAW_BUFFER12 0x8831 - GL_DRAW_BUFFER13 0x8832 - GL_DRAW_BUFFER14 0x8833 - GL_DRAW_BUFFER15 0x8834 - GL_BLEND_EQUATION_ALPHA 0x883D - GL_POINT_SPRITE 0x8861 - GL_COORD_REPLACE 0x8862 - GL_MAX_VERTEX_ATTRIBS 0x8869 - GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A - GL_MAX_TEXTURE_COORDS 0x8871 - GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 - GL_FRAGMENT_SHADER 0x8B30 - GL_VERTEX_SHADER 0x8B31 - GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 - GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A - GL_MAX_VARYING_FLOATS 0x8B4B - GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C - GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D - GL_SHADER_TYPE 0x8B4F - GL_FLOAT_VEC2 0x8B50 - GL_FLOAT_VEC3 0x8B51 - GL_FLOAT_VEC4 0x8B52 - GL_INT_VEC2 0x8B53 - GL_INT_VEC3 0x8B54 - GL_INT_VEC4 0x8B55 - GL_BOOL 0x8B56 - GL_BOOL_VEC2 0x8B57 - GL_BOOL_VEC3 0x8B58 - GL_BOOL_VEC4 0x8B59 - GL_FLOAT_MAT2 0x8B5A - GL_FLOAT_MAT3 0x8B5B - GL_FLOAT_MAT4 0x8B5C - GL_SAMPLER_1D 0x8B5D - GL_SAMPLER_2D 0x8B5E - GL_SAMPLER_3D 0x8B5F - GL_SAMPLER_CUBE 0x8B60 - GL_SAMPLER_1D_SHADOW 0x8B61 - GL_SAMPLER_2D_SHADOW 0x8B62 - GL_DELETE_STATUS 0x8B80 - GL_COMPILE_STATUS 0x8B81 - GL_LINK_STATUS 0x8B82 - GL_VALIDATE_STATUS 0x8B83 - GL_INFO_LOG_LENGTH 0x8B84 - GL_ATTACHED_SHADERS 0x8B85 - GL_ACTIVE_UNIFORMS 0x8B86 - GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 - GL_SHADER_SOURCE_LENGTH 0x8B88 - GL_ACTIVE_ATTRIBUTES 0x8B89 - GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A - GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B - GL_SHADING_LANGUAGE_VERSION 0x8B8C - GL_CURRENT_PROGRAM 0x8B8D - GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 - GL_LOWER_LEFT 0x8CA1 - GL_UPPER_LEFT 0x8CA2 - GL_STENCIL_BACK_REF 0x8CA3 - GL_STENCIL_BACK_VALUE_MASK 0x8CA4 - GL_STENCIL_BACK_WRITEMASK 0x8CA5 - typedef char GLchar - void glBlendEquationSeparate (GLenum, GLenum) - void glDrawBuffers (GLsizei n, const GLenum* bufs) - void glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) - void glStencilFuncSeparate (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) - void glStencilMaskSeparate (GLenum, GLuint) - void glAttachShader (GLuint program, GLuint shader) - void glBindAttribLocation (GLuint program, GLuint index, const GLchar* name) - void glCompileShader (GLuint shader) - GLuint glCreateProgram (void) - GLuint glCreateShader (GLenum type) - void glDeleteProgram (GLuint program) - void glDeleteShader (GLuint shader) - void glDetachShader (GLuint program, GLuint shader) - void glDisableVertexAttribArray (GLuint) - void glEnableVertexAttribArray (GLuint) - void glGetActiveAttrib (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name) - void glGetActiveUniform (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name) - void glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders) - GLint glGetAttribLocation (GLuint program, const GLchar* name) - void glGetProgramiv (GLuint program, GLenum pname, GLint* param) - void glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog) - void glGetShaderiv (GLuint shader, GLenum pname, GLint* param) - void glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog) - void glShaderSource (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths) - GLint glGetUniformLocation (GLuint program, const GLchar* name) - void glGetUniformfv (GLuint program, GLint location, GLfloat* params) - void glGetUniformiv (GLuint program, GLint location, GLint* params) - void glGetVertexAttribdv (GLuint, GLenum, GLdouble*) - void glGetVertexAttribfv (GLuint, GLenum, GLfloat*) - void glGetVertexAttribiv (GLuint, GLenum, GLint*) - void glGetVertexAttribPointerv (GLuint, GLenum, GLvoid*) - GLboolean glIsProgram (GLuint program) - GLboolean glIsShader (GLuint shader) - void glLinkProgram (GLuint program) - void glGetShaderSource (GLint obj, GLsizei maxLength, GLsizei* length, GLchar* source) - void glUseProgram (GLuint program) - void glUniform1f (GLint location, GLfloat v0) - void glUniform1fv (GLint location, GLsizei count, const GLfloat* value) - void glUniform1i (GLint location, GLint v0) - void glUniform1iv (GLint location, GLsizei count, const GLint* value) - void glUniform2f (GLint location, GLfloat v0, GLfloat v1) - void glUniform2fv (GLint location, GLsizei count, const GLfloat* value) - void glUniform2i (GLint location, GLint v0, GLint v1) - void glUniform2iv (GLint location, GLsizei count, const GLint* value) - void glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) - void glUniform3fv (GLint location, GLsizei count, const GLfloat* value) - void glUniform3i (GLint location, GLint v0, GLint v1, GLint v2) - void glUniform3iv (GLint location, GLsizei count, const GLint* value) - void glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) - void glUniform4fv (GLint location, GLsizei count, const GLfloat* value) - void glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) - void glUniform4iv (GLint location, GLsizei count, const GLint* value) - void glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glValidateProgram (GLuint program) - void glVertexAttrib1d (GLuint index, GLdouble x) - void glVertexAttrib1dv (GLuint index, const GLdouble* v) - void glVertexAttrib1f (GLuint index, GLfloat x) - void glVertexAttrib1fv (GLuint index, const GLfloat* v) - void glVertexAttrib1s (GLuint index, GLshort x) - void glVertexAttrib1sv (GLuint index, const GLshort* v) - void glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y) - void glVertexAttrib2dv (GLuint index, const GLdouble* v) - void glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y) - void glVertexAttrib2fv (GLuint index, const GLfloat* v) - void glVertexAttrib2s (GLuint index, GLshort x, GLshort y) - void glVertexAttrib2sv (GLuint index, const GLshort* v) - void glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) - void glVertexAttrib3dv (GLuint index, const GLdouble* v) - void glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z) - void glVertexAttrib3fv (GLuint index, const GLfloat* v) - void glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z) - void glVertexAttrib3sv (GLuint index, const GLshort* v) - void glVertexAttrib4Nbv (GLuint index, const GLbyte* v) - void glVertexAttrib4Niv (GLuint index, const GLint* v) - void glVertexAttrib4Nsv (GLuint index, const GLshort* v) - void glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) - void glVertexAttrib4Nubv (GLuint index, const GLubyte* v) - void glVertexAttrib4Nuiv (GLuint index, const GLuint* v) - void glVertexAttrib4Nusv (GLuint index, const GLushort* v) - void glVertexAttrib4bv (GLuint index, const GLbyte* v) - void glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glVertexAttrib4dv (GLuint index, const GLdouble* v) - void glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glVertexAttrib4fv (GLuint index, const GLfloat* v) - void glVertexAttrib4iv (GLuint index, const GLint* v) - void glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) - void glVertexAttrib4sv (GLuint index, const GLshort* v) - void glVertexAttrib4ubv (GLuint index, const GLubyte* v) - void glVertexAttrib4uiv (GLuint index, const GLuint* v) - void glVertexAttrib4usv (GLuint index, const GLushort* v) - void glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer) diff --git a/Externals/GLew/auto/core/GL_VERSION_2_1 b/Externals/GLew/auto/core/GL_VERSION_2_1 deleted file mode 100644 index 51aa95b840..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_2_1 +++ /dev/null @@ -1,32 +0,0 @@ -GL_VERSION_2_1 -http://www.opengl.org/documentation/specs/version2.1/glspec21.pdf - - GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F - GL_PIXEL_PACK_BUFFER 0x88EB - GL_PIXEL_UNPACK_BUFFER 0x88EC - GL_PIXEL_PACK_BUFFER_BINDING 0x88ED - GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF - GL_FLOAT_MAT2x3 0x8B65 - GL_FLOAT_MAT2x4 0x8B66 - GL_FLOAT_MAT3x2 0x8B67 - GL_FLOAT_MAT3x4 0x8B68 - GL_FLOAT_MAT4x2 0x8B69 - GL_FLOAT_MAT4x3 0x8B6A - GL_SRGB 0x8C40 - GL_SRGB8 0x8C41 - GL_SRGB_ALPHA 0x8C42 - GL_SRGB8_ALPHA8 0x8C43 - GL_SLUMINANCE_ALPHA 0x8C44 - GL_SLUMINANCE8_ALPHA8 0x8C45 - GL_SLUMINANCE 0x8C46 - GL_SLUMINANCE8 0x8C47 - GL_COMPRESSED_SRGB 0x8C48 - GL_COMPRESSED_SRGB_ALPHA 0x8C49 - GL_COMPRESSED_SLUMINANCE 0x8C4A - GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B - void glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) - void glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) - void glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) - void glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) - void glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) - void glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) diff --git a/Externals/GLew/auto/core/GL_VERSION_3_0 b/Externals/GLew/auto/core/GL_VERSION_3_0 deleted file mode 100644 index 1a362f0b59..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_3_0 +++ /dev/null @@ -1,166 +0,0 @@ -GL_VERSION_3_0 -http://www.opengl.org/registry/doc/glspec30.20080811.pdf - - GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB - GL_CLIP_DISTANCE0 GL_CLIP_PLANE0 - GL_CLIP_DISTANCE1 GL_CLIP_PLANE1 - GL_CLIP_DISTANCE2 GL_CLIP_PLANE2 - GL_CLIP_DISTANCE3 GL_CLIP_PLANE3 - GL_CLIP_DISTANCE4 GL_CLIP_PLANE4 - GL_CLIP_DISTANCE5 GL_CLIP_PLANE5 - GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES - GL_MAJOR_VERSION 0x821B - GL_MINOR_VERSION 0x821C - GL_NUM_EXTENSIONS 0x821D - GL_CONTEXT_FLAGS 0x821E - GL_DEPTH_BUFFER 0x8223 - GL_STENCIL_BUFFER 0x8224 - GL_COMPRESSED_RED 0x8225 - GL_COMPRESSED_RG 0x8226 - GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001 - GL_RGBA32F 0x8814 - GL_RGB32F 0x8815 - GL_RGBA16F 0x881A - GL_RGB16F 0x881B - GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD - GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF - GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 - GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 - GL_CLAMP_VERTEX_COLOR 0x891A - GL_CLAMP_FRAGMENT_COLOR 0x891B - GL_CLAMP_READ_COLOR 0x891C - GL_FIXED_ONLY 0x891D - GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS - GL_TEXTURE_RED_TYPE 0x8C10 - GL_TEXTURE_GREEN_TYPE 0x8C11 - GL_TEXTURE_BLUE_TYPE 0x8C12 - GL_TEXTURE_ALPHA_TYPE 0x8C13 - GL_TEXTURE_LUMINANCE_TYPE 0x8C14 - GL_TEXTURE_INTENSITY_TYPE 0x8C15 - GL_TEXTURE_DEPTH_TYPE 0x8C16 - GL_UNSIGNED_NORMALIZED 0x8C17 - GL_TEXTURE_1D_ARRAY 0x8C18 - GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 - GL_TEXTURE_2D_ARRAY 0x8C1A - GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B - GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C - GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D - GL_R11F_G11F_B10F 0x8C3A - GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B - GL_RGB9_E5 0x8C3D - GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E - GL_TEXTURE_SHARED_SIZE 0x8C3F - GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 - GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F - GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 - GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 - GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 - GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 - GL_PRIMITIVES_GENERATED 0x8C87 - GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 - GL_RASTERIZER_DISCARD 0x8C89 - GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A - GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B - GL_INTERLEAVED_ATTRIBS 0x8C8C - GL_SEPARATE_ATTRIBS 0x8C8D - GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E - GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F - GL_RGBA32UI 0x8D70 - GL_RGB32UI 0x8D71 - GL_RGBA16UI 0x8D76 - GL_RGB16UI 0x8D77 - GL_RGBA8UI 0x8D7C - GL_RGB8UI 0x8D7D - GL_RGBA32I 0x8D82 - GL_RGB32I 0x8D83 - GL_RGBA16I 0x8D88 - GL_RGB16I 0x8D89 - GL_RGBA8I 0x8D8E - GL_RGB8I 0x8D8F - GL_RED_INTEGER 0x8D94 - GL_GREEN_INTEGER 0x8D95 - GL_BLUE_INTEGER 0x8D96 - GL_ALPHA_INTEGER 0x8D97 - GL_RGB_INTEGER 0x8D98 - GL_RGBA_INTEGER 0x8D99 - GL_BGR_INTEGER 0x8D9A - GL_BGRA_INTEGER 0x8D9B - GL_SAMPLER_1D_ARRAY 0x8DC0 - GL_SAMPLER_2D_ARRAY 0x8DC1 - GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 - GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 - GL_SAMPLER_CUBE_SHADOW 0x8DC5 - GL_UNSIGNED_INT_VEC2 0x8DC6 - GL_UNSIGNED_INT_VEC3 0x8DC7 - GL_UNSIGNED_INT_VEC4 0x8DC8 - GL_INT_SAMPLER_1D 0x8DC9 - GL_INT_SAMPLER_2D 0x8DCA - GL_INT_SAMPLER_3D 0x8DCB - GL_INT_SAMPLER_CUBE 0x8DCC - GL_INT_SAMPLER_1D_ARRAY 0x8DCE - GL_INT_SAMPLER_2D_ARRAY 0x8DCF - GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 - GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 - GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 - GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 - GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 - GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 - GL_QUERY_WAIT 0x8E13 - GL_QUERY_NO_WAIT 0x8E14 - GL_QUERY_BY_REGION_WAIT 0x8E15 - GL_QUERY_BY_REGION_NO_WAIT 0x8E16 - void glColorMaski (GLuint, GLboolean, GLboolean, GLboolean, GLboolean) - void glGetBooleani_v (GLenum, GLuint, GLboolean*) - void glEnablei (GLenum, GLuint) - void glDisablei (GLenum, GLuint) - GLboolean glIsEnabledi (GLenum, GLuint) - void glBeginTransformFeedback (GLenum) - void glEndTransformFeedback (void) - void glTransformFeedbackVaryings (GLuint, GLsizei, const GLchar **, GLenum) - void glGetTransformFeedbackVarying (GLuint, GLuint, GLint*) - void glClampColor (GLenum, GLenum) - void glBeginConditionalRender (GLuint, GLenum) - void glEndConditionalRender (void) - void glVertexAttribI1i (GLuint, GLint) - void glVertexAttribI2i (GLuint, GLint, GLint) - void glVertexAttribI3i (GLuint, GLint, GLint, GLint) - void glVertexAttribI4i (GLuint, GLint, GLint, GLint, GLint) - void glVertexAttribI1ui (GLuint, GLuint) - void glVertexAttribI2ui (GLuint, GLuint, GLuint) - void glVertexAttribI3ui (GLuint, GLuint, GLuint, GLuint) - void glVertexAttribI4ui (GLuint, GLuint, GLuint, GLuint, GLuint) - void glVertexAttribI1iv (GLuint, const GLint*) - void glVertexAttribI2iv (GLuint, const GLint*) - void glVertexAttribI3iv (GLuint, const GLint*) - void glVertexAttribI4iv (GLuint, const GLint*) - void glVertexAttribI1uiv (GLuint, const GLuint*) - void glVertexAttribI2uiv (GLuint, const GLuint*) - void glVertexAttribI3uiv (GLuint, const GLuint*) - void glVertexAttribI4uiv (GLuint, const GLuint*) - void glVertexAttribI4bv (GLuint, const GLbyte*) - void glVertexAttribI4sv (GLuint, const GLshort*) - void glVertexAttribI4ubv (GLuint, const GLubyte*) - void glVertexAttribI4usv (GLuint, const GLushort*) - void glVertexAttribIPointer (GLuint, GLint, GLenum, GLsizei, const GLvoid*) - void glGetVertexAttribIiv (GLuint, GLenum, GLint*) - void glGetVertexAttribIuiv (GLuint, GLenum, GLuint*) - void glGetUniformuiv (GLuint, GLint, GLuint*) - void glBindFragDataLocation (GLuint, GLuint, const GLchar*) - GLint glGetFragDataLocation (GLuint, const GLchar*) - void glUniform1ui (GLint, GLuint) - void glUniform2ui (GLint, GLuint, GLuint) - void glUniform3ui (GLint, GLuint, GLuint, GLuint) - void glUniform4ui (GLint, GLuint, GLuint, GLuint, GLuint) - void glUniform1uiv (GLint, GLsizei, const GLuint*) - void glUniform2uiv (GLint, GLsizei, const GLuint*) - void glUniform3uiv (GLint, GLsizei, const GLuint*) - void glUniform4uiv (GLint, GLsizei, const GLuint*) - void glTexParameterIiv (GLenum, GLenum, const GLint*) - void glTexParameterIuiv (GLenum, GLenum, const GLuint*) - void glGetTexParameterIiv (GLenum, GLenum, GLint*) - void glGetTexParameterIuiv (GLenum, GLenum, GLuint*) - void glClearBufferiv (GLenum, GLint, const GLint*) - void glClearBufferuiv (GLenum, GLint, const GLuint*) - void glClearBufferfv (GLenum, GLint, const GLfloat*) - void glClearBufferfi (GLenum, GLint, GLfloat, GLint) - const GLubyte* glGetStringi (GLenum, GLuint) diff --git a/Externals/GLew/auto/core/GL_VERSION_3_1 b/Externals/GLew/auto/core/GL_VERSION_3_1 deleted file mode 100644 index 3e387a3c9c..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_3_1 +++ /dev/null @@ -1,41 +0,0 @@ -GL_VERSION_3_1 -http://www.opengl.org/registry/doc/glspec30.20080811.pdf - - GL_SAMPLER_2D_RECT 0x8B63 - GL_SAMPLER_2D_RECT_SHADOW 0x8B64 - GL_SAMPLER_BUFFER 0x8DC2 - GL_INT_SAMPLER_2D_RECT 0x8DCD - GL_INT_SAMPLER_BUFFER 0x8DD0 - GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 - GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 - GL_TEXTURE_BUFFER 0x8C2A - GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B - GL_TEXTURE_BINDING_BUFFER 0x8C2C - GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D - GL_TEXTURE_BUFFER_FORMAT 0x8C2E - GL_TEXTURE_RECTANGLE 0x84F5 - GL_TEXTURE_BINDING_RECTANGLE 0x84F6 - GL_PROXY_TEXTURE_RECTANGLE 0x84F7 - GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 - GL_RED_SNORM 0x8F90 - GL_RG_SNORM 0x8F91 - GL_RGB_SNORM 0x8F92 - GL_RGBA_SNORM 0x8F93 - GL_R8_SNORM 0x8F94 - GL_RG8_SNORM 0x8F95 - GL_RGB8_SNORM 0x8F96 - GL_RGBA8_SNORM 0x8F97 - GL_R16_SNORM 0x8F98 - GL_RG16_SNORM 0x8F99 - GL_RGB16_SNORM 0x8F9A - GL_RGBA16_SNORM 0x8F9B - GL_SIGNED_NORMALIZED 0x8F9C - GL_PRIMITIVE_RESTART 0x8F9D - GL_PRIMITIVE_RESTART_INDEX 0x8F9E - GL_BUFFER_ACCESS_FLAGS 0x911F - GL_BUFFER_MAP_LENGTH 0x9120 - GL_BUFFER_MAP_OFFSET 0x9121 - void glDrawArraysInstanced (GLenum, GLint, GLsizei, GLsizei) - void glDrawElementsInstanced (GLenum, GLsizei, GLenum, const GLvoid*, GLsizei) - void glTexBuffer (GLenum, GLenum, GLuint) - void glPrimitiveRestartIndex (GLuint) diff --git a/Externals/GLew/auto/core/GL_VERSION_3_2 b/Externals/GLew/auto/core/GL_VERSION_3_2 deleted file mode 100644 index 81ba55dcc2..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_3_2 +++ /dev/null @@ -1,28 +0,0 @@ -GL_VERSION_3_2 -http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf - - GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 - GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 - GL_LINES_ADJACENCY 0x000A - GL_LINE_STRIP_ADJACENCY 0x000B - GL_TRIANGLES_ADJACENCY 0x000C - GL_TRIANGLE_STRIP_ADJACENCY 0x000D - GL_PROGRAM_POINT_SIZE 0x8642 - GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 - GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 - GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 - GL_GEOMETRY_SHADER 0x8DD9 - GL_GEOMETRY_VERTICES_OUT 0x8916 - GL_GEOMETRY_INPUT_TYPE 0x8917 - GL_GEOMETRY_OUTPUT_TYPE 0x8918 - GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF - GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 - GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 - GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 - GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 - GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 - GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 - GL_CONTEXT_PROFILE_MASK 0x9126 - void glGetInteger64i_v (GLenum, GLuint, GLint64 *) - void glGetBufferParameteri64v (GLenum, GLenum, GLint64 *) - void glFramebufferTexture (GLenum, GLenum, GLuint, GLint) diff --git a/Externals/GLew/auto/core/GL_VERSION_3_3 b/Externals/GLew/auto/core/GL_VERSION_3_3 deleted file mode 100644 index 799f5303e1..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_3_3 +++ /dev/null @@ -1,11 +0,0 @@ -GL_VERSION_3_3 -http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf - - GL_TEXTURE_SWIZZLE_R 0x8E42 - GL_TEXTURE_SWIZZLE_G 0x8E43 - GL_TEXTURE_SWIZZLE_B 0x8E44 - GL_TEXTURE_SWIZZLE_A 0x8E45 - GL_TEXTURE_SWIZZLE_RGBA 0x8E46 - GL_RGB10_A2UI 0x906F - GL_ANY_SAMPLES_PASSED 0x8C2F - GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE diff --git a/Externals/GLew/auto/core/GL_VERSION_4_0 b/Externals/GLew/auto/core/GL_VERSION_4_0 deleted file mode 100644 index 9a118c9059..0000000000 --- a/Externals/GLew/auto/core/GL_VERSION_4_0 +++ /dev/null @@ -1,25 +0,0 @@ -GL_VERSION_4_0 -http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf - - GL_SAMPLE_SHADING 0x8C36 - GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 - GL_GEOMETRY_SHADER_INVOCATIONS 0x887F - GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A - GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B - GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C - GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D - GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E - GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F - GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS 0x8F9F - GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 - GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A - GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B - GL_SAMPLER_CUBE_MAP_ARRAY 0x900C - GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D - GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E - GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F - void glMinSampleShading (GLclampf value) - void glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha) - void glBlendEquationi (GLuint buf, GLenum mode) - void glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) - void glBlendFunci (GLuint buf, GLenum src, GLenum dst) diff --git a/Externals/GLew/auto/core/GL_WIN_swap_hint b/Externals/GLew/auto/core/GL_WIN_swap_hint deleted file mode 100644 index 6916189eb2..0000000000 --- a/Externals/GLew/auto/core/GL_WIN_swap_hint +++ /dev/null @@ -1,4 +0,0 @@ -GL_WIN_swap_hint -http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/glfunc01_16zy.asp -GL_WIN_swap_hint - void glAddSwapHintRectWIN (GLint x, GLint y, GLsizei width, GLsizei height) diff --git a/Externals/GLew/auto/core/WGL_ATI_render_texture_rectangle b/Externals/GLew/auto/core/WGL_ATI_render_texture_rectangle deleted file mode 100644 index 55df114d31..0000000000 --- a/Externals/GLew/auto/core/WGL_ATI_render_texture_rectangle +++ /dev/null @@ -1,4 +0,0 @@ -WGL_ATI_render_texture_rectangle - -WGL_ATI_render_texture_rectangle - WGL_TEXTURE_RECTANGLE_ATI 0x21A5 diff --git a/Externals/GLew/auto/core/WGL_EXT_framebuffer_sRGB b/Externals/GLew/auto/core/WGL_EXT_framebuffer_sRGB deleted file mode 100644 index e4a40322fd..0000000000 --- a/Externals/GLew/auto/core/WGL_EXT_framebuffer_sRGB +++ /dev/null @@ -1,4 +0,0 @@ -WGL_EXT_framebuffer_sRGB -http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt -WGL_EXT_framebuffer_sRGB - WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 diff --git a/Externals/GLew/auto/core/WGL_EXT_pixel_format_packed_float b/Externals/GLew/auto/core/WGL_EXT_pixel_format_packed_float deleted file mode 100644 index 30925fc5da..0000000000 --- a/Externals/GLew/auto/core/WGL_EXT_pixel_format_packed_float +++ /dev/null @@ -1,4 +0,0 @@ -WGL_EXT_pixel_format_packed_float -http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt -WGL_EXT_pixel_format_packed_float - WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 diff --git a/Externals/GLew/auto/core/WGL_NV_gpu_affinity b/Externals/GLew/auto/core/WGL_NV_gpu_affinity deleted file mode 100644 index f722204cd7..0000000000 --- a/Externals/GLew/auto/core/WGL_NV_gpu_affinity +++ /dev/null @@ -1,12 +0,0 @@ -WGL_NV_gpu_affinity -http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt -WGL_NV_gpu_affinity - WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 - WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 - BOOL wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu) - BOOL wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice) - HDC wglCreateAffinityDCNV (const HGPUNV *phGpuList) - BOOL wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu) - BOOL wglDeleteDCNV (HDC hdc) - DECLARE_HANDLE(HGPUNV); - typedef struct _GPU_DEVICE { DWORD cb; CHAR DeviceName[32]; CHAR DeviceString[128]; DWORD Flags; RECT rcVirtualScreen; } GPU_DEVICE, *PGPU_DEVICE; diff --git a/Externals/GLew/auto/core/WGL_NV_vertex_array_range b/Externals/GLew/auto/core/WGL_NV_vertex_array_range deleted file mode 100644 index ca22d31a3e..0000000000 --- a/Externals/GLew/auto/core/WGL_NV_vertex_array_range +++ /dev/null @@ -1,5 +0,0 @@ -WGL_NV_vertex_array_range -http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt -WGL_NV_vertex_array_range - void * wglAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) - void wglFreeMemoryNV (void *pointer) diff --git a/Externals/GLew/auto/custom.txt b/Externals/GLew/auto/custom.txt deleted file mode 100644 index b797b95887..0000000000 --- a/Externals/GLew/auto/custom.txt +++ /dev/null @@ -1,7 +0,0 @@ -WGL_ARB_extensions_string -WGL_EXT_extensions_string -WGL_ARB_pixel_format -WGL_ARB_pbuffer -WGL_NV_float_buffer -WGL_ATI_pixel_format_float -WGL_ARB_multisample diff --git a/Externals/GLew/auto/doc/advanced.html b/Externals/GLew/auto/doc/advanced.html deleted file mode 100644 index 45a3ada7c3..0000000000 --- a/Externals/GLew/auto/doc/advanced.html +++ /dev/null @@ -1,176 +0,0 @@ -

Automatic Code Generation

- -

-Starting from release 1.1.0, the source code and parts of the -documentation are automatically generated from the extension -specifications in a two-step process. In the first step, -specification files from the OpenGL registry are downloaded and -parsed. Skeleton descriptors are created for each extension. These -descriptors contain all necessary information for creating the source -code and documentation in a simple and compact format, including the -name of the extension, url link to the specification, tokens, function -declarations, typedefs and struct definitions. In the second step, -the header files as well as the library and glewinfo source are -generated from the descriptor files. The code generation scripts are -located in the auto subdirectory. -

- -

-The code generation scripts require GNU make, wget, and perl. On -Windows, the simplest way to get access to these tools is to install -Cygwin, but make sure that the -root directory is mounted in binary mode. The makefile in the -auto directory provides the following build targets: -

- -
- - - - - - - - - - - - - - - - -
make    Create the source files from the descriptors. If the -descriptors do not exist, create them from the spec files. If the spec -files do not exist, download them from the OpenGL repository.
make clean    Delete the source files.
make clobber    Delete the source files and the descriptors.
make destroy    Delete the source files, the descriptors, and the spec files.
make custom    Create the source files for the extensions -listed in auto/custom.txt. See "Custom Code -Generation" below for more details.
-
- -

Adding a New Extension

- -

-To add a new extension, create a descriptor file for the extension in -auto/core and rerun the code generation scripts by typing -make clean; make in the auto directory. -

- -

-The format of the descriptor file is given below. Items in -brackets are optional. -

- -

-<Extension Name>
-[<URL of Specification File>]
-    [<Token Name> <Token Value>]
-    [<Token Name> <Token Value>]
-    ...
-    [<Typedef>]
-    [<Typedef>]
-    ...
-    [<Function Signature>]
-    [<Function Signature>]
-    ...
- -

- - - -

-Take a look at one of the files in auto/core for an -example. Note that typedefs and function signatures should not be -terminated with a semicolon. -

- -

Custom Code Generation

-

-Starting from GLEW 1.3.0, it is possible to control which extensions -to include in the libarary by specifying a list in -auto/custom.txt. This is useful when you do not need all the -extensions and would like to reduce the size of the source files. -Type make clean; make custom in the auto directory -to rerun the scripts with the custom list of extensions. -

- -

-For example, the following is the list of extensions needed to get GLEW and the -utilities to compile. -

- -

-WGL_ARB_extensions_string
-WGL_ARB_multisample
-WGL_ARB_pixel_format
-WGL_ARB_pbuffer
-WGL_EXT_extensions_string
-WGL_ATI_pixel_format_float
-WGL_NV_float_buffer
-

- -

Multiple Rendering Contexts (GLEW MX)

- -

Starting with release 1.2.0, thread-safe support for multiple -rendering contexts, possibly with different capabilities, is -available. Since this is not required by most users, it is not added -to the binary releases to maintain compatibility between different -versions. To include multi-context support, you have to do the -following:

-
    -
  1. Compile and use GLEW with the GLEW_MX preprocessor token -defined.
  2. -
  3. For each rendering context, create a GLEWContext object -that will be available as long as the rendering context exists.
  4. -
  5. Define a macro or function called glewGetContext() that -returns a pointer to the GLEWContext object associated with -the rendering context from which OpenGL/WGL/GLX calls are issued. This -dispatch mechanism is primitive, but generic. -
  6. Make sure that you call glewInit() after creating the -GLEWContext object in each rendering context. Note, that the -GLEWContext pointer returned by glewGetContext() has -to reside in global or thread-local memory. -
- -

Note that according to the MSDN -WGL documentation, you have to initialize the entry points for -every rendering context that use pixel formats with different -capabilities For example, the pixel formats provided by the generic -software OpenGL implementation by Microsoft vs. the hardware -accelerated pixel formats have different capabilities. GLEW by -default ignores this requirement, and does not define per-context -entry points (you can however do this using the steps described -above). Assuming a global namespace for the entry points works in -most situations, because typically all hardware accelerated pixel -formats provide the same entry points and capabilities. This means -that unless you use the multi-context version of GLEW, you need to -call glewInit() only once in your program, or more precisely, -once per process.

- -

Separate Namespace

- -

-To avoid name clashes when linking with libraries that include the -same symbols, extension entry points are declared in a separate -namespace (release 1.1.0 and up). This is achieved by aliasing OpenGL -function names to their GLEW equivalents. For instance, -glFancyFunction is simply an alias to -glewFancyFunction. The separate namespace does not effect -token and function pointer definitions. -

- -

Known Issues

- -

-GLEW requires GLX 1.2 for compatibility with GLUT. -

- diff --git a/Externals/GLew/auto/doc/basic.html b/Externals/GLew/auto/doc/basic.html deleted file mode 100644 index 693575ba5a..0000000000 --- a/Externals/GLew/auto/doc/basic.html +++ /dev/null @@ -1,180 +0,0 @@ -

Initializing GLEW

-

-First you need to create a valid OpenGL rendering context and call -glewInit() to initialize the extension entry points. If -glewInit() returns GLEW_OK, the initialization -succeeded and you can use the available extensions as well as core -OpenGL functionality. For example: -

- -

-#include <GL/glew.h>
-#include <GL/glut.h>
-...
-glutInit(&argc, argv);
-glutCreateWindow("GLEW Test");
-GLenum err = glewInit();
-if (GLEW_OK != err)
-{
-  /* Problem: glewInit failed, something is seriously wrong. */
-  fprintf(stderr, "Error: %s\n", glewGetErrorString(err));
-  ...
-}
-fprintf(stdout, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
-

- -

Checking for Extensions

- -

-Starting from GLEW 1.1.0, you can find out if a particular extension -is available on your platform by querying globally defined variables -of the form GLEW_{extension_name}: -

- -

-if (GLEW_ARB_vertex_program)
-{
-  /* It is safe to use the ARB_vertex_program extension here. */
-  glGenProgramsARB(...);
-}
-

- -

-In GLEW 1.0.x, a global structure was used for this task. To ensure -binary compatibility between releases, the struct was replaced with a -set of variables. -

- -

-You can also check for core OpenGL functionality. For example, to -see if OpenGL 1.3 is supported, do the following: -

- -

-if (GLEW_VERSION_1_3)
-{
-  /* Yay! OpenGL 1.3 is supported! */
-}
-

- -

-In general, you can check if GLEW_{extension_name} or -GLEW_VERSION_{version} is true or false. -

- -

-It is also possible to perform extension checks from string -input. Starting from the 1.3.0 release, use glewIsSupported -to check if the required core or extension functionality is -available: -

- -

-if (glewIsSupported("GL_VERSION_1_4  GL_ARB_point_sprite"))
-{
-  /* Great, we have OpenGL 1.4 + point sprites. */
-}
-

- -

-For extensions only, glewGetExtension provides a slower alternative -(GLEW 1.0.x-1.2.x). Note that in the 1.3.0 release -glewGetExtension was replaced with -glewIsSupported. -

- -

-if (glewGetExtension("GL_ARB_fragment_program"))
-{
-  /* Looks like ARB_fragment_program is supported. */
-}
-

- -

Experimental Drivers

- -

-GLEW obtains information on the supported extensions from the graphics -driver. Experimental or pre-release drivers, however, might not -report every available extension through the standard mechanism, in -which case GLEW will report it unsupported. To circumvent this -situation, the glewExperimental global switch can be turned -on by setting it to GL_TRUE before calling -glewInit(), which ensures that all extensions with valid -entry points will be exposed. -

- -

Platform Specific Extensions

- -

-Platform specific extensions are separated into two header files: -wglew.h and glxew.h, which define the available -WGL and GLX extensions. To determine if a certain -extension is supported, query WGLEW_{extension name} or -GLXEW_{extension_name}. For example: -

- -

-#include <GL/wglew.h>
-
-if (WGLEW_ARB_pbuffer)
-{
-  /* OK, we can use pbuffers. */
-}
-else
-{
-  /* Sorry, pbuffers will not work on this platform. */
-}
-

- -

-Alternatively, use wglewIsSupported or -glxewIsSupported to check for extensions from a string: -

- -

-if (wglewIsSupported("WGL_ARB_pbuffer"))
-{
-  /* OK, we can use pbuffers. */
-}
-

- -

Utilities

- -

-GLEW provides two command-line utilities: one for creating a list of -available extensions and visuals; and another for verifying extension -entry points. -

- -

visualinfo: extensions and visuals

- -

-visualinfo is an extended version of glxinfo. The -Windows version creates a file called visualinfo.txt, which -contains a list of available OpenGL, WGL, and GLU extensions as well -as a table of visuals aka. pixel formats. Pbuffer and MRT capable -visuals are also included. For additional usage information, type -visualinfo -h. -

- -

glewinfo: extension verification utility

- -

-glewinfo allows you to verify the entry points for the -extensions supported on your platform. The Windows version -reports the results to a text file called glewinfo.txt. The -Unix version prints the results to stdout. -

- -

Windows usage:

-
glewinfo [-pf <id>]
- -

where <id> is the pixel format id for which the -capabilities are displayed.

- -

Unix usage:

-
glewinfo [-display <dpy>] [-visual <id>]
- -

where <dpy> is the X11 display and <id> is -the visual id for which the capabilities are displayed.

- diff --git a/Externals/GLew/auto/doc/credits.html b/Externals/GLew/auto/doc/credits.html deleted file mode 100644 index 7f1b8d9a87..0000000000 --- a/Externals/GLew/auto/doc/credits.html +++ /dev/null @@ -1,25 +0,0 @@ -

Credits

- -

-GLEW was developed by Milan -Ikits and Marcelo -Magallon. They also perform occasional maintainance to make sure -that GLEW stays in mint condition. Aaron Lefohn, Joe Kniss, and Chris -Wyman were the first users and also assisted with the design and -debugging process. The acronym GLEW originates from Aaron Lefohn. -Pasi Kärkkäinen identified and fixed several problems with -GLX and SDL. Nate Robins created the wglinfo utility, to -which modifications were made by Michael Wimmer. -

- -

Copyright

- -

-GLEW is originally derived from the EXTGL project by Lev Povalahev. -The source code is licensed under the Modified BSD -License, the Mesa 3-D License (MIT -License), and the Khronos License (MIT -License). The automatic code generation scripts are released under -the GNU GPL. -

diff --git a/Externals/GLew/auto/doc/index.html b/Externals/GLew/auto/doc/index.html deleted file mode 100644 index 246d2353ca..0000000000 --- a/Externals/GLew/auto/doc/index.html +++ /dev/null @@ -1,100 +0,0 @@ -

-The OpenGL Extension Wrangler Library (GLEW) is a cross-platform -open-source C/C++ extension loading library. GLEW provides efficient -run-time mechanisms for determining which OpenGL extensions are -supported on the target platform. OpenGL core and extension -functionality is exposed in a single header file. GLEW has been -tested on a variety of operating systems, including Windows, Linux, -Mac OS X, FreeBSD, Irix, and Solaris. -

- -

Download Center

-

-GLEW is distributed -as source and precompiled binaries. The latest release is -1.5.4 -[04-21-10]: -

-

-

-

- - - -
- - - - - - - - - - - - - - - -
Source -ZIP |  -TGZ
Binaries -Windows 32-bit |  -64-bit  -
-
-

-

-An up-to-date copy is also available from the project -repository: -

-

-svn co https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew glew -

- -

Supported Extensions

-

-The latest release contains support for OpenGL 3.3, OpenGL 4.0 and the following extensions: -

- - -

News

-
    -
  • [04-21-10] GLEW 1.5.4 adds support for OpenGL 3.3, OpenGL 4.0 and new extensions, fixes bugs
  • -
  • [02-28-10] GLEW 1.5.3 fixes minor bugs and adds three new extensions
  • -
  • [12-31-09] GLEW 1.5.2 adds support for OpenGL 3.1, OpenGL 3.2 and new extensions
  • -
  • [11-03-08] GLEW 1.5.1 adds support for OpenGL 3.0 and 31 new extensions
  • -
  • [12-27-07] GLEW 1.5.0 is released under less restrictive licenses
  • -
  • [04-27-07] GLEW 1.4.0 is released
  • -
  • [03-08-07] GLEW is included in the NVIDIA OpenGL SDK
  • -
  • [03-04-07] GLEW 1.3.6 is released
  • -
  • [02-28-07] Repository is migrated to SVN
  • -
  • [02-25-07] GLEW is included in the OpenGL SDK
  • -
  • [11-21-06] GLEW 1.3.5 adds OpenGL 2.1 and NVIDIA G80 extensions
  • -
  • [03-04-06] GLEW 1.3.4 adds support for five new extensions
  • -
  • [05-16-05] GLEW 1.3.3 is released
  • -
  • [03-16-05] GLEW 1.3.2 adds support for GL_APPLE_pixel_buffer
  • -
  • [02-11-05] gljava and sdljava provide a Java binding to OpenGL via GLEW
  • -
  • [02-02-05] GLEW 1.3.1 adds support for GL_EXT_framebuffer_object
  • -
  • [01-04-05] GLEW 1.3.0 adds core OpenGL 2.0 support plus many enhancements
  • -
  • [12-22-04] GLEWpy Python wrapper announced
  • -
  • [12-12-04] Mailing lists created on sourceforge
  • -
  • [12-06-04] GLEW 1.2.5 adds new extensions and support for FreeBSD
  • -
- -

Links

- - diff --git a/Externals/GLew/auto/doc/install.html b/Externals/GLew/auto/doc/install.html deleted file mode 100644 index 448aafd819..0000000000 --- a/Externals/GLew/auto/doc/install.html +++ /dev/null @@ -1,126 +0,0 @@ -

Installation

- -

-To use the shared library version of GLEW, you need to copy the -headers and libraries into their destination directories. On Windows -this typically boils down to copying: -

- - - - - - - - - - -
bin/glew32.dll    to    %SystemRoot%/system32
lib/glew32.lib    to    {VC Root}/Lib
include/GL/glew.h    to    {VC Root}/Include/GL
include/GL/wglew.h    to    {VC Root}/Include/GL
-

-

- -

-where {VC Root} is the Visual C++ root directory, typically -C:/Program Files/Microsoft Visual Studio/VC98 for Visual -Studio 6.0 or C:/Program Files/Microsoft Visual -Studio .NET 2003/Vc7/PlatformSDK for Visual Studio .NET. -

- -

-On Unix, typing make install will attempt to install GLEW -into /usr/include/GL and /usr/lib. You can -customize the installation target via the GLEW_DEST -environment variable if you do not have write access to these -directories. -

- -

Building Your Project with GLEW

-

-There are two ways to build your project with GLEW. -

-

Including the source files / project file

-

-The simpler but less flexible way is to include glew.h and -glew.c into your project. On Windows, you also need to -define the GLEW_STATIC preprocessor token when building a -static library or executable, and the GLEW_BUILD preprocessor -token when building a dll. You also need to replace -<GL/gl.h> and <GL/glu.h> with -<glew.h> in your code and set the appropriate include -flag (-I) to tell the compiler where to look for it. For -example: -

-

-#include <glew.h>
-#include <GL/glut.h>
-<gl, glu, and glut functionality is available here>
-

-

-Depending on where you put glew.h you may also need to change -the include directives in glew.c. Note that if you are using -GLEW together with GLUT, you have to include glew.h first. -In addition, glew.h includes glu.h, so you do not -need to include it separately. -

-

-On Windows, you also have the option of adding the supplied project -file glew_static.dsp to your workspace (solution) and compile -it together with your other projects. In this case you also need to -change the GLEW_BUILD preprocessor constant to -GLEW_STATIC when building a static library or executable, -otherwise you get build errors. -

-

-Note that GLEW does not use the C -runtime library, so it does not matter which version (single-threaded, -multi-threaded or multi-threaded DLL) it is linked with (without -debugging information). It is, however, always a good idea to compile all -your projects including GLEW with the same C runtime settings. -

- -

Using GLEW as a shared library

- -

-Alternatively, you can use the provided project files / makefile to -build a separate shared library you can link your projects with later. -In this case the best practice is to install glew.h, -glew32.lib, and glew32.dll / libGLEW.so to -where the OpenGL equivalents gl.h, opengl32.lib, and -opengl32.dll / libGL.so are located. Note that you -need administrative privileges to do this. If you do not have -administrator access and your system administrator will not do it for -you, you can install GLEW into your own lib and include subdirectories -and tell the compiler where to find it. Then you can just replace -<GL/gl.h> with <GL/glew.h> in your -program: -

- -

-#include <GL/glew.h>
-#include <GL/glut.h>
-<gl, glu, and glut functionality is available here>
-

- -

-or: -

- -

-#include <GL/glew.h>
-<gl and glu functionality is available here>
-

- -

-Remember to link your project with glew32.lib, -glu32.lib, and opengl32.lib on Windows and -libGLEW.so, libGLU.so, and libGL.so on -Unix (-lGLEW -lGLU -lGL). -

- -

-It is important to keep in mind that glew.h includes neither -windows.h nor gl.h. Also, GLEW will warn you by -issuing a preprocessor error in case you have included gl.h, -glext.h, or glATI.h before glew.h. -

- diff --git a/Externals/GLew/auto/doc/log.html b/Externals/GLew/auto/doc/log.html deleted file mode 100644 index 44183ce97b..0000000000 --- a/Externals/GLew/auto/doc/log.html +++ /dev/null @@ -1,602 +0,0 @@ -

Change Log

- -
-
    -
  • 1.5.4 [04-21-10] -
      -
    • New features: -
        -
      • Support for OpenGL 3.3 -
      • Support for OpenGL 4.0 -
      -
    • New extensions: -
        -
      • GL_AMD_conservative_depth -
      • GL_ARB_blend_func_extended -
      • GL_ARB_draw_indirect -
      • GL_ARB_explicit_attrib_location -
      • GL_ARB_gpu_shader5 -
      • GL_ARB_gpu_shader_fp64 -
      • GL_ARB_occlusion_query2 -
      • GL_ARB_sampler_objects -
      • GL_ARB_shader_bit_encoding -
      • GL_ARB_shader_subroutine -
      • GL_ARB_shading_language_include -
      • GL_ARB_tessellation_shader -
      • GL_ARB_texture_buffer_object_rgb32 -
      • GL_ARB_texture_compression_bptc -
      • GL_ARB_texture_rgb10_a2ui -
      • GL_ARB_texture_swizzle -
      • GL_ARB_timer_query -
      • GL_ARB_transform_feedback2 -
      • GL_ARB_transform_feedback3 -
      • GL_ARB_vertex_type_2_10_10_10_rev -
      • GL_EXT_shader_image_load_store -
      • GL_EXT_vertex_attrib_64bit -
      • GL_NV_gpu_program5 -
      • GL_NV_gpu_program_fp64 -
      • GL_NV_gpu_shader5 -
      • GL_NV_tessellation_program5 -
      • GL_NV_vertex_attrib_integer_64bit -
      • GLX_ARB_vertex_buffer_object -
      -
    • Bug fixes: -
        -
      • Parameter constness fix for glPointParameteriv and glPointParameterfv -
      -
    -
- -
-
    -
  • 1.5.3 [02-28-10] -
      -
    • New extensions: -
        -
      • GLX_INTEL_swap_event -
      • GL_AMD_seamless_cubemap_per_texture -
      • GL_AMD_shader_stencil_export -
      -
    • Bug fixes: -
        -
      • Correct version detection for GL 3.1 and 3.2 -
      • Missing 3.1 enumerants -
      • Add glew.pc -
      -
    -
- -
-
    -
  • 1.5.2 [12-31-09] -
      -
    • New features: -
        -
      • Support for OpenGL 3.1 -
      • Support for OpenGL 3.2 -
      -
    • New extensions: -
        -
      • GL_AMD_draw_buffers_blend -
      • GL_AMD_performance_monitor -
      • GL_AMD_texture_texture4 -
      • GL_AMD_vertex_shader_tessellator -
      • GL_APPLE_aux_depth_stencil -
      • GL_APPLE_object_purgeable -
      • GL_APPLE_rgb_422 -
      • GL_APPLE_row_bytes -
      • GL_APPLE_vertex_program_evaluators -
      • GL_ARB_compatibility -
      • GL_ARB_copy_buffer -
      • GL_ARB_depth_clamp -
      • GL_ARB_draw_buffers_blend -
      • GL_ARB_draw_elements_base_vertex -
      • GL_ARB_fragment_coord_conventions -
      • GL_ARB_provoking_vertex -
      • GL_ARB_sample_shading -
      • GL_ARB_seamless_cube_map -
      • GL_ARB_shader_texture_lod -
      • GL_ARB_sync -
      • GL_ARB_texture_cube_map_array -
      • GL_ARB_texture_gather -
      • GL_ARB_texture_multisample -
      • GL_ARB_texture_query_lod -
      • GL_ARB_uniform_buffer_object -
      • GL_ARB_vertex_array_bgra -
      • GL_ATI_meminfo -
      • GL_EXT_provoking_vertex -
      • GL_EXT_separate_shader_objects -
      • GL_EXT_texture_snorm -
      • GL_NV_copy_image -
      • GL_NV_parameter_buffer_object2 -
      • GL_NV_shader_buffer_load -
      • GL_NV_texture_barrier -
      • GL_NV_transform_feedback2 -
      • GL_NV_vertex_buffer_unified_memory -
      • WGL_AMD_gpu_association -
      • WGL_ARB_create_context_profile -
      • WGL_NV_copy_image -
      • GLX_ARB_create_context_profile -
      • GLX_EXT_swap_control -
      • GLX_NV_copy_image -
      -
    • Bug fixes: -
        -
      • DOS line endings for windows .zip archives only. -
      • glTransformFeedbackVaryings arguments. -
      • Resource leak in glewinfo and visualinfo tools. -
      • WIN32_LEAN_AND_MEAN preprocessor pollution. -
      • Fixed version detection for GLEW_VERSION_2_1 and GLEW_VERSION_3_0. -
      • MesaGLUT glut.h GLAPIENTRY dependency. -
      • glFramebufferTextureLayer correction. -
      • OSX compiler warnings resolved. -
      • Cygwin linking to opengl32 by default, rather than X11 OpenGL. -
      • SnowLeopard (OSX 10.6) gl.h detection. -
      • Use $(STRIP) consistently. -
      -
    -
- -
-
    -
  • 1.5.1 [11-03-08] -
      -
    • New features: -
        -
      • Support for OpenGL 3.0 -
      -
    • New extensions: -
        -
      • GL_ARB_depth_buffer_float -
      • GL_ARB_draw_instance, -
      • GL_ARB_framebuffer_object -
      • GL_ARB_framebuffer_sRGB -
      • GL_ARB_geometry_shader4 -
      • GL_ARB_half_float_pixel -
      • GL_ARB_half_float_vertex -
      • GL_ARB_instanced_arrays -
      • GL_ARB_map_buffer_range -
      • GL_ARB_texture_buffer_object -
      • GL_ARB_texture_compression_rgtc -
      • GL_ARB_vertex_array_object -
      • GL_EXT_direct_state_access -
      • GL_EXT_texture_swizzle -
      • GL_EXT_transform_feedback -
      • GL_EXT_vertex_array_bgra -
      • GL_NV_conditional_render -
      • GL_NV_explicit_multisample -
      • GL_NV_present_video -
      • GL_SGIS_point_line_texgen -
      • GL_SGIX_convolution_accuracy -
      • WGL_ARB_create_context -
      • WGL_ARB_framebuffer_sRGB -
      • WGL_NV_present_video -
      • WGL_NV_swap_group -
      • WGL_NV_video_output -
      • GLX_ARB_create_context -
      • GLX_ARB_framebuffer_sRGB -
      • GLX_NV_present_video -
      • GLX_NV_swap_group -
      • GLX_NV_video_output -
      -
    • Bug fixes: -
        -
      • Licensing issues with documentation -
      • Problems with long long and _MSC_VER on MINGW -
      • Incorrect parameter for glGetUniformLocation -
      • glewGetExtension fails on last entry -
      • Incomplete GL_NV_texture_shader tokens -
      • Scripting problems on Cygwin -
      • Incorrect definition for GLint on OS X -
      -
    -
- -
-
    -
  • 1.5.0 [12-27-07] -
      -
    • New features: -
        -
      • Licensing change (BSD, Mesa 3-D, Khronos) -
      • Switch to using registry on www.opengl.org -
      • Support for major and minor version strings -
      -
    • New extensions: -
        -
      • GL_APPLE_flush_buffer_range -
      • GL_GREMEDY_frame_terminator -
      • GLX_EXT_texture_from_pixmap -
      -
    • Bug fixes: -
        -
      • Incorrent 64-bit type definitions -
      • Do not strip static library on install -
      • Missing tokens in GL_ATI_fragment_shader and WGL_{ARB,EXT}_make_current_read -
      • Missing tokens in GL_VERSION_2_1 -
      • Missing functions in GL_VERSION_1_4 -
      • Incorrect parameter type for glXCopyContext -
      -
    -
-
-
    -
  • 1.4.0 [04-27-07] -
      -
    • New features: -
        -
      • Extension variables are declared const to avoid possible -corruption of their values -
      -
    • New extensions: -
        -
      • GL_NV_depth_range_unclamped -
      -
    • Bug fixes: -
        -
      • Incorrect tokens in GL_NV_transform_feedback and GL_NV_framebuffer_multisample_coverage -
      • Incorrect function names in GL_EXT_gpu_program_parameters -
      • Missing tokens in GL_EXT_framebuffer_multisample -
      • GLEW_MX initialization problem for WGL_{ARB,EXT}_extensions_string -
      -
    -
-
-
    -
  • 1.3.6 [03-04-07] -
      -
    • New extensions: -
        -
      • GL_ATI_shader_texture_lod -
      • GL_EXT_gpu_program_parameters -
      • GL_NV_geometry_shader4 -
      • WGL_NV_gpu_affinity -
      • GLX_SGIX_hyperpipe -
      -
    • Bug fixes: -
        -
      • Missing include guards in glxew.h -
      • Makefile and install problems for Cygwin builds -
      • Install problem for Linux AMD64 builds -
      • Incorrent token in GL_ATI_texture_compression_3dc -
      • Missing tokens from GL_ATIX_point_sprites -
      -
    -
-
-
    -
  • 1.3.5 [11-21-06] -
      -
    • New features: -
        -
      • Support for core OpenGL 2.1 -
      • Debug support for glewIsSupported -
      -
    • New extensions: -
        -
      • GL_EXT_bindable_uniform -
      • GL_EXT_draw_buffers2 -
      • GL_EXT_draw_instanced -
      • GL_EXT_framebuffer_sRGB -
      • GL_EXT_geometry_shader4 -
      • GL_EXT_gpu_shader4 -
      • GL_EXT_packed_float -
      • GL_EXT_texture_array -
      • GL_EXT_texture_buffer_object -
      • GL_EXT_texture_compression_latc -
      • GL_EXT_texture_compression_rgtc -
      • GL_EXT_texture_integer -
      • GL_EXT_texture_shared_exponent -
      • GL_EXT_timer_query -
      • GL_NV_depth_buffer_float -
      • GL_NV_fragment_program4 -
      • GL_NV_framebuffer_multisample_coverage -
      • GL_NV_geometry_program4 -
      • GL_NV_gpu_program4 -
      • GL_NV_parameter_buffer_object -
      • GL_NV_transform_feedback -
      • GL_NV_vertex_program4 -
      • GL_OES_byte_coordinates -
      • GL_OES_compressed_paletted_texture -
      • GL_OES_read_format -
      • GL_OES_single_precision -
      • WGL_EXT_pixel_format_packed_float -
      • WGL_EXT_framebuffer_sRGB -
      • GLX_EXT_fbconfig_packed_float -
      • GLX_EXT_framebuffer_sRGB -
      -
    • Bug fixes: -
        -
      • Wrong GLXContext definition on Solaris -
      • Makefile problem for parallel builds -
      -
    -
-
-
    -
  • 1.3.4 [03-04-06] -
      -
    • New extensions: -
        -
      • GL_EXT_framebuffer_blit -
      • GL_EXT_framebuffer_multisample -
      • GL_EXT_packed_depth_stencil -
      • GL_MESAX_texture_stack -
      • WGL_3DL_stereo_control -
      -
    -
      -
    • Bug fixes: -
        -
      • glBlendEquation missing from GL_ARB_imaging -
      • Wrong APIENTRY definition for Cygwin -
      • Incorrect OS X OpenGL types -
      • Unix 64-bit installation patch -
      -
    -
-
-
    -
  • 1.3.3 [05-16-05] -
      -
    • New feature: -
        -
      • Code generation option to split source into multiple files -
      -
    -
      -
    • Bug fixes: -
        -
      • OpenGL 2.0 core initialization problems -
      • Wrong value for token GL_SHADER_TYPE -
      • Missing tokens in GL_ATI_fragment_shader -
      • Missing entry points in GL_ARB_transpose_matrix -
      -
    -
-
-
    -
  • 1.3.2 [03-16-05] -
      -
    • New extension: -
        -
      • GL_APPLE_pixel_buffer -
      -
    • Bug fixes: -
        -
      • Missing OpenGL 2.0 entry points -
      • Missing tokens in GL_SGIX_shadow -
      • MinGW makefile problem -
      • Check for incorrect OpenGL version string on SiS hardware -
      • Documentation update to meet the HTML 4.01 Transitional specification -
      -
    -
-
-
    -
  • 1.3.1 [02-02-05] -
      -
    • New features: -
        -
      • Consistent Unix and Windows versioning -
      -
    • New extensions: -
        -
      • GL_EXT_framebuffer_object -
      • GL_ARB_pixel_buffer_object -
      -
    • Bug fixes: -
        -
      • Missing OpenGL 2.0 tokens -
      • Incorrect typedefs (GLhandleARB and GLhalf) -
      • Borland compiler problems -
      -
    -
-
-
    -
  • 1.3.0 [01-04-05] -
      -
    • New features: -
        -
      • Support for core OpenGL 2.0 -
      • glewIsSupported provides efficient string-based extension checks -
      • Custom code generation from a list of extensions -
      • Makefile changes -
      -
    • New extensions: -
        -
      • WGL_ATI_render_texture_rectangle -
      -
    • Bug fixes: -
        -
      • Incorrect function signature in OpenGL 1.5 core -
      -
    -
-
-
    -
  • 1.2.5 [12-06-04] -
      -
    • New extensions: -
        -
      • GL_ATI_texture_compression_3dc -
      • GL_EXT_Cg_shader -
      • GL_EXT_draw_range_elements -
      • GL_KTX_buffer_region -
      -
    • Bug fixes: -
        -
      • OpenGL version detection bug -
      • Problems with wxWindows and MinGW compilation -
      • visualinfo compilation problem with GLEW_MX specified -
      • Wrong token name in OpenGL 1.5 core -
      -
    • Support for FreeBSD -
    -
-
-
    -
  • 1.2.4 [09-06-04] -
      -
    • Added ARB_draw_buffers and ARB_texture_rectangle -
    • Fixed bug in ARB_shader_objects -
    • Replaced wglinfo with visualinfo -
    -
-
-
    -
  • 1.2.3 [06-10-04] -
      -
    • Added GL_NV_fragment_program2, GL_NV_fragment_program_option, GL_NV_vertex_program2_option, GL_NV_vertex_program3 -
    • Bug fix in GL_ARB_vertex_blend -
    -
-
-
    -
  • 1.2.2 [05-08-04] -
      -
    • Added GL_EXT_pixel_buffer_object, removed GL_NV_element_array -
    • Fixed GLEW_MX problems -
    • Bug fix in GL_EXT_texture_rectangle and wglinfo -
    -
-
-
    -
  • 1.2.1 [03-18-04] -
      -
    • Bug fix in OpenGL version query (early release of 1.2.0 contained this bug) -
    • Bug fix in GL_ARB_shader_objects and temporary bug fix in GL_ARB_vertex_shader -
    • Added flags on GDI support and multisampling to wglinfo -
    -
-
-
    -
  • 1.2.0 [02-19-04] -
      -
    • Added full OpenGL 1.5 support -
    • Added support for multiple rendering contexts with different capabilities -
    • Added command line flags to glewinfo for selecting displays and visuals -
    • Added GLX_SGIS_multisample, GLX_SUN_video_resize, and GL_SUN_read_video_pixels -
    • Added MinGW/MSYS support -
    • Bug fixes in GL_ARB_shader_objects and the OS X build -
    -
-
-
    -
  • 1.1.4 [12-15-03] -
      -
    • Added GL_APPLE_float_pixels, GL_APPLE_texture_range, -GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, -GLX_ATI_pixel_format_float, and GLX_ATI_render_texture -
    • Bug fixes in GL_ATI_map_object_buffer and GL_ATI_fragment_shader -
    -
-
-
    -
  • 1.1.3 [10-28-03] -
      -
    • Added Solaris and Darwin support -
    • Added GL_ARB_fragment_shader, GL_ARB_shader_objects, and GL_ARB_vertex_shader -
    • Fixed bug in GL_WIN_swap_hint -
    • Removed glewinfo's dependency on GLUT -
    -
-
-
    -
  • 1.1.2 [09-15-03] -
      -
    • Removed dependency on WGL_{ARB,EXT}_extensions_string to make GLEW run on Matrox cards -
    • Added glewGetString for querying the GLEW version string -
    -
-
-
    -
  • 1.1.1 [08-11-03] -
      -
    • Added GLX_NV_float_buffer, GL_ARB_shading_language_100, and GL_ARB_texture_non_power_of_two -
    • Fixed bug in GL_ARB_vertex_buffer_object -
    • Minor updates in documentation -
    -
-
-
    -
  • 1.1.0 [07-08-03] -
      -
    • Added automatic code generation -
    • Added almost every extension in the registry -
    • Added separate namespace -
    • Added Irix support -
    • Updated documentation -
    -
-
-
    -
  • 1.0.7 [06-29-03] -
      -
    • Added GL_EXT_depth_bounds_test -
    • Fixed typos -
    -
-
-
    -
  • 1.0.6 [05-05-03] -
      -
    • Added ARB_vertex_buffer_object and NV_half_float -
    • Updated wglinfo -
    • Temporary Linux bug fixes (problems with SDL and MESA) -
    -
-
-
    -
  • 1.0.5 [02-17-03] -
      -
    • Bug fixes -
    • Added wglinfo -
    • Updated documentation -
    -
-
-
    -
  • 1.0.4 [02-02-03] -
      -
    • Added NV_texture_expand_normal -
    • Added mingw support -
    • Updated documentation -
    -
-
-
    -
  • 1.0.3 [01-09-03] -
      -
    • Cleaned up ATI extensions -
    • Changed function prototypes to match glext.h -
    • Added EXT_texture3D -
    • Fixed typos in ATI_vertex_attrib_array_object and ATI_draw_buffers -
    -
-
-
    -
  • 1.0.2 [12-21-02] -
      -
    • Added list of supported extensions to documentation -
    • Added NV_half_float and NV_texgen_emboss -
    -
-
-
    -
  • 1.0.1 [12-17-02] -
      -
    • Bug fixes -
    • Added glewGetExtension -
    -
-
-
    -
  • 1.0.0 [12-12-02] -
      -
    • Initial release -
    -
-
- diff --git a/Externals/GLew/auto/extensions/.dummy b/Externals/GLew/auto/extensions/.dummy deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/Externals/GLew/auto/extensions/GLX_3DFX_multisample b/Externals/GLew/auto/extensions/GLX_3DFX_multisample deleted file mode 100644 index 01b2150fe4..0000000000 --- a/Externals/GLew/auto/extensions/GLX_3DFX_multisample +++ /dev/null @@ -1,5 +0,0 @@ -GLX_3DFX_multisample -http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt -GLX_3DFX_multisample - GLX_SAMPLE_BUFFERS_3DFX 0x8050 - GLX_SAMPLES_3DFX 0x8051 diff --git a/Externals/GLew/auto/extensions/GLX_ARB_create_context b/Externals/GLew/auto/extensions/GLX_ARB_create_context deleted file mode 100644 index f7b7de60ec..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ARB_create_context +++ /dev/null @@ -1,9 +0,0 @@ -GLX_ARB_create_context -http://www.opengl.org/registry/specs/ARB/glx_create_context.txt -GLX_ARB_create_context - GLX_CONTEXT_DEBUG_BIT_ARB 0x0001 - GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 - GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 - GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 - GLX_CONTEXT_FLAGS_ARB 0x2094 - GLXContext glXCreateContextAttribsARB (Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list) diff --git a/Externals/GLew/auto/extensions/GLX_ARB_create_context_profile b/Externals/GLew/auto/extensions/GLX_ARB_create_context_profile deleted file mode 100644 index 15540ce0a1..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ARB_create_context_profile +++ /dev/null @@ -1,6 +0,0 @@ -GLX_ARB_create_context_profile -http://www.opengl.org/registry/specs/ARB/glx_create_context.txt -GLX_ARB_create_context_profile - GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 - GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 - GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 diff --git a/Externals/GLew/auto/extensions/GLX_ARB_fbconfig_float b/Externals/GLew/auto/extensions/GLX_ARB_fbconfig_float deleted file mode 100644 index 0e93c1b28c..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ARB_fbconfig_float +++ /dev/null @@ -1,5 +0,0 @@ -GLX_ARB_fbconfig_float -http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt -GLX_ARB_fbconfig_float - GLX_RGBA_FLOAT_BIT 0x00000004 - GLX_RGBA_FLOAT_TYPE 0x20B9 diff --git a/Externals/GLew/auto/extensions/GLX_ARB_framebuffer_sRGB b/Externals/GLew/auto/extensions/GLX_ARB_framebuffer_sRGB deleted file mode 100644 index b1b0ced03f..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ARB_framebuffer_sRGB +++ /dev/null @@ -1,4 +0,0 @@ -GLX_ARB_framebuffer_sRGB -http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt -GLX_ARB_framebuffer_sRGB - GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 diff --git a/Externals/GLew/auto/extensions/GLX_ARB_get_proc_address b/Externals/GLew/auto/extensions/GLX_ARB_get_proc_address deleted file mode 100644 index 5c066d7d00..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ARB_get_proc_address +++ /dev/null @@ -1,4 +0,0 @@ -GLX_ARB_get_proc_address -http://oss.sgi.com/projects/ogl-sample/registry/ARB/get_proc_address.txt -GLX_ARB_get_proc_address - extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void); diff --git a/Externals/GLew/auto/extensions/GLX_ARB_multisample b/Externals/GLew/auto/extensions/GLX_ARB_multisample deleted file mode 100644 index abae704a9c..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ARB_multisample +++ /dev/null @@ -1,5 +0,0 @@ -GLX_ARB_multisample -http://www.opengl.org/registry/specs/ARB/multisample.txt -GLX_ARB_multisample - GLX_SAMPLE_BUFFERS_ARB 100000 - GLX_SAMPLES_ARB 100001 diff --git a/Externals/GLew/auto/extensions/GLX_ARB_vertex_buffer_object b/Externals/GLew/auto/extensions/GLX_ARB_vertex_buffer_object deleted file mode 100644 index cb570ce229..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ARB_vertex_buffer_object +++ /dev/null @@ -1,4 +0,0 @@ -GLX_ARB_vertex_buffer_object -http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt -GLX_ARB_vertex_buffer_object - GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 diff --git a/Externals/GLew/auto/extensions/GLX_ATI_pixel_format_float b/Externals/GLew/auto/extensions/GLX_ATI_pixel_format_float deleted file mode 100644 index 854ca716ba..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ATI_pixel_format_float +++ /dev/null @@ -1,4 +0,0 @@ -GLX_ATI_pixel_format_float - -GLX_ATI_pixel_format_float - GLX_RGBA_FLOAT_ATI_BIT 0x00000100 diff --git a/Externals/GLew/auto/extensions/GLX_ATI_render_texture b/Externals/GLew/auto/extensions/GLX_ATI_render_texture deleted file mode 100644 index 254eb9f3bc..0000000000 --- a/Externals/GLew/auto/extensions/GLX_ATI_render_texture +++ /dev/null @@ -1,41 +0,0 @@ -GLX_ATI_render_texture - -GLX_ATI_render_texture - GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800 - GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801 - GLX_TEXTURE_FORMAT_ATI 0x9802 - GLX_TEXTURE_TARGET_ATI 0x9803 - GLX_MIPMAP_TEXTURE_ATI 0x9804 - GLX_TEXTURE_RGB_ATI 0x9805 - GLX_TEXTURE_RGBA_ATI 0x9806 - GLX_NO_TEXTURE_ATI 0x9807 - GLX_TEXTURE_CUBE_MAP_ATI 0x9808 - GLX_TEXTURE_1D_ATI 0x9809 - GLX_TEXTURE_2D_ATI 0x980A - GLX_MIPMAP_LEVEL_ATI 0x980B - GLX_CUBE_MAP_FACE_ATI 0x980C - GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D - GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E - GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F - GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810 - GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811 - GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812 - GLX_FRONT_LEFT_ATI 0x9813 - GLX_FRONT_RIGHT_ATI 0x9814 - GLX_BACK_LEFT_ATI 0x9815 - GLX_BACK_RIGHT_ATI 0x9816 - GLX_AUX0_ATI 0x9817 - GLX_AUX1_ATI 0x9818 - GLX_AUX2_ATI 0x9819 - GLX_AUX3_ATI 0x981A - GLX_AUX4_ATI 0x981B - GLX_AUX5_ATI 0x981C - GLX_AUX6_ATI 0x981D - GLX_AUX7_ATI 0x981E - GLX_AUX8_ATI 0x981F - GLX_AUX9_ATI 0x9820 - GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821 - GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822 - void glXBindTexImageATI (Display *dpy, GLXPbuffer pbuf, int buffer) - void glXReleaseTexImageATI (Display *dpy, GLXPbuffer pbuf, int buffer) - void glXDrawableAttribATI (Display *dpy, GLXDrawable draw, const int *attrib_list) diff --git a/Externals/GLew/auto/extensions/GLX_EXT_fbconfig_packed_float b/Externals/GLew/auto/extensions/GLX_EXT_fbconfig_packed_float deleted file mode 100644 index 7c7822d81a..0000000000 --- a/Externals/GLew/auto/extensions/GLX_EXT_fbconfig_packed_float +++ /dev/null @@ -1,5 +0,0 @@ -GLX_EXT_fbconfig_packed_float -http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt -GLX_EXT_fbconfig_packed_float - GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 - GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 diff --git a/Externals/GLew/auto/extensions/GLX_EXT_framebuffer_sRGB b/Externals/GLew/auto/extensions/GLX_EXT_framebuffer_sRGB deleted file mode 100644 index f51c484afd..0000000000 --- a/Externals/GLew/auto/extensions/GLX_EXT_framebuffer_sRGB +++ /dev/null @@ -1,4 +0,0 @@ -GLX_EXT_framebuffer_sRGB -http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt -GLX_EXT_framebuffer_sRGB - GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 diff --git a/Externals/GLew/auto/extensions/GLX_EXT_import_context b/Externals/GLew/auto/extensions/GLX_EXT_import_context deleted file mode 100644 index ecca5fde00..0000000000 --- a/Externals/GLew/auto/extensions/GLX_EXT_import_context +++ /dev/null @@ -1,11 +0,0 @@ -GLX_EXT_import_context -http://www.opengl.org/registry/specs/EXT/import_context.txt -GLX_EXT_import_context - GLX_SHARE_CONTEXT_EXT 0x800A - GLX_VISUAL_ID_EXT 0x800B - GLX_SCREEN_EXT 0x800C - void glXFreeContextEXT (Display* dpy, GLXContext context) - GLXContextID glXGetContextIDEXT (const GLXContext context) - GLXContext glXImportContextEXT (Display* dpy, GLXContextID contextID) - int glXQueryContextInfoEXT (Display* dpy, GLXContext context, int attribute,int *value) - typedef XID GLXContextID diff --git a/Externals/GLew/auto/extensions/GLX_EXT_scene_marker b/Externals/GLew/auto/extensions/GLX_EXT_scene_marker deleted file mode 100644 index 5c3fa86345..0000000000 --- a/Externals/GLew/auto/extensions/GLX_EXT_scene_marker +++ /dev/null @@ -1,3 +0,0 @@ -GLX_EXT_scene_marker -http://www.opengl.org/registry/specs/EXT/scene_marker.txt -GLX_EXT_scene_marker diff --git a/Externals/GLew/auto/extensions/GLX_EXT_swap_control b/Externals/GLew/auto/extensions/GLX_EXT_swap_control deleted file mode 100644 index 56372c004f..0000000000 --- a/Externals/GLew/auto/extensions/GLX_EXT_swap_control +++ /dev/null @@ -1,6 +0,0 @@ -GLX_EXT_swap_control -http://www.opengl.org/registry/specs/EXT/swap_control.txt -GLX_EXT_swap_control - GLX_SWAP_INTERVAL_EXT 0x20F1 - GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 - void glXSwapIntervalEXT (Display* dpy, GLXDrawable drawable, int interval) diff --git a/Externals/GLew/auto/extensions/GLX_EXT_texture_from_pixmap b/Externals/GLew/auto/extensions/GLX_EXT_texture_from_pixmap deleted file mode 100644 index f8352075e9..0000000000 --- a/Externals/GLew/auto/extensions/GLX_EXT_texture_from_pixmap +++ /dev/null @@ -1,36 +0,0 @@ -GLX_EXT_texture_from_pixmap -http://www.opengl.org/registry/specs/EXT/texture_from_pixmap.txt -GLX_EXT_texture_from_pixmap - GLX_TEXTURE_1D_BIT_EXT 0x00000001 - GLX_TEXTURE_2D_BIT_EXT 0x00000002 - GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 - GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 - GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 - GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 - GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 - GLX_Y_INVERTED_EXT 0x20D4 - GLX_TEXTURE_FORMAT_EXT 0x20D5 - GLX_TEXTURE_TARGET_EXT 0x20D6 - GLX_MIPMAP_TEXTURE_EXT 0x20D7 - GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 - GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 - GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA - GLX_TEXTURE_1D_EXT 0x20DB - GLX_TEXTURE_2D_EXT 0x20DC - GLX_TEXTURE_RECTANGLE_EXT 0x20DD - GLX_FRONT_LEFT_EXT 0x20DE - GLX_FRONT_RIGHT_EXT 0x20DF - GLX_BACK_LEFT_EXT 0x20E0 - GLX_BACK_RIGHT_EXT 0x20E1 - GLX_AUX0_EXT 0x20E2 - GLX_AUX1_EXT 0x20E3 - GLX_AUX2_EXT 0x20E4 - GLX_AUX3_EXT 0x20E5 - GLX_AUX4_EXT 0x20E6 - GLX_AUX5_EXT 0x20E7 - GLX_AUX6_EXT 0x20E8 - GLX_AUX7_EXT 0x20E9 - GLX_AUX8_EXT 0x20EA - GLX_AUX9_EXT 0x20EB - void glXBindTexImageEXT (Display* display, GLXDrawable drawable, int buffer, const int *attrib_list) - void glXReleaseTexImageEXT (Display* display, GLXDrawable drawable, int buffer) diff --git a/Externals/GLew/auto/extensions/GLX_EXT_visual_info b/Externals/GLew/auto/extensions/GLX_EXT_visual_info deleted file mode 100644 index 7db919cbb1..0000000000 --- a/Externals/GLew/auto/extensions/GLX_EXT_visual_info +++ /dev/null @@ -1,19 +0,0 @@ -GLX_EXT_visual_info -http://www.opengl.org/registry/specs/EXT/visual_info.txt -GLX_EXT_visual_info - GLX_X_VISUAL_TYPE_EXT 0x22 - GLX_TRANSPARENT_TYPE_EXT 0x23 - GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 - GLX_TRANSPARENT_RED_VALUE_EXT 0x25 - GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 - GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 - GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 - GLX_NONE_EXT 0x8000 - GLX_TRUE_COLOR_EXT 0x8002 - GLX_DIRECT_COLOR_EXT 0x8003 - GLX_PSEUDO_COLOR_EXT 0x8004 - GLX_STATIC_COLOR_EXT 0x8005 - GLX_GRAY_SCALE_EXT 0x8006 - GLX_STATIC_GRAY_EXT 0x8007 - GLX_TRANSPARENT_RGB_EXT 0x8008 - GLX_TRANSPARENT_INDEX_EXT 0x8009 diff --git a/Externals/GLew/auto/extensions/GLX_EXT_visual_rating b/Externals/GLew/auto/extensions/GLX_EXT_visual_rating deleted file mode 100644 index fc86674667..0000000000 --- a/Externals/GLew/auto/extensions/GLX_EXT_visual_rating +++ /dev/null @@ -1,6 +0,0 @@ -GLX_EXT_visual_rating -http://www.opengl.org/registry/specs/EXT/visual_rating.txt -GLX_EXT_visual_rating - GLX_VISUAL_CAVEAT_EXT 0x20 - GLX_SLOW_VISUAL_EXT 0x8001 - GLX_NON_CONFORMANT_VISUAL_EXT 0x800D diff --git a/Externals/GLew/auto/extensions/GLX_INTEL_swap_event b/Externals/GLew/auto/extensions/GLX_INTEL_swap_event deleted file mode 100644 index d9a7f7cf3a..0000000000 --- a/Externals/GLew/auto/extensions/GLX_INTEL_swap_event +++ /dev/null @@ -1,7 +0,0 @@ -GLX_INTEL_swap_event -http://www.opengl.org/registry/specs/INTEL/swap_event.txt -GLX_INTEL_swap_event - GLX_EXCHANGE_COMPLETE_INTEL 0x8180 - GLX_COPY_COMPLETE_INTEL 0x8181 - GLX_FLIP_COMPLETE_INTEL 0x8182 - GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000 diff --git a/Externals/GLew/auto/extensions/GLX_MESA_agp_offset b/Externals/GLew/auto/extensions/GLX_MESA_agp_offset deleted file mode 100644 index 5f307cd8cb..0000000000 --- a/Externals/GLew/auto/extensions/GLX_MESA_agp_offset +++ /dev/null @@ -1,4 +0,0 @@ -GLX_MESA_agp_offset -http://www.opengl.org/registry/specs/MESA/agp_offset.txt -GLX_MESA_agp_offset - unsigned int glXGetAGPOffsetMESA (const void* pointer) diff --git a/Externals/GLew/auto/extensions/GLX_MESA_copy_sub_buffer b/Externals/GLew/auto/extensions/GLX_MESA_copy_sub_buffer deleted file mode 100644 index b6557e76c1..0000000000 --- a/Externals/GLew/auto/extensions/GLX_MESA_copy_sub_buffer +++ /dev/null @@ -1,4 +0,0 @@ -GLX_MESA_copy_sub_buffer -http://www.opengl.org/registry/specs/MESA/copy_sub_buffer.txt -GLX_MESA_copy_sub_buffer - void glXCopySubBufferMESA (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height) diff --git a/Externals/GLew/auto/extensions/GLX_MESA_pixmap_colormap b/Externals/GLew/auto/extensions/GLX_MESA_pixmap_colormap deleted file mode 100644 index e59956c569..0000000000 --- a/Externals/GLew/auto/extensions/GLX_MESA_pixmap_colormap +++ /dev/null @@ -1,4 +0,0 @@ -GLX_MESA_pixmap_colormap -http://www.opengl.org/registry/specs/MESA/pixmap_colormap.txt -GLX_MESA_pixmap_colormap - GLXPixmap glXCreateGLXPixmapMESA (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap) diff --git a/Externals/GLew/auto/extensions/GLX_MESA_release_buffers b/Externals/GLew/auto/extensions/GLX_MESA_release_buffers deleted file mode 100644 index cfd10914e1..0000000000 --- a/Externals/GLew/auto/extensions/GLX_MESA_release_buffers +++ /dev/null @@ -1,4 +0,0 @@ -GLX_MESA_release_buffers -http://www.opengl.org/registry/specs/MESA/release_buffers.txt -GLX_MESA_release_buffers - Bool glXReleaseBuffersMESA (Display* dpy, GLXDrawable d) diff --git a/Externals/GLew/auto/extensions/GLX_MESA_set_3dfx_mode b/Externals/GLew/auto/extensions/GLX_MESA_set_3dfx_mode deleted file mode 100644 index 03a263d52d..0000000000 --- a/Externals/GLew/auto/extensions/GLX_MESA_set_3dfx_mode +++ /dev/null @@ -1,6 +0,0 @@ -GLX_MESA_set_3dfx_mode -http://www.opengl.org/registry/specs/MESA/set_3dfx_mode.txt -GLX_MESA_set_3dfx_mode - GLX_3DFX_WINDOW_MODE_MESA 0x1 - GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 - GLboolean glXSet3DfxModeMESA (GLint mode) diff --git a/Externals/GLew/auto/extensions/GLX_NV_copy_image b/Externals/GLew/auto/extensions/GLX_NV_copy_image deleted file mode 100644 index acaef8cc5f..0000000000 --- a/Externals/GLew/auto/extensions/GLX_NV_copy_image +++ /dev/null @@ -1,4 +0,0 @@ -GLX_NV_copy_image -http://www.opengl.org/registry/specs/NV/copy_image.txt -GLX_NV_copy_image - void glXCopyImageSubDataNV (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) diff --git a/Externals/GLew/auto/extensions/GLX_NV_float_buffer b/Externals/GLew/auto/extensions/GLX_NV_float_buffer deleted file mode 100644 index cc9185ee94..0000000000 --- a/Externals/GLew/auto/extensions/GLX_NV_float_buffer +++ /dev/null @@ -1,4 +0,0 @@ -GLX_NV_float_buffer -http://cvs1.nvidia.com/inc/GL/glxtokens.h -GLX_NV_float_buffer - GLX_FLOAT_COMPONENTS_NV 0x20B0 diff --git a/Externals/GLew/auto/extensions/GLX_NV_present_video b/Externals/GLew/auto/extensions/GLX_NV_present_video deleted file mode 100644 index 0078079fa6..0000000000 --- a/Externals/GLew/auto/extensions/GLX_NV_present_video +++ /dev/null @@ -1,6 +0,0 @@ -GLX_NV_present_video -http://www.opengl.org/registry/specs/NV/present_video.txt -GLX_NV_present_video - GLX_NUM_VIDEO_SLOTS_NV 0x20F0 - int glXBindVideoDeviceNV (Display* dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list) - unsigned int* glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements) diff --git a/Externals/GLew/auto/extensions/GLX_NV_swap_group b/Externals/GLew/auto/extensions/GLX_NV_swap_group deleted file mode 100644 index ec40bca3d4..0000000000 --- a/Externals/GLew/auto/extensions/GLX_NV_swap_group +++ /dev/null @@ -1,9 +0,0 @@ -GLX_NV_swap_group -http://www.opengl.org/registry/specs/NV/glx_swap_group.txt -GLX_NV_swap_group - Bool glXBindSwapBarrierNV (Display* dpy, GLuint group, GLuint barrier) - Bool glXJoinSwapGroupNV (Display* dpy, GLXDrawable drawable, GLuint group) - Bool glXQueryFrameCountNV (Display* dpy, int screen, GLuint *count) - Bool glXQueryMaxSwapGroupsNV (Display* dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers) - Bool glXQuerySwapGroupNV (Display* dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier) - Bool glXResetFrameCountNV (Display* dpy, int screen) diff --git a/Externals/GLew/auto/extensions/GLX_NV_vertex_array_range b/Externals/GLew/auto/extensions/GLX_NV_vertex_array_range deleted file mode 100644 index 11afe17406..0000000000 --- a/Externals/GLew/auto/extensions/GLX_NV_vertex_array_range +++ /dev/null @@ -1,5 +0,0 @@ -GLX_NV_vertex_array_range -http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt -GLX_NV_vertex_array_range - void * glXAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) - void glXFreeMemoryNV (void *pointer) diff --git a/Externals/GLew/auto/extensions/GLX_NV_video_output b/Externals/GLew/auto/extensions/GLX_NV_video_output deleted file mode 100644 index 1bd30fc4a6..0000000000 --- a/Externals/GLew/auto/extensions/GLX_NV_video_output +++ /dev/null @@ -1,19 +0,0 @@ -GLX_NV_video_output -http://www.opengl.org/registry/specs/NV/glx_video_out.txt -GLX_NV_video_output - GLX_VIDEO_OUT_COLOR_NV 0x20C3 - GLX_VIDEO_OUT_ALPHA_NV 0x20C4 - GLX_VIDEO_OUT_DEPTH_NV 0x20C5 - GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 - GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 - GLX_VIDEO_OUT_FRAME_NV 0x20C8 - GLX_VIDEO_OUT_FIELD_1_NV 0x20C9 - GLX_VIDEO_OUT_FIELD_2_NV 0x20CA - GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB - GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC - int glXBindVideoImageNV (Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer) - int glXGetVideoDeviceNV (Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice) - int glXGetVideoInfoNV (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo) - int glXReleaseVideoDeviceNV (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice) - int glXReleaseVideoImageNV (Display* dpy, GLXPbuffer pbuf) - int glXSendPbufferToVideoNV (Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock) diff --git a/Externals/GLew/auto/extensions/GLX_OML_swap_method b/Externals/GLew/auto/extensions/GLX_OML_swap_method deleted file mode 100644 index 1ad2d4f369..0000000000 --- a/Externals/GLew/auto/extensions/GLX_OML_swap_method +++ /dev/null @@ -1,7 +0,0 @@ -GLX_OML_swap_method -http://www.opengl.org/registry/specs/OML/glx_swap_method.txt -GLX_OML_swap_method - GLX_SWAP_METHOD_OML 0x8060 - GLX_SWAP_EXCHANGE_OML 0x8061 - GLX_SWAP_COPY_OML 0x8062 - GLX_SWAP_UNDEFINED_OML 0x8063 diff --git a/Externals/GLew/auto/extensions/GLX_OML_sync_control b/Externals/GLew/auto/extensions/GLX_OML_sync_control deleted file mode 100644 index 5de293bc3a..0000000000 --- a/Externals/GLew/auto/extensions/GLX_OML_sync_control +++ /dev/null @@ -1,8 +0,0 @@ -GLX_OML_sync_control -http://www.opengl.org/registry/specs/OML/glx_sync_control.txt -GLX_OML_sync_control - Bool glXGetMscRateOML (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator) - Bool glXGetSyncValuesOML (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc) - int64_t glXSwapBuffersMscOML (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder) - Bool glXWaitForMscOML (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t* ust, int64_t* msc, int64_t* sbc) - Bool glXWaitForSbcOML (Display* dpy, GLXDrawable drawable, int64_t target_sbc, int64_t* ust, int64_t* msc, int64_t* sbc) diff --git a/Externals/GLew/auto/extensions/GLX_SGIS_blended_overlay b/Externals/GLew/auto/extensions/GLX_SGIS_blended_overlay deleted file mode 100644 index 27cc982ff6..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIS_blended_overlay +++ /dev/null @@ -1,4 +0,0 @@ -GLX_SGIS_blended_overlay -http://www.opengl.org/registry/specs/SGIS/blended_overlay.txt -GLX_SGIS_blended_overlay - GLX_BLENDED_RGBA_SGIS 0x8025 diff --git a/Externals/GLew/auto/extensions/GLX_SGIS_color_range b/Externals/GLew/auto/extensions/GLX_SGIS_color_range deleted file mode 100644 index 5416dcb416..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIS_color_range +++ /dev/null @@ -1,12 +0,0 @@ -GLX_SGIS_color_range -http://www.opengl.org/registry/specs/SGIS/color_range.txt -GLX_SGIS_color_range - GLX_MAX_GREEN_SGIS 0 - GLX_MIN_RED_SGIS 0 - GLX_MIN_BLUE_SGIS 0 - GLX_MAX_RED_SGIS 0 - GLX_MAX_ALPHA_SGIS 0 - GLX_MIN_GREEN_SGIS 0 - GLX_MIN_ALPHA_SGIS 0 - GLX_EXTENDED_RANGE_SGIS 0 - GLX_MAX_BLUE_SGIS 0 diff --git a/Externals/GLew/auto/extensions/GLX_SGIS_multisample b/Externals/GLew/auto/extensions/GLX_SGIS_multisample deleted file mode 100644 index 9d22b47b6e..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIS_multisample +++ /dev/null @@ -1,5 +0,0 @@ -GLX_SGIS_multisample -http://www.opengl.org/registry/specs/SGIS/multisample.txt -GLX_SGIS_multisample - GLX_SAMPLE_BUFFERS_SGIS 100000 - GLX_SAMPLES_SGIS 100001 diff --git a/Externals/GLew/auto/extensions/GLX_SGIS_shared_multisample b/Externals/GLew/auto/extensions/GLX_SGIS_shared_multisample deleted file mode 100644 index 274e90f76e..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIS_shared_multisample +++ /dev/null @@ -1,5 +0,0 @@ -GLX_SGIS_shared_multisample - -GLX_SGIS_shared_multisample - GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 - GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 diff --git a/Externals/GLew/auto/extensions/GLX_SGIX_fbconfig b/Externals/GLew/auto/extensions/GLX_SGIX_fbconfig deleted file mode 100644 index ac0d049248..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIX_fbconfig +++ /dev/null @@ -1,22 +0,0 @@ -GLX_SGIX_fbconfig -http://www.opengl.org/registry/specs/SGIX/fbconfig.txt -GLX_SGIX_fbconfig - GLX_WINDOW_BIT_SGIX 0x00000001 - GLX_RGBA_BIT_SGIX 0x00000001 - GLX_PIXMAP_BIT_SGIX 0x00000002 - GLX_COLOR_INDEX_BIT_SGIX 0x00000002 - GLX_SCREEN_EXT 0x800C - GLX_DRAWABLE_TYPE_SGIX 0x8010 - GLX_RENDER_TYPE_SGIX 0x8011 - GLX_X_RENDERABLE_SGIX 0x8012 - GLX_FBCONFIG_ID_SGIX 0x8013 - GLX_RGBA_TYPE_SGIX 0x8014 - GLX_COLOR_INDEX_TYPE_SGIX 0x8015 - GLXFBConfigSGIX* glXChooseFBConfigSGIX (Display *dpy, int screen, const int *attrib_list, int *nelements) - GLXContext glXCreateContextWithConfigSGIX (Display* dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) - GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display* dpy, GLXFBConfig config, Pixmap pixmap) - int glXGetFBConfigAttribSGIX (Display* dpy, GLXFBConfigSGIX config, int attribute, int *value) - GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display* dpy, XVisualInfo *vis) - XVisualInfo* glXGetVisualFromFBConfigSGIX (Display *dpy, GLXFBConfig config) - typedef XID GLXFBConfigIDSGIX - typedef struct __GLXFBConfigRec *GLXFBConfigSGIX diff --git a/Externals/GLew/auto/extensions/GLX_SGIX_hyperpipe b/Externals/GLew/auto/extensions/GLX_SGIX_hyperpipe deleted file mode 100644 index 79ec30295c..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIX_hyperpipe +++ /dev/null @@ -1,25 +0,0 @@ -GLX_SGIX_hyperpipe -http://oss.sgi.com/projects/ogl-sample/registry/SGIX/hyperpipe_group.txt -GLX_SGIX_hyperpipe - GLX_HYPERPIPE_ID_SGIX 0x8030 - GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 - GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 - GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 - GLX_PIPE_RECT_SGIX 0x00000001 - GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 - GLX_HYPERPIPE_STEREO_SGIX 0x00000003 - GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 - GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 - GLX_BAD_HYPERPIPE_SGIX 92 - typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int networkId; } GLXHyperpipeNetworkSGIX; - typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int channel; unsigned int participationType; int timeSlice; } GLXHyperpipeConfigSGIX; - typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int srcXOrigin; int srcYOrigin; int srcWidth; int srcHeight; int destXOrigin; int destYOrigin; int destWidth; int destHeight; } GLXPipeRect; - typedef struct { char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; int XOrigin; int YOrigin; int maxHeight; int maxWidth; } GLXPipeRectLimits; - GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *dpy, int *npipes) - int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId) - GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *dpy, int hpId, int *npipes) - int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId) - int glXBindHyperpipeSGIX (Display *dpy, int hpId) - int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList) - int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList) - int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList) diff --git a/Externals/GLew/auto/extensions/GLX_SGIX_pbuffer b/Externals/GLew/auto/extensions/GLX_SGIX_pbuffer deleted file mode 100644 index 4acf71cc96..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIX_pbuffer +++ /dev/null @@ -1,35 +0,0 @@ -GLX_SGIX_pbuffer -http://www.opengl.org/registry/specs/SGIX/pbuffer.txt -GLX_SGIX_pbuffer - GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 - GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 - GLX_PBUFFER_BIT_SGIX 0x00000004 - GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 - GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 - GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 - GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 - GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 - GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 - GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 - GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 - GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 - GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 - GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 - GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A - GLX_PRESERVED_CONTENTS_SGIX 0x801B - GLX_LARGEST_PBUFFER_SGIX 0x801C - GLX_WIDTH_SGIX 0x801D - GLX_HEIGHT_SGIX 0x801E - GLX_EVENT_MASK_SGIX 0x801F - GLX_DAMAGED_SGIX 0x8020 - GLX_SAVED_SGIX 0x8021 - GLX_WINDOW_SGIX 0x8022 - GLX_PBUFFER_SGIX 0x8023 - GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 - GLXPbuffer glXCreateGLXPbufferSGIX (Display* dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list) - void glXDestroyGLXPbufferSGIX (Display* dpy, GLXPbuffer pbuf) - void glXGetSelectedEventSGIX (Display* dpy, GLXDrawable drawable, unsigned long *mask) - void glXQueryGLXPbufferSGIX (Display* dpy, GLXPbuffer pbuf, int attribute, unsigned int *value) - void glXSelectEventSGIX (Display* dpy, GLXDrawable drawable, unsigned long mask) - typedef XID GLXPbufferSGIX - typedef struct { int type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; int event_type; int draw_type; unsigned int mask; int x, y; int width, height; int count; } GLXBufferClobberEventSGIX diff --git a/Externals/GLew/auto/extensions/GLX_SGIX_swap_barrier b/Externals/GLew/auto/extensions/GLX_SGIX_swap_barrier deleted file mode 100644 index 57dd60dbb0..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIX_swap_barrier +++ /dev/null @@ -1,5 +0,0 @@ -GLX_SGIX_swap_barrier -http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_barrier.txt -GLX_SGIX_swap_barrier - void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier) - Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max) diff --git a/Externals/GLew/auto/extensions/GLX_SGIX_swap_group b/Externals/GLew/auto/extensions/GLX_SGIX_swap_group deleted file mode 100644 index 3530604605..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIX_swap_group +++ /dev/null @@ -1,4 +0,0 @@ -GLX_SGIX_swap_group -http://oss.sgi.com/projects/ogl-sample/registry/SGIX/swap_group.txt -GLX_SGIX_swap_group - void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member) diff --git a/Externals/GLew/auto/extensions/GLX_SGIX_video_resize b/Externals/GLew/auto/extensions/GLX_SGIX_video_resize deleted file mode 100644 index cc919969ff..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIX_video_resize +++ /dev/null @@ -1,10 +0,0 @@ -GLX_SGIX_video_resize -http://www.opengl.org/registry/specs/SGIX/video_resize.txt -GLX_SGIX_video_resize - GLX_SYNC_FRAME_SGIX 0x00000000 - GLX_SYNC_SWAP_SGIX 0x00000001 - int glXBindChannelToWindowSGIX (Display* display, int screen, int channel, Window window) - int glXChannelRectSGIX (Display* display, int screen, int channel, int x, int y, int w, int h) - int glXChannelRectSyncSGIX (Display* display, int screen, int channel, GLenum synctype) - int glXQueryChannelDeltasSGIX (Display* display, int screen, int channel, int *x, int *y, int *w, int *h) - int glXQueryChannelRectSGIX (Display* display, int screen, int channel, int *dx, int *dy, int *dw, int *dh) diff --git a/Externals/GLew/auto/extensions/GLX_SGIX_visual_select_group b/Externals/GLew/auto/extensions/GLX_SGIX_visual_select_group deleted file mode 100644 index 6c00691031..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGIX_visual_select_group +++ /dev/null @@ -1,4 +0,0 @@ -GLX_SGIX_visual_select_group -http://www.opengl.org/registry/specs/SGIX/visual_select_group.txt -GLX_SGIX_visual_select_group - GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 diff --git a/Externals/GLew/auto/extensions/GLX_SGI_cushion b/Externals/GLew/auto/extensions/GLX_SGI_cushion deleted file mode 100644 index ce47e63a85..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGI_cushion +++ /dev/null @@ -1,4 +0,0 @@ -GLX_SGI_cushion -http://www.opengl.org/registry/specs/SGI/cushion.txt -GLX_SGI_cushion - void glXCushionSGI (Display* dpy, Window window, float cushion) diff --git a/Externals/GLew/auto/extensions/GLX_SGI_make_current_read b/Externals/GLew/auto/extensions/GLX_SGI_make_current_read deleted file mode 100644 index 857611ecaa..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGI_make_current_read +++ /dev/null @@ -1,5 +0,0 @@ -GLX_SGI_make_current_read -http://www.opengl.org/registry/specs/SGI/make_current_read.txt -GLX_SGI_make_current_read - GLXDrawable glXGetCurrentReadDrawableSGI (void) - Bool glXMakeCurrentReadSGI (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) diff --git a/Externals/GLew/auto/extensions/GLX_SGI_swap_control b/Externals/GLew/auto/extensions/GLX_SGI_swap_control deleted file mode 100644 index bab97bdbfe..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGI_swap_control +++ /dev/null @@ -1,4 +0,0 @@ -GLX_SGI_swap_control -http://www.opengl.org/registry/specs/SGI/swap_control.txt -GLX_SGI_swap_control - int glXSwapIntervalSGI (int interval) diff --git a/Externals/GLew/auto/extensions/GLX_SGI_video_sync b/Externals/GLew/auto/extensions/GLX_SGI_video_sync deleted file mode 100644 index f76b79ea3d..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SGI_video_sync +++ /dev/null @@ -1,5 +0,0 @@ -GLX_SGI_video_sync -http://www.opengl.org/registry/specs/SGI/video_sync.txt -GLX_SGI_video_sync - int glXGetVideoSyncSGI (uint* count) - int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int* count) diff --git a/Externals/GLew/auto/extensions/GLX_SUN_get_transparent_index b/Externals/GLew/auto/extensions/GLX_SUN_get_transparent_index deleted file mode 100644 index f3b3b64fa3..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SUN_get_transparent_index +++ /dev/null @@ -1,4 +0,0 @@ -GLX_SUN_get_transparent_index -http://www.opengl.org/registry/specs/SUN/get_transparent_index.txt -GLX_SUN_get_transparent_index - Status glXGetTransparentIndexSUN (Display* dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex) diff --git a/Externals/GLew/auto/extensions/GLX_SUN_video_resize b/Externals/GLew/auto/extensions/GLX_SUN_video_resize deleted file mode 100644 index 0a0cefe3db..0000000000 --- a/Externals/GLew/auto/extensions/GLX_SUN_video_resize +++ /dev/null @@ -1,7 +0,0 @@ -GLX_SUN_video_resize -http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt -GLX_SUN_video_resize - GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD - GLX_VIDEO_RESIZE_SUN 0x8171 - int glXVideoResizeSUN (Display* display, GLXDrawable window, float factor) - int glXGetVideoResizeSUN (Display* display, GLXDrawable window, float* factor) diff --git a/Externals/GLew/auto/extensions/GL_3DFX_multisample b/Externals/GLew/auto/extensions/GL_3DFX_multisample deleted file mode 100644 index 7a58d3a248..0000000000 --- a/Externals/GLew/auto/extensions/GL_3DFX_multisample +++ /dev/null @@ -1,7 +0,0 @@ -GL_3DFX_multisample -http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt -GL_3DFX_multisample - GL_MULTISAMPLE_3DFX 0x86B2 - GL_SAMPLE_BUFFERS_3DFX 0x86B3 - GL_SAMPLES_3DFX 0x86B4 - GL_MULTISAMPLE_BIT_3DFX 0x20000000 diff --git a/Externals/GLew/auto/extensions/GL_3DFX_tbuffer b/Externals/GLew/auto/extensions/GL_3DFX_tbuffer deleted file mode 100644 index d62d4c775f..0000000000 --- a/Externals/GLew/auto/extensions/GL_3DFX_tbuffer +++ /dev/null @@ -1,4 +0,0 @@ -GL_3DFX_tbuffer -http://www.opengl.org/registry/specs/3DFX/tbuffer.txt -GL_3DFX_tbuffer - void glTbufferMask3DFX (GLuint mask) diff --git a/Externals/GLew/auto/extensions/GL_3DFX_texture_compression_FXT1 b/Externals/GLew/auto/extensions/GL_3DFX_texture_compression_FXT1 deleted file mode 100644 index c0e4581285..0000000000 --- a/Externals/GLew/auto/extensions/GL_3DFX_texture_compression_FXT1 +++ /dev/null @@ -1,5 +0,0 @@ -GL_3DFX_texture_compression_FXT1 -http://www.opengl.org/registry/specs/3DFX/texture_compression_FXT1.txt -GL_3DFX_texture_compression_FXT1 - GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 - GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 diff --git a/Externals/GLew/auto/extensions/GL_AMD_conservative_depth b/Externals/GLew/auto/extensions/GL_AMD_conservative_depth deleted file mode 100644 index c4489eddfb..0000000000 --- a/Externals/GLew/auto/extensions/GL_AMD_conservative_depth +++ /dev/null @@ -1,3 +0,0 @@ -GL_AMD_conservative_depth -http://www.opengl.org/registry/specs/AMD/conservative_depth.txt -GL_AMD_conservative_depth diff --git a/Externals/GLew/auto/extensions/GL_AMD_draw_buffers_blend b/Externals/GLew/auto/extensions/GL_AMD_draw_buffers_blend deleted file mode 100644 index 74b33a1f3c..0000000000 --- a/Externals/GLew/auto/extensions/GL_AMD_draw_buffers_blend +++ /dev/null @@ -1,7 +0,0 @@ -GL_AMD_draw_buffers_blend -http://www.opengl.org/registry/specs/AMD/draw_buffers_blend.txt -GL_AMD_draw_buffers_blend - void glBlendEquationIndexedAMD (GLuint buf, GLenum mode) - void glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha) - void glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst) - void glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) diff --git a/Externals/GLew/auto/extensions/GL_AMD_performance_monitor b/Externals/GLew/auto/extensions/GL_AMD_performance_monitor deleted file mode 100644 index 9cc6191d5e..0000000000 --- a/Externals/GLew/auto/extensions/GL_AMD_performance_monitor +++ /dev/null @@ -1,23 +0,0 @@ -GL_AMD_performance_monitor -http://www.opengl.org/registry/specs/AMD/performance_monitor.txt -GL_AMD_performance_monitor - GL_UNSIGNED_INT 0x1405 - GL_FLOAT 0x1406 - GL_COUNTER_TYPE_AMD 0x8BC0 - GL_COUNTER_RANGE_AMD 0x8BC1 - GL_UNSIGNED_INT64_AMD 0x8BC2 - GL_PERCENTAGE_AMD 0x8BC3 - GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 - GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 - GL_PERFMON_RESULT_AMD 0x8BC6 - void glBeginPerfMonitorAMD (GLuint monitor) - void glDeletePerfMonitorsAMD (GLsizei n, GLuint* monitors) - void glEndPerfMonitorAMD (GLuint monitor) - void glGenPerfMonitorsAMD (GLsizei n, GLuint* monitors) - void glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint *bytesWritten) - void glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void* data) - void glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, char *counterString) - void glGetPerfMonitorCountersAMD (GLuint group, GLint* numCounters, GLint *maxActiveCounters, GLsizei countersSize, GLuint *counters) - void glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei* length, char *groupString) - void glGetPerfMonitorGroupsAMD (GLint* numGroups, GLsizei groupsSize, GLuint *groups) - void glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* counterList) diff --git a/Externals/GLew/auto/extensions/GL_AMD_seamless_cubemap_per_texture b/Externals/GLew/auto/extensions/GL_AMD_seamless_cubemap_per_texture deleted file mode 100644 index 3565655dde..0000000000 --- a/Externals/GLew/auto/extensions/GL_AMD_seamless_cubemap_per_texture +++ /dev/null @@ -1,4 +0,0 @@ -GL_AMD_seamless_cubemap_per_texture -http://www.opengl.org/registry/specs/AMD/seamless_cubemap_per_texture.txt -GL_AMD_seamless_cubemap_per_texture - GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB 0x884F diff --git a/Externals/GLew/auto/extensions/GL_AMD_shader_stencil_export b/Externals/GLew/auto/extensions/GL_AMD_shader_stencil_export deleted file mode 100644 index a7b91d7c23..0000000000 --- a/Externals/GLew/auto/extensions/GL_AMD_shader_stencil_export +++ /dev/null @@ -1,3 +0,0 @@ -GL_AMD_shader_stencil_export -http://www.opengl.org/registry/specs/AMD/shader_stencil_export.txt -GL_AMD_shader_stencil_export diff --git a/Externals/GLew/auto/extensions/GL_AMD_texture_texture4 b/Externals/GLew/auto/extensions/GL_AMD_texture_texture4 deleted file mode 100644 index 5736c5a558..0000000000 --- a/Externals/GLew/auto/extensions/GL_AMD_texture_texture4 +++ /dev/null @@ -1,3 +0,0 @@ -GL_AMD_texture_texture4 -http://www.opengl.org/registry/specs/AMD/texture_texture4.txt -GL_AMD_texture_texture4 diff --git a/Externals/GLew/auto/extensions/GL_AMD_vertex_shader_tessellator b/Externals/GLew/auto/extensions/GL_AMD_vertex_shader_tessellator deleted file mode 100644 index db9e4b8883..0000000000 --- a/Externals/GLew/auto/extensions/GL_AMD_vertex_shader_tessellator +++ /dev/null @@ -1,12 +0,0 @@ -GL_AMD_vertex_shader_tessellator -http://www.opengl.org/registry/specs/AMD/vertex_shader_tessellator.txt -GL_AMD_vertex_shader_tessellator - GL_SAMPLER_BUFFER_AMD 0x9001 - GL_INT_SAMPLER_BUFFER_AMD 0x9002 - GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003 - GL_TESSELLATION_MODE_AMD 0x9004 - GL_TESSELLATION_FACTOR_AMD 0x9005 - GL_DISCRETE_AMD 0x9006 - GL_CONTINUOUS_AMD 0x9007 - void glTessellationFactorAMD (GLfloat factor) - void glTessellationModeAMD (GLenum mode) diff --git a/Externals/GLew/auto/extensions/GL_APPLE_aux_depth_stencil b/Externals/GLew/auto/extensions/GL_APPLE_aux_depth_stencil deleted file mode 100644 index 34339d35a7..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_aux_depth_stencil +++ /dev/null @@ -1,4 +0,0 @@ -GL_APPLE_aux_depth_stencil -http://www.opengl.org/registry/specs/APPLE/aux_depth_stencil.txt -GL_APPLE_aux_depth_stencil - GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 diff --git a/Externals/GLew/auto/extensions/GL_APPLE_client_storage b/Externals/GLew/auto/extensions/GL_APPLE_client_storage deleted file mode 100644 index 287b632a4f..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_client_storage +++ /dev/null @@ -1,4 +0,0 @@ -GL_APPLE_client_storage -http://www.opengl.org/registry/specs/APPLE/client_storage.txt -GL_APPLE_client_storage - GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 diff --git a/Externals/GLew/auto/extensions/GL_APPLE_element_array b/Externals/GLew/auto/extensions/GL_APPLE_element_array deleted file mode 100644 index c999f276d7..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_element_array +++ /dev/null @@ -1,11 +0,0 @@ -GL_APPLE_element_array -http://www.opengl.org/registry/specs/APPLE/element_array.txt -GL_APPLE_element_array - GL_ELEMENT_ARRAY_APPLE 0x8A0C - GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D - GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E - void glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count) - void glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count) - void glElementPointerAPPLE (GLenum type, const void* pointer) - void glMultiDrawElementArrayAPPLE (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount) - void glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei *count, GLsizei primcount) diff --git a/Externals/GLew/auto/extensions/GL_APPLE_fence b/Externals/GLew/auto/extensions/GL_APPLE_fence deleted file mode 100644 index 1886b38958..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_fence +++ /dev/null @@ -1,13 +0,0 @@ -GL_APPLE_fence -http://www.opengl.org/registry/specs/APPLE/fence.txt -GL_APPLE_fence - GL_DRAW_PIXELS_APPLE 0x8A0A - GL_FENCE_APPLE 0x8A0B - void glDeleteFencesAPPLE (GLsizei n, const GLuint* fences) - void glFinishFenceAPPLE (GLuint fence) - void glFinishObjectAPPLE (GLenum object, GLint name) - void glGenFencesAPPLE (GLsizei n, GLuint* fences) - GLboolean glIsFenceAPPLE (GLuint fence) - void glSetFenceAPPLE (GLuint fence) - GLboolean glTestFenceAPPLE (GLuint fence) - GLboolean glTestObjectAPPLE (GLenum object, GLuint name) diff --git a/Externals/GLew/auto/extensions/GL_APPLE_float_pixels b/Externals/GLew/auto/extensions/GL_APPLE_float_pixels deleted file mode 100644 index 8a60870eec..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_float_pixels +++ /dev/null @@ -1,17 +0,0 @@ -GL_APPLE_float_pixels -http://developer.apple.com/opengl/extensions/apple_float_pixels.html -GL_APPLE_float_pixels - GL_HALF_APPLE 0x140B - GL_COLOR_FLOAT_APPLE 0x8A0F - GL_RGBA_FLOAT32_APPLE 0x8814 - GL_RGB_FLOAT32_APPLE 0x8815 - GL_ALPHA_FLOAT32_APPLE 0x8816 - GL_INTENSITY_FLOAT32_APPLE 0x8817 - GL_LUMINANCE_FLOAT32_APPLE 0x8818 - GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 - GL_RGBA_FLOAT16_APPLE 0x881A - GL_RGB_FLOAT16_APPLE 0x881B - GL_ALPHA_FLOAT16_APPLE 0x881C - GL_INTENSITY_FLOAT16_APPLE 0x881D - GL_LUMINANCE_FLOAT16_APPLE 0x881E - GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F diff --git a/Externals/GLew/auto/extensions/GL_APPLE_flush_buffer_range b/Externals/GLew/auto/extensions/GL_APPLE_flush_buffer_range deleted file mode 100644 index 243cff808d..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_flush_buffer_range +++ /dev/null @@ -1,7 +0,0 @@ -GL_APPLE_flush_buffer_range -http://www.opengl.org/registry/specs/APPLE/flush_buffer_range.txt -GL_APPLE_flush_buffer_range - GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 - GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 - void glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param) - void glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size) diff --git a/Externals/GLew/auto/extensions/GL_APPLE_object_purgeable b/Externals/GLew/auto/extensions/GL_APPLE_object_purgeable deleted file mode 100644 index a428e7724b..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_object_purgeable +++ /dev/null @@ -1,12 +0,0 @@ -GL_APPLE_object_purgeable -http://www.opengl.org/registry/specs/APPLE/object_purgeable.txt -GL_APPLE_object_purgeable - GL_BUFFER_OBJECT_APPLE 0x85B3 - GL_RELEASED_APPLE 0x8A19 - GL_VOLATILE_APPLE 0x8A1A - GL_RETAINED_APPLE 0x8A1B - GL_UNDEFINED_APPLE 0x8A1C - GL_PURGEABLE_APPLE 0x8A1D - void glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint* params) - GLenum glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option) - GLenum glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option) diff --git a/Externals/GLew/auto/extensions/GL_APPLE_pixel_buffer b/Externals/GLew/auto/extensions/GL_APPLE_pixel_buffer deleted file mode 100644 index 7449f2918e..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_pixel_buffer +++ /dev/null @@ -1,4 +0,0 @@ -GL_APPLE_pixel_buffer - -GL_APPLE_pixel_buffer - GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10 diff --git a/Externals/GLew/auto/extensions/GL_APPLE_rgb_422 b/Externals/GLew/auto/extensions/GL_APPLE_rgb_422 deleted file mode 100644 index 00e43559c2..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_rgb_422 +++ /dev/null @@ -1,6 +0,0 @@ -GL_APPLE_rgb_422 -http://www.opengl.org/registry/specs/APPLE/rgb_422.txt -GL_APPLE_rgb_422 - GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA - GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB - GL_RGB_422_APPLE 0x8A1F diff --git a/Externals/GLew/auto/extensions/GL_APPLE_row_bytes b/Externals/GLew/auto/extensions/GL_APPLE_row_bytes deleted file mode 100644 index 0c60b923db..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_row_bytes +++ /dev/null @@ -1,5 +0,0 @@ -GL_APPLE_row_bytes -http://www.opengl.org/registry/specs/APPLE/row_bytes.txt -GL_APPLE_row_bytes - GL_PACK_ROW_BYTES_APPLE 0x8A15 - GL_UNPACK_ROW_BYTES_APPLE 0x8A16 diff --git a/Externals/GLew/auto/extensions/GL_APPLE_specular_vector b/Externals/GLew/auto/extensions/GL_APPLE_specular_vector deleted file mode 100644 index 98a18fa5d5..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_specular_vector +++ /dev/null @@ -1,4 +0,0 @@ -GL_APPLE_specular_vector -http://www.opengl.org/registry/specs/APPLE/specular_vector.txt -GL_APPLE_specular_vector - GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 diff --git a/Externals/GLew/auto/extensions/GL_APPLE_texture_range b/Externals/GLew/auto/extensions/GL_APPLE_texture_range deleted file mode 100644 index 8c5165d61d..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_texture_range +++ /dev/null @@ -1,12 +0,0 @@ -GL_APPLE_texture_range -http://developer.apple.com/opengl/extensions/apple_texture_range.html -GL_APPLE_texture_range - GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC - GL_STORAGE_PRIVATE_APPLE 0x85BD - GL_STORAGE_CACHED_APPLE 0x85BE - GL_STORAGE_SHARED_APPLE 0x85BF - GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 - GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 - void glTextureRangeAPPLE (GLenum target, GLsizei length, GLvoid *pointer) - void glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid **params) - diff --git a/Externals/GLew/auto/extensions/GL_APPLE_transform_hint b/Externals/GLew/auto/extensions/GL_APPLE_transform_hint deleted file mode 100644 index ac713eb534..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_transform_hint +++ /dev/null @@ -1,4 +0,0 @@ -GL_APPLE_transform_hint -http://www.opengl.org/registry/specs/APPLE/transform_hint.txt -GL_APPLE_transform_hint - GL_TRANSFORM_HINT_APPLE 0x85B1 diff --git a/Externals/GLew/auto/extensions/GL_APPLE_vertex_array_object b/Externals/GLew/auto/extensions/GL_APPLE_vertex_array_object deleted file mode 100644 index 95da66d2ac..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_vertex_array_object +++ /dev/null @@ -1,8 +0,0 @@ -GL_APPLE_vertex_array_object -http://www.opengl.org/registry/specs/APPLE/vertex_array_object.txt -GL_APPLE_vertex_array_object - GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 - void glBindVertexArrayAPPLE (GLuint array) - void glDeleteVertexArraysAPPLE (GLsizei n, const GLuint* arrays) - void glGenVertexArraysAPPLE (GLsizei n, const GLuint* arrays) - GLboolean glIsVertexArrayAPPLE (GLuint array) diff --git a/Externals/GLew/auto/extensions/GL_APPLE_vertex_array_range b/Externals/GLew/auto/extensions/GL_APPLE_vertex_array_range deleted file mode 100644 index 1536f076b4..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_vertex_array_range +++ /dev/null @@ -1,14 +0,0 @@ -GL_APPLE_vertex_array_range -http://www.opengl.org/registry/specs/APPLE/vertex_array_range.txt -GL_APPLE_vertex_array_range - GL_VERTEX_ARRAY_RANGE_APPLE 0x851D - GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E - GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F - GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520 - GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 - GL_STORAGE_CLIENT_APPLE 0x85B4 - GL_STORAGE_CACHED_APPLE 0x85BE - GL_STORAGE_SHARED_APPLE 0x85BF - void glFlushVertexArrayRangeAPPLE (GLsizei length, void* pointer) - void glVertexArrayParameteriAPPLE (GLenum pname, GLint param) - void glVertexArrayRangeAPPLE (GLsizei length, void* pointer) diff --git a/Externals/GLew/auto/extensions/GL_APPLE_vertex_program_evaluators b/Externals/GLew/auto/extensions/GL_APPLE_vertex_program_evaluators deleted file mode 100644 index 4bc8dea013..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_vertex_program_evaluators +++ /dev/null @@ -1,20 +0,0 @@ -GL_APPLE_vertex_program_evaluators -http://www.opengl.org/registry/specs/APPLE/vertex_program_evaluators.txt -GL_APPLE_vertex_program_evaluators - GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 - GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 - GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 - GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 - GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 - GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 - GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 - GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 - GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 - GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 - void glDisableVertexAttribAPPLE (GLuint index, GLenum pname) - void glEnableVertexAttribAPPLE (GLuint index, GLenum pname) - GLboolean glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname) - void glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points) - void glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points) - void glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points) - void glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points) diff --git a/Externals/GLew/auto/extensions/GL_APPLE_ycbcr_422 b/Externals/GLew/auto/extensions/GL_APPLE_ycbcr_422 deleted file mode 100644 index 3b855494cc..0000000000 --- a/Externals/GLew/auto/extensions/GL_APPLE_ycbcr_422 +++ /dev/null @@ -1,6 +0,0 @@ -GL_APPLE_ycbcr_422 -http://www.opengl.org/registry/specs/APPLE/ycbcr_422.txt -GL_APPLE_ycbcr_422 - GL_YCBCR_422_APPLE 0x85B9 - GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA - GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB diff --git a/Externals/GLew/auto/extensions/GL_ARB_blend_func_extended b/Externals/GLew/auto/extensions/GL_ARB_blend_func_extended deleted file mode 100644 index c70d68dfdf..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_blend_func_extended +++ /dev/null @@ -1,9 +0,0 @@ -GL_ARB_blend_func_extended -http://www.opengl.org/registry/specs/ARB/blend_func_extended.txt -GL_ARB_blend_func_extended - GL_SRC1_COLOR 0x88F9 - GL_ONE_MINUS_SRC1_COLOR 0x88FA - GL_ONE_MINUS_SRC1_ALPHA 0x88FB - GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC - void glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const char * name) - GLint glGetFragDataIndex (GLuint program, const char * name) diff --git a/Externals/GLew/auto/extensions/GL_ARB_color_buffer_float b/Externals/GLew/auto/extensions/GL_ARB_color_buffer_float deleted file mode 100644 index 1d7ad0542e..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_color_buffer_float +++ /dev/null @@ -1,9 +0,0 @@ -GL_ARB_color_buffer_float -http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt -GL_ARB_color_buffer_float - GL_RGBA_FLOAT_MODE_ARB 0x8820 - GL_CLAMP_VERTEX_COLOR_ARB 0x891A - GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B - GL_CLAMP_READ_COLOR_ARB 0x891C - GL_FIXED_ONLY_ARB 0x891D - void glClampColorARB (GLenum target, GLenum clamp) diff --git a/Externals/GLew/auto/extensions/GL_ARB_compatibility b/Externals/GLew/auto/extensions/GL_ARB_compatibility deleted file mode 100644 index 60200c41fa..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_compatibility +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_compatibility -http://www.opengl.org/registry/specs/ARB/compatibility.txt -GL_ARB_compatibility diff --git a/Externals/GLew/auto/extensions/GL_ARB_copy_buffer b/Externals/GLew/auto/extensions/GL_ARB_copy_buffer deleted file mode 100644 index 64f58b0cb0..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_copy_buffer +++ /dev/null @@ -1,6 +0,0 @@ -GL_ARB_copy_buffer -http://www.opengl.org/registry/specs/ARB/copy_buffer.txt -GL_ARB_copy_buffer - GL_COPY_READ_BUFFER 0x8F36 - GL_COPY_WRITE_BUFFER 0x8F37 - void glCopyBufferSubData (GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size) diff --git a/Externals/GLew/auto/extensions/GL_ARB_depth_buffer_float b/Externals/GLew/auto/extensions/GL_ARB_depth_buffer_float deleted file mode 100644 index f18f1216c7..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_depth_buffer_float +++ /dev/null @@ -1,6 +0,0 @@ -GL_ARB_depth_buffer_float -http://www.opengl.org/registry/specs/ARB/depth_buffer_float.txt -GL_ARB_depth_buffer_float - GL_DEPTH_COMPONENT32F 0x8CAC - GL_DEPTH32F_STENCIL8 0x8CAD - GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD diff --git a/Externals/GLew/auto/extensions/GL_ARB_depth_clamp b/Externals/GLew/auto/extensions/GL_ARB_depth_clamp deleted file mode 100644 index 31cffa7707..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_depth_clamp +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_depth_clamp -http://www.opengl.org/registry/specs/ARB/depth_clamp.txt -GL_ARB_depth_clamp - GL_DEPTH_CLAMP 0x864F diff --git a/Externals/GLew/auto/extensions/GL_ARB_depth_texture b/Externals/GLew/auto/extensions/GL_ARB_depth_texture deleted file mode 100644 index d1aa476c09..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_depth_texture +++ /dev/null @@ -1,8 +0,0 @@ -GL_ARB_depth_texture -http://www.opengl.org/registry/specs/ARB/depth_texture.txt -GL_ARB_depth_texture - GL_DEPTH_COMPONENT16_ARB 0x81A5 - GL_DEPTH_COMPONENT24_ARB 0x81A6 - GL_DEPTH_COMPONENT32_ARB 0x81A7 - GL_TEXTURE_DEPTH_SIZE_ARB 0x884A - GL_DEPTH_TEXTURE_MODE_ARB 0x884B diff --git a/Externals/GLew/auto/extensions/GL_ARB_draw_buffers b/Externals/GLew/auto/extensions/GL_ARB_draw_buffers deleted file mode 100644 index 8c96b61b4b..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_draw_buffers +++ /dev/null @@ -1,21 +0,0 @@ -GL_ARB_draw_buffers -http://www.opengl.org/registry/specs/ARB/draw_buffers.txt -GL_ARB_draw_buffers - GL_MAX_DRAW_BUFFERS_ARB 0x8824 - GL_DRAW_BUFFER0_ARB 0x8825 - GL_DRAW_BUFFER1_ARB 0x8826 - GL_DRAW_BUFFER2_ARB 0x8827 - GL_DRAW_BUFFER3_ARB 0x8828 - GL_DRAW_BUFFER4_ARB 0x8829 - GL_DRAW_BUFFER5_ARB 0x882A - GL_DRAW_BUFFER6_ARB 0x882B - GL_DRAW_BUFFER7_ARB 0x882C - GL_DRAW_BUFFER8_ARB 0x882D - GL_DRAW_BUFFER9_ARB 0x882E - GL_DRAW_BUFFER10_ARB 0x882F - GL_DRAW_BUFFER11_ARB 0x8830 - GL_DRAW_BUFFER12_ARB 0x8831 - GL_DRAW_BUFFER13_ARB 0x8832 - GL_DRAW_BUFFER14_ARB 0x8833 - GL_DRAW_BUFFER15_ARB 0x8834 - void glDrawBuffersARB (GLsizei n, const GLenum* bufs) diff --git a/Externals/GLew/auto/extensions/GL_ARB_draw_buffers_blend b/Externals/GLew/auto/extensions/GL_ARB_draw_buffers_blend deleted file mode 100644 index 4f63320832..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_draw_buffers_blend +++ /dev/null @@ -1,7 +0,0 @@ -GL_ARB_draw_buffers_blend -http://www.opengl.org/registry/specs/ARB/draw_buffers_blend.txt -GL_ARB_draw_buffers_blend - void glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha) - void glBlendEquationiARB (GLuint buf, GLenum mode) - void glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) - void glBlendFunciARB (GLuint buf, GLenum src, GLenum dst) diff --git a/Externals/GLew/auto/extensions/GL_ARB_draw_elements_base_vertex b/Externals/GLew/auto/extensions/GL_ARB_draw_elements_base_vertex deleted file mode 100644 index 85c5be7ac0..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_draw_elements_base_vertex +++ /dev/null @@ -1,7 +0,0 @@ -GL_ARB_draw_elements_base_vertex -http://www.opengl.org/registry/specs/ARB/draw_elements_base_vertex.txt -GL_ARB_draw_elements_base_vertex - void glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, void* indices, GLint basevertex) - void glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLint basevertex) - void glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, void* indices, GLint basevertex) - void glMultiDrawElementsBaseVertex (GLenum mode, GLsizei* count, GLenum type, GLvoid**indices, GLsizei primcount, GLint *basevertex) diff --git a/Externals/GLew/auto/extensions/GL_ARB_draw_indirect b/Externals/GLew/auto/extensions/GL_ARB_draw_indirect deleted file mode 100644 index 1423bc6f50..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_draw_indirect +++ /dev/null @@ -1,7 +0,0 @@ -GL_ARB_draw_indirect -http://www.opengl.org/registry/specs/ARB/draw_indirect.txt -GL_ARB_draw_indirect - GL_DRAW_INDIRECT_BUFFER 0x8F3F - GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 - void glDrawArraysIndirect (GLenum mode, const void* indirect) - void glDrawElementsIndirect (GLenum mode, GLenum type, const void* indirect) diff --git a/Externals/GLew/auto/extensions/GL_ARB_draw_instanced b/Externals/GLew/auto/extensions/GL_ARB_draw_instanced deleted file mode 100644 index a1a0f37d9f..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_draw_instanced +++ /dev/null @@ -1,5 +0,0 @@ -GL_ARB_draw_instanced -http://www.opengl.org/registry/specs/ARB/draw_instanced.txt -GL_ARB_draw_instanced - void glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount) - void glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount) diff --git a/Externals/GLew/auto/extensions/GL_ARB_explicit_attrib_location b/Externals/GLew/auto/extensions/GL_ARB_explicit_attrib_location deleted file mode 100644 index 76fe9ca035..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_explicit_attrib_location +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_explicit_attrib_location -http://www.opengl.org/registry/specs/ARB/explicit_attrib_location.txt -GL_ARB_explicit_attrib_location diff --git a/Externals/GLew/auto/extensions/GL_ARB_fragment_coord_conventions b/Externals/GLew/auto/extensions/GL_ARB_fragment_coord_conventions deleted file mode 100644 index f54b1fe06d..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_fragment_coord_conventions +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_fragment_coord_conventions -http://www.opengl.org/registry/specs/ARB/fragment_coord_conventions.txt -GL_ARB_fragment_coord_conventions diff --git a/Externals/GLew/auto/extensions/GL_ARB_fragment_program b/Externals/GLew/auto/extensions/GL_ARB_fragment_program deleted file mode 100644 index ce63a3472e..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_fragment_program +++ /dev/null @@ -1,18 +0,0 @@ -GL_ARB_fragment_program -http://www.opengl.org/registry/specs/ARB/fragment_program.txt -GL_ARB_fragment_program - GL_FRAGMENT_PROGRAM_ARB 0x8804 - GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 - GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 - GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 - GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 - GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 - GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A - GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B - GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C - GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D - GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E - GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F - GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 - GL_MAX_TEXTURE_COORDS_ARB 0x8871 - GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 diff --git a/Externals/GLew/auto/extensions/GL_ARB_fragment_program_shadow b/Externals/GLew/auto/extensions/GL_ARB_fragment_program_shadow deleted file mode 100644 index cce0d4883f..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_fragment_program_shadow +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_fragment_program_shadow -http://www.opengl.org/registry/specs/ARB/fragment_program_shadow.txt -GL_ARB_fragment_program_shadow diff --git a/Externals/GLew/auto/extensions/GL_ARB_fragment_shader b/Externals/GLew/auto/extensions/GL_ARB_fragment_shader deleted file mode 100644 index 07f477393f..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_fragment_shader +++ /dev/null @@ -1,6 +0,0 @@ -GL_ARB_fragment_shader -http://www.opengl.org/registry/specs/ARB/fragment_shader.txt -GL_ARB_fragment_shader - GL_FRAGMENT_SHADER_ARB 0x8B30 - GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 - GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B diff --git a/Externals/GLew/auto/extensions/GL_ARB_framebuffer_object b/Externals/GLew/auto/extensions/GL_ARB_framebuffer_object deleted file mode 100644 index bb217e2fbc..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_framebuffer_object +++ /dev/null @@ -1,97 +0,0 @@ -GL_ARB_framebuffer_object -http://www.opengl.org/registry/specs/ARB/framebuffer_object.txt -GL_ARB_framebuffer_object - GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 - GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 - GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 - GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 - GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 - GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 - GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 - GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 - GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 - GL_FRAMEBUFFER_DEFAULT 0x8218 - GL_FRAMEBUFFER_UNDEFINED 0x8219 - GL_DEPTH_STENCIL_ATTACHMENT 0x821A - GL_INDEX 0x8222 - GL_MAX_RENDERBUFFER_SIZE 0x84E8 - GL_DEPTH_STENCIL 0x84F9 - GL_UNSIGNED_INT_24_8 0x84FA - GL_DEPTH24_STENCIL8 0x88F0 - GL_TEXTURE_STENCIL_SIZE 0x88F1 - GL_UNSIGNED_NORMALIZED 0x8C17 - GL_SRGB 0x8C40 - GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 - GL_FRAMEBUFFER_BINDING 0x8CA6 - GL_RENDERBUFFER_BINDING 0x8CA7 - GL_READ_FRAMEBUFFER 0x8CA8 - GL_DRAW_FRAMEBUFFER 0x8CA9 - GL_READ_FRAMEBUFFER_BINDING 0x8CAA - GL_RENDERBUFFER_SAMPLES 0x8CAB - GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 - GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 - GL_FRAMEBUFFER_COMPLETE 0x8CD5 - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 - GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 - GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB - GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC - GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD - GL_MAX_COLOR_ATTACHMENTS 0x8CDF - GL_COLOR_ATTACHMENT0 0x8CE0 - GL_COLOR_ATTACHMENT1 0x8CE1 - GL_COLOR_ATTACHMENT2 0x8CE2 - GL_COLOR_ATTACHMENT3 0x8CE3 - GL_COLOR_ATTACHMENT4 0x8CE4 - GL_COLOR_ATTACHMENT5 0x8CE5 - GL_COLOR_ATTACHMENT6 0x8CE6 - GL_COLOR_ATTACHMENT7 0x8CE7 - GL_COLOR_ATTACHMENT8 0x8CE8 - GL_COLOR_ATTACHMENT9 0x8CE9 - GL_COLOR_ATTACHMENT10 0x8CEA - GL_COLOR_ATTACHMENT11 0x8CEB - GL_COLOR_ATTACHMENT12 0x8CEC - GL_COLOR_ATTACHMENT13 0x8CED - GL_COLOR_ATTACHMENT14 0x8CEE - GL_COLOR_ATTACHMENT15 0x8CEF - GL_DEPTH_ATTACHMENT 0x8D00 - GL_STENCIL_ATTACHMENT 0x8D20 - GL_FRAMEBUFFER 0x8D40 - GL_RENDERBUFFER 0x8D41 - GL_RENDERBUFFER_WIDTH 0x8D42 - GL_RENDERBUFFER_HEIGHT 0x8D43 - GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 - GL_STENCIL_INDEX1 0x8D46 - GL_STENCIL_INDEX4 0x8D47 - GL_STENCIL_INDEX8 0x8D48 - GL_STENCIL_INDEX16 0x8D49 - GL_RENDERBUFFER_RED_SIZE 0x8D50 - GL_RENDERBUFFER_GREEN_SIZE 0x8D51 - GL_RENDERBUFFER_BLUE_SIZE 0x8D52 - GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 - GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 - GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 - GL_MAX_SAMPLES 0x8D57 - void glBindFramebuffer (GLenum target, GLuint framebuffer) - void glBindRenderbuffer (GLenum target, GLuint renderbuffer) - void glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) - GLenum glCheckFramebufferStatus (GLenum target) - void glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers) - void glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers) - void glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) - void glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) - void glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) - void glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) - void glFramebufferTextureLayer (GLenum target,GLenum attachment, GLuint texture,GLint level,GLint layer) - void glGenFramebuffers (GLsizei n, GLuint* framebuffers) - void glGenRenderbuffers (GLsizei n, GLuint* renderbuffers) - void glGenerateMipmap (GLenum target) - void glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params) - void glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params) - GLboolean glIsFramebuffer (GLuint framebuffer) - GLboolean glIsRenderbuffer (GLuint renderbuffer) - void glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) - void glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) diff --git a/Externals/GLew/auto/extensions/GL_ARB_framebuffer_sRGB b/Externals/GLew/auto/extensions/GL_ARB_framebuffer_sRGB deleted file mode 100644 index c9909bca48..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_framebuffer_sRGB +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_framebuffer_sRGB -http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt -GL_ARB_framebuffer_sRGB - GL_FRAMEBUFFER_SRGB 0x8DB9 diff --git a/Externals/GLew/auto/extensions/GL_ARB_geometry_shader4 b/Externals/GLew/auto/extensions/GL_ARB_geometry_shader4 deleted file mode 100644 index 76cfcbf66c..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_geometry_shader4 +++ /dev/null @@ -1,26 +0,0 @@ -GL_ARB_geometry_shader4 -http://www.opengl.org/registry/specs/ARB/geometry_shader4.txt -GL_ARB_geometry_shader4 - GL_LINES_ADJACENCY_ARB 0xA - GL_LINE_STRIP_ADJACENCY_ARB 0xB - GL_TRIANGLES_ADJACENCY_ARB 0xC - GL_TRIANGLE_STRIP_ADJACENCY_ARB 0xD - GL_PROGRAM_POINT_SIZE_ARB 0x8642 - GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 - GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 - GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 - GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 - GL_GEOMETRY_SHADER_ARB 0x8DD9 - GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA - GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB - GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC - GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD - GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE - GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF - GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 - GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 - void glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level) - void glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) - void glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) - void glProgramParameteriARB (GLuint program, GLenum pname, GLint value) diff --git a/Externals/GLew/auto/extensions/GL_ARB_gpu_shader5 b/Externals/GLew/auto/extensions/GL_ARB_gpu_shader5 deleted file mode 100644 index 816c894adc..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_gpu_shader5 +++ /dev/null @@ -1,9 +0,0 @@ -GL_ARB_gpu_shader5 -http://www.opengl.org/registry/specs/ARB/gpu_shader5.txt -GL_ARB_gpu_shader5 - GL_GEOMETRY_SHADER_INVOCATIONS 0x887F - GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A - GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B - GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C - GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D - GL_MAX_VERTEX_STREAMS 0x8E71 diff --git a/Externals/GLew/auto/extensions/GL_ARB_gpu_shader_fp64 b/Externals/GLew/auto/extensions/GL_ARB_gpu_shader_fp64 deleted file mode 100644 index f452eeb0ad..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_gpu_shader_fp64 +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_gpu_shader_fp64 -http://www.opengl.org/registry/specs/ARB/gpu_shader_fp64.txt -GL_ARB_gpu_shader_fp64 diff --git a/Externals/GLew/auto/extensions/GL_ARB_half_float_pixel b/Externals/GLew/auto/extensions/GL_ARB_half_float_pixel deleted file mode 100644 index 6cc72e83f7..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_half_float_pixel +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_half_float_pixel -http://www.opengl.org/registry/specs/ARB/half_float_pixel.txt -GL_ARB_half_float_pixel - GL_HALF_FLOAT_ARB 0x140B diff --git a/Externals/GLew/auto/extensions/GL_ARB_half_float_vertex b/Externals/GLew/auto/extensions/GL_ARB_half_float_vertex deleted file mode 100644 index 2ecbbc358d..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_half_float_vertex +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_half_float_vertex -http://www.opengl.org/registry/specs/ARB/half_float_vertex.txt -GL_ARB_half_float_vertex - GL_HALF_FLOAT 0x140B diff --git a/Externals/GLew/auto/extensions/GL_ARB_imaging b/Externals/GLew/auto/extensions/GL_ARB_imaging deleted file mode 100644 index 0efd0c1b8e..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_imaging +++ /dev/null @@ -1,112 +0,0 @@ -GL_ARB_imaging - -GL_ARB_imaging - GL_CONSTANT_COLOR 0x8001 - GL_ONE_MINUS_CONSTANT_COLOR 0x8002 - GL_CONSTANT_ALPHA 0x8003 - GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 - GL_BLEND_COLOR 0x8005 - GL_FUNC_ADD 0x8006 - GL_MIN 0x8007 - GL_MAX 0x8008 - GL_BLEND_EQUATION 0x8009 - GL_FUNC_SUBTRACT 0x800A - GL_FUNC_REVERSE_SUBTRACT 0x800B - GL_CONVOLUTION_1D 0x8010 - GL_CONVOLUTION_2D 0x8011 - GL_SEPARABLE_2D 0x8012 - GL_CONVOLUTION_BORDER_MODE 0x8013 - GL_CONVOLUTION_FILTER_SCALE 0x8014 - GL_CONVOLUTION_FILTER_BIAS 0x8015 - GL_REDUCE 0x8016 - GL_CONVOLUTION_FORMAT 0x8017 - GL_CONVOLUTION_WIDTH 0x8018 - GL_CONVOLUTION_HEIGHT 0x8019 - GL_MAX_CONVOLUTION_WIDTH 0x801A - GL_MAX_CONVOLUTION_HEIGHT 0x801B - GL_POST_CONVOLUTION_RED_SCALE 0x801C - GL_POST_CONVOLUTION_GREEN_SCALE 0x801D - GL_POST_CONVOLUTION_BLUE_SCALE 0x801E - GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F - GL_POST_CONVOLUTION_RED_BIAS 0x8020 - GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 - GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 - GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 - GL_HISTOGRAM 0x8024 - GL_PROXY_HISTOGRAM 0x8025 - GL_HISTOGRAM_WIDTH 0x8026 - GL_HISTOGRAM_FORMAT 0x8027 - GL_HISTOGRAM_RED_SIZE 0x8028 - GL_HISTOGRAM_GREEN_SIZE 0x8029 - GL_HISTOGRAM_BLUE_SIZE 0x802A - GL_HISTOGRAM_ALPHA_SIZE 0x802B - GL_HISTOGRAM_LUMINANCE_SIZE 0x802C - GL_HISTOGRAM_SINK 0x802D - GL_MINMAX 0x802E - GL_MINMAX_FORMAT 0x802F - GL_MINMAX_SINK 0x8030 - GL_TABLE_TOO_LARGE 0x8031 - GL_COLOR_MATRIX 0x80B1 - GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 - GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 - GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 - GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 - GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 - GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 - GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 - GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 - GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA - GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB - GL_COLOR_TABLE 0x80D0 - GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 - GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 - GL_PROXY_COLOR_TABLE 0x80D3 - GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 - GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 - GL_COLOR_TABLE_SCALE 0x80D6 - GL_COLOR_TABLE_BIAS 0x80D7 - GL_COLOR_TABLE_FORMAT 0x80D8 - GL_COLOR_TABLE_WIDTH 0x80D9 - GL_COLOR_TABLE_RED_SIZE 0x80DA - GL_COLOR_TABLE_GREEN_SIZE 0x80DB - GL_COLOR_TABLE_BLUE_SIZE 0x80DC - GL_COLOR_TABLE_ALPHA_SIZE 0x80DD - GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE - GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF - GL_IGNORE_BORDER 0x8150 - GL_CONSTANT_BORDER 0x8151 - GL_WRAP_BORDER 0x8152 - GL_REPLICATE_BORDER 0x8153 - GL_CONVOLUTION_BORDER_COLOR 0x8154 - void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) - void glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) - void glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params) - void glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params) - void glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) - void glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) - void glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table) - void glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params) - void glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params) - void glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) - void glResetHistogram (GLenum target) - void glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) - void glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params) - void glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params) - void glMinmax (GLenum target, GLenum internalformat, GLboolean sink) - void glResetMinmax (GLenum target) - void glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params) - void glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params) - void glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) - void glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) - void glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params) - void glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params) - void glConvolutionParameteri (GLenum target, GLenum pname, GLint params) - void glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params) - void glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) - void glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) - void glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image) - void glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params) - void glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params) - void glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) - void glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) - void glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) diff --git a/Externals/GLew/auto/extensions/GL_ARB_instanced_arrays b/Externals/GLew/auto/extensions/GL_ARB_instanced_arrays deleted file mode 100644 index e3a5231205..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_instanced_arrays +++ /dev/null @@ -1,5 +0,0 @@ -GL_ARB_instanced_arrays -http://www.opengl.org/registry/specs/ARB/instanced_arrays.txt -GL_ARB_instanced_arrays - GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE - void glVertexAttribDivisorARB (GLuint index, GLuint divisor) diff --git a/Externals/GLew/auto/extensions/GL_ARB_map_buffer_range b/Externals/GLew/auto/extensions/GL_ARB_map_buffer_range deleted file mode 100644 index 6c55bf6174..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_map_buffer_range +++ /dev/null @@ -1,11 +0,0 @@ -GL_ARB_map_buffer_range -http://www.opengl.org/registry/specs/ARB/map_buffer_range.txt -GL_ARB_map_buffer_range - GL_MAP_READ_BIT 0x0001 - GL_MAP_WRITE_BIT 0x0002 - GL_MAP_INVALIDATE_RANGE_BIT 0x0004 - GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 - GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 - GL_MAP_UNSYNCHRONIZED_BIT 0x0020 - void glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length) - GLvoid * glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) diff --git a/Externals/GLew/auto/extensions/GL_ARB_matrix_palette b/Externals/GLew/auto/extensions/GL_ARB_matrix_palette deleted file mode 100644 index 4b67c15cf4..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_matrix_palette +++ /dev/null @@ -1,18 +0,0 @@ -GL_ARB_matrix_palette -http://oss.sgi.com/projects/ogl-sample/registry/ARB/matrix_palette.txt -GL_ARB_matrix_palette - GL_MATRIX_PALETTE_ARB 0x8840 - GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 - GL_MAX_PALETTE_MATRICES_ARB 0x8842 - GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 - GL_MATRIX_INDEX_ARRAY_ARB 0x8844 - GL_CURRENT_MATRIX_INDEX_ARB 0x8845 - GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 - GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 - GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 - GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 - void glCurrentPaletteMatrixARB (GLint index) - void glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) - void glMatrixIndexubvARB (GLint size, GLubyte *indices) - void glMatrixIndexusvARB (GLint size, GLushort *indices) - void glMatrixIndexuivARB (GLint size, GLuint *indices) diff --git a/Externals/GLew/auto/extensions/GL_ARB_multisample b/Externals/GLew/auto/extensions/GL_ARB_multisample deleted file mode 100644 index 6abf9e7f52..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_multisample +++ /dev/null @@ -1,13 +0,0 @@ -GL_ARB_multisample -http://www.opengl.org/registry/specs/ARB/multisample.txt -GL_ARB_multisample - GL_MULTISAMPLE_ARB 0x809D - GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E - GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F - GL_SAMPLE_COVERAGE_ARB 0x80A0 - GL_SAMPLE_BUFFERS_ARB 0x80A8 - GL_SAMPLES_ARB 0x80A9 - GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA - GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB - GL_MULTISAMPLE_BIT_ARB 0x20000000 - void glSampleCoverageARB (GLclampf value, GLboolean invert) diff --git a/Externals/GLew/auto/extensions/GL_ARB_multitexture b/Externals/GLew/auto/extensions/GL_ARB_multitexture deleted file mode 100644 index ee80791831..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_multitexture +++ /dev/null @@ -1,72 +0,0 @@ -GL_ARB_multitexture -http://oss.sgi.com/projects/ogl-sample/registry/ARB/multitexture.txt -GL_ARB_multitexture - GL_TEXTURE0_ARB 0x84C0 - GL_TEXTURE1_ARB 0x84C1 - GL_TEXTURE2_ARB 0x84C2 - GL_TEXTURE3_ARB 0x84C3 - GL_TEXTURE4_ARB 0x84C4 - GL_TEXTURE5_ARB 0x84C5 - GL_TEXTURE6_ARB 0x84C6 - GL_TEXTURE7_ARB 0x84C7 - GL_TEXTURE8_ARB 0x84C8 - GL_TEXTURE9_ARB 0x84C9 - GL_TEXTURE10_ARB 0x84CA - GL_TEXTURE11_ARB 0x84CB - GL_TEXTURE12_ARB 0x84CC - GL_TEXTURE13_ARB 0x84CD - GL_TEXTURE14_ARB 0x84CE - GL_TEXTURE15_ARB 0x84CF - GL_TEXTURE16_ARB 0x84D0 - GL_TEXTURE17_ARB 0x84D1 - GL_TEXTURE18_ARB 0x84D2 - GL_TEXTURE19_ARB 0x84D3 - GL_TEXTURE20_ARB 0x84D4 - GL_TEXTURE21_ARB 0x84D5 - GL_TEXTURE22_ARB 0x84D6 - GL_TEXTURE23_ARB 0x84D7 - GL_TEXTURE24_ARB 0x84D8 - GL_TEXTURE25_ARB 0x84D9 - GL_TEXTURE26_ARB 0x84DA - GL_TEXTURE27_ARB 0x84DB - GL_TEXTURE28_ARB 0x84DC - GL_TEXTURE29_ARB 0x84DD - GL_TEXTURE30_ARB 0x84DE - GL_TEXTURE31_ARB 0x84DF - GL_ACTIVE_TEXTURE_ARB 0x84E0 - GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 - GL_MAX_TEXTURE_UNITS_ARB 0x84E2 - void glActiveTextureARB (GLenum texture) - void glClientActiveTextureARB (GLenum texture) - void glMultiTexCoord1dARB (GLenum target, GLdouble s) - void glMultiTexCoord1dvARB (GLenum target, const GLdouble *v) - void glMultiTexCoord1fARB (GLenum target, GLfloat s) - void glMultiTexCoord1fvARB (GLenum target, const GLfloat *v) - void glMultiTexCoord1iARB (GLenum target, GLint s) - void glMultiTexCoord1ivARB (GLenum target, const GLint *v) - void glMultiTexCoord1sARB (GLenum target, GLshort s) - void glMultiTexCoord1svARB (GLenum target, const GLshort *v) - void glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t) - void glMultiTexCoord2dvARB (GLenum target, const GLdouble *v) - void glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t) - void glMultiTexCoord2fvARB (GLenum target, const GLfloat *v) - void glMultiTexCoord2iARB (GLenum target, GLint s, GLint t) - void glMultiTexCoord2ivARB (GLenum target, const GLint *v) - void glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t) - void glMultiTexCoord2svARB (GLenum target, const GLshort *v) - void glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r) - void glMultiTexCoord3dvARB (GLenum target, const GLdouble *v) - void glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r) - void glMultiTexCoord3fvARB (GLenum target, const GLfloat *v) - void glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r) - void glMultiTexCoord3ivARB (GLenum target, const GLint *v) - void glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r) - void glMultiTexCoord3svARB (GLenum target, const GLshort *v) - void glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) - void glMultiTexCoord4dvARB (GLenum target, const GLdouble *v) - void glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) - void glMultiTexCoord4fvARB (GLenum target, const GLfloat *v) - void glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q) - void glMultiTexCoord4ivARB (GLenum target, const GLint *v) - void glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) - void glMultiTexCoord4svARB (GLenum target, const GLshort *v) diff --git a/Externals/GLew/auto/extensions/GL_ARB_occlusion_query b/Externals/GLew/auto/extensions/GL_ARB_occlusion_query deleted file mode 100644 index 18e10aa37a..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_occlusion_query +++ /dev/null @@ -1,16 +0,0 @@ -GL_ARB_occlusion_query -http://www.opengl.org/registry/specs/ARB/occlusion_query.txt -GL_ARB_occlusion_query - GL_QUERY_COUNTER_BITS_ARB 0x8864 - GL_CURRENT_QUERY_ARB 0x8865 - GL_QUERY_RESULT_ARB 0x8866 - GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 - GL_SAMPLES_PASSED_ARB 0x8914 - void glBeginQueryARB (GLenum target, GLuint id) - void glDeleteQueriesARB (GLsizei n, const GLuint* ids) - void glEndQueryARB (GLenum target) - void glGenQueriesARB (GLsizei n, GLuint* ids) - void glGetQueryObjectivARB (GLuint id, GLenum pname, GLint* params) - void glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint* params) - void glGetQueryivARB (GLenum target, GLenum pname, GLint* params) - GLboolean glIsQueryARB (GLuint id) diff --git a/Externals/GLew/auto/extensions/GL_ARB_occlusion_query2 b/Externals/GLew/auto/extensions/GL_ARB_occlusion_query2 deleted file mode 100644 index 5dad0135f8..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_occlusion_query2 +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_occlusion_query2 -http://www.opengl.org/registry/specs/ARB/occlusion_query2.txt -GL_ARB_occlusion_query2 - GL_ANY_SAMPLES_PASSED 0x8C2F diff --git a/Externals/GLew/auto/extensions/GL_ARB_pixel_buffer_object b/Externals/GLew/auto/extensions/GL_ARB_pixel_buffer_object deleted file mode 100644 index ccec4ccde9..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_pixel_buffer_object +++ /dev/null @@ -1,7 +0,0 @@ -GL_ARB_pixel_buffer_object -http://www.opengl.org/registry/specs/ARB/pixel_buffer_object.txt -GL_ARB_pixel_buffer_object - GL_PIXEL_PACK_BUFFER_ARB 0x88EB - GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC - GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED - GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF diff --git a/Externals/GLew/auto/extensions/GL_ARB_point_parameters b/Externals/GLew/auto/extensions/GL_ARB_point_parameters deleted file mode 100644 index 6c15a02171..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_point_parameters +++ /dev/null @@ -1,9 +0,0 @@ -GL_ARB_point_parameters -http://www.opengl.org/registry/specs/ARB/point_parameters.txt -GL_ARB_point_parameters - GL_POINT_SIZE_MIN_ARB 0x8126 - GL_POINT_SIZE_MAX_ARB 0x8127 - GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 - GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 - void glPointParameterfARB (GLenum pname, GLfloat param) - void glPointParameterfvARB (GLenum pname, GLfloat* params) diff --git a/Externals/GLew/auto/extensions/GL_ARB_point_sprite b/Externals/GLew/auto/extensions/GL_ARB_point_sprite deleted file mode 100644 index 8f2c2e88ef..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_point_sprite +++ /dev/null @@ -1,5 +0,0 @@ -GL_ARB_point_sprite -http://www.opengl.org/registry/specs/ARB/point_sprite.txt -GL_ARB_point_sprite - GL_POINT_SPRITE_ARB 0x8861 - GL_COORD_REPLACE_ARB 0x8862 diff --git a/Externals/GLew/auto/extensions/GL_ARB_provoking_vertex b/Externals/GLew/auto/extensions/GL_ARB_provoking_vertex deleted file mode 100644 index 3e2f16de43..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_provoking_vertex +++ /dev/null @@ -1,8 +0,0 @@ -GL_ARB_provoking_vertex -http://www.opengl.org/registry/specs/ARB/provoking_vertex.txt -GL_ARB_provoking_vertex - GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C - GL_FIRST_VERTEX_CONVENTION 0x8E4D - GL_LAST_VERTEX_CONVENTION 0x8E4E - GL_PROVOKING_VERTEX 0x8E4F - void glProvokingVertex (GLenum mode) diff --git a/Externals/GLew/auto/extensions/GL_ARB_sample_shading b/Externals/GLew/auto/extensions/GL_ARB_sample_shading deleted file mode 100644 index 0d8b105d80..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_sample_shading +++ /dev/null @@ -1,6 +0,0 @@ -GL_ARB_sample_shading -http://www.opengl.org/registry/specs/ARB/sample_shading.txt -GL_ARB_sample_shading - GL_SAMPLE_SHADING_ARB 0x8C36 - GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 - void glMinSampleShadingARB (GLclampf value) diff --git a/Externals/GLew/auto/extensions/GL_ARB_sampler_objects b/Externals/GLew/auto/extensions/GL_ARB_sampler_objects deleted file mode 100644 index c9423909ea..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_sampler_objects +++ /dev/null @@ -1,18 +0,0 @@ -GL_ARB_sampler_objects -http://www.opengl.org/registry/specs/ARB/sampler_objects.txt -GL_ARB_sampler_objects - GL_SAMPLER_BINDING 0x8919 - void glBindSampler (GLuint unit, GLuint sampler) - void glDeleteSamplers (GLsizei count, const GLuint * samplers) - void glGenSamplers (GLsizei count, GLuint* samplers) - void glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint* params) - void glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint* params) - void glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat* params) - void glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint* params) - GLboolean glIsSampler (GLuint sampler) - void glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint* params) - void glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint* params) - void glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param) - void glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat* params) - void glSamplerParameteri (GLuint sampler, GLenum pname, GLint param) - void glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_ARB_seamless_cube_map b/Externals/GLew/auto/extensions/GL_ARB_seamless_cube_map deleted file mode 100644 index c6b5941b6e..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_seamless_cube_map +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_seamless_cube_map -http://www.opengl.org/registry/specs/ARB/seamless_cube_map.txt -GL_ARB_seamless_cube_map - GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F diff --git a/Externals/GLew/auto/extensions/GL_ARB_shader_bit_encoding b/Externals/GLew/auto/extensions/GL_ARB_shader_bit_encoding deleted file mode 100644 index 9c00ed7e52..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_shader_bit_encoding +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_shader_bit_encoding -http://www.opengl.org/registry/specs/ARB/shader_bit_encoding.txt -GL_ARB_shader_bit_encoding diff --git a/Externals/GLew/auto/extensions/GL_ARB_shader_objects b/Externals/GLew/auto/extensions/GL_ARB_shader_objects deleted file mode 100644 index fc24d978a4..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_shader_objects +++ /dev/null @@ -1,78 +0,0 @@ -GL_ARB_shader_objects -http://www.opengl.org/registry/specs/ARB/shader_objects.txt -GL_ARB_shader_objects - GL_PROGRAM_OBJECT_ARB 0x8B40 - GL_SHADER_OBJECT_ARB 0x8B48 - GL_OBJECT_TYPE_ARB 0x8B4E - GL_OBJECT_SUBTYPE_ARB 0x8B4F - GL_FLOAT_VEC2_ARB 0x8B50 - GL_FLOAT_VEC3_ARB 0x8B51 - GL_FLOAT_VEC4_ARB 0x8B52 - GL_INT_VEC2_ARB 0x8B53 - GL_INT_VEC3_ARB 0x8B54 - GL_INT_VEC4_ARB 0x8B55 - GL_BOOL_ARB 0x8B56 - GL_BOOL_VEC2_ARB 0x8B57 - GL_BOOL_VEC3_ARB 0x8B58 - GL_BOOL_VEC4_ARB 0x8B59 - GL_FLOAT_MAT2_ARB 0x8B5A - GL_FLOAT_MAT3_ARB 0x8B5B - GL_FLOAT_MAT4_ARB 0x8B5C - GL_SAMPLER_1D_ARB 0x8B5D - GL_SAMPLER_2D_ARB 0x8B5E - GL_SAMPLER_3D_ARB 0x8B5F - GL_SAMPLER_CUBE_ARB 0x8B60 - GL_SAMPLER_1D_SHADOW_ARB 0x8B61 - GL_SAMPLER_2D_SHADOW_ARB 0x8B62 - GL_SAMPLER_2D_RECT_ARB 0x8B63 - GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 - GL_OBJECT_DELETE_STATUS_ARB 0x8B80 - GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 - GL_OBJECT_LINK_STATUS_ARB 0x8B82 - GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 - GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 - GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 - GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 - GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 - GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 - void glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj) - void glCompileShaderARB (GLhandleARB shaderObj) - GLhandleARB glCreateProgramObjectARB (void) - GLhandleARB glCreateShaderObjectARB (GLenum shaderType) - void glDeleteObjectARB (GLhandleARB obj) - void glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj) - void glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name) - void glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB *obj) - GLhandleARB glGetHandleARB (GLenum pname) - void glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *infoLog) - void glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat* params) - void glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint* params) - void glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *source) - GLint glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB* name) - void glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat* params) - void glGetUniformivARB (GLhandleARB programObj, GLint location, GLint* params) - void glLinkProgramARB (GLhandleARB programObj) - void glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint *length) - void glUniform1fARB (GLint location, GLfloat v0) - void glUniform1fvARB (GLint location, GLsizei count, const GLfloat* value) - void glUniform1iARB (GLint location, GLint v0) - void glUniform1ivARB (GLint location, GLsizei count, const GLint* value) - void glUniform2fARB (GLint location, GLfloat v0, GLfloat v1) - void glUniform2fvARB (GLint location, GLsizei count, const GLfloat* value) - void glUniform2iARB (GLint location, GLint v0, GLint v1) - void glUniform2ivARB (GLint location, GLsizei count, const GLint* value) - void glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) - void glUniform3fvARB (GLint location, GLsizei count, const GLfloat* value) - void glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2) - void glUniform3ivARB (GLint location, GLsizei count, const GLint* value) - void glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) - void glUniform4fvARB (GLint location, GLsizei count, const GLfloat* value) - void glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) - void glUniform4ivARB (GLint location, GLsizei count, const GLint* value) - void glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glUseProgramObjectARB (GLhandleARB programObj) - void glValidateProgramARB (GLhandleARB programObj) - typedef char GLcharARB - typedef unsigned int GLhandleARB diff --git a/Externals/GLew/auto/extensions/GL_ARB_shader_subroutine b/Externals/GLew/auto/extensions/GL_ARB_shader_subroutine deleted file mode 100644 index a89f08f390..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_shader_subroutine +++ /dev/null @@ -1,20 +0,0 @@ -GL_ARB_shader_subroutine -http://www.opengl.org/registry/specs/ARB/shader_subroutine.txt -GL_ARB_shader_subroutine - GL_ACTIVE_SUBROUTINES 0x8DE5 - GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 - GL_MAX_SUBROUTINES 0x8DE7 - GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 - GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 - GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 - GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 - GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A - GL_COMPATIBLE_SUBROUTINES 0x8E4B - void glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, char *name) - void glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, char *name) - void glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint* values) - void glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint* values) - GLuint glGetSubroutineIndex (GLuint program, GLenum shadertype, const char* name) - GLint glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const char* name) - void glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint* params) - void glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint* indices) diff --git a/Externals/GLew/auto/extensions/GL_ARB_shader_texture_lod b/Externals/GLew/auto/extensions/GL_ARB_shader_texture_lod deleted file mode 100644 index 1366c86e88..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_shader_texture_lod +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_shader_texture_lod -http://www.opengl.org/registry/specs/ARB/shader_texture_lod.txt -GL_ARB_shader_texture_lod diff --git a/Externals/GLew/auto/extensions/GL_ARB_shading_language_100 b/Externals/GLew/auto/extensions/GL_ARB_shading_language_100 deleted file mode 100644 index 53cd0d46f0..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_shading_language_100 +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_shading_language_100 -http://www.opengl.org/registry/specs/ARB/shading_language_100.txt -GL_ARB_shading_language_100 - GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C diff --git a/Externals/GLew/auto/extensions/GL_ARB_shading_language_include b/Externals/GLew/auto/extensions/GL_ARB_shading_language_include deleted file mode 100644 index d8dd5b2b69..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_shading_language_include +++ /dev/null @@ -1,12 +0,0 @@ -GL_ARB_shading_language_include -http://www.opengl.org/registry/specs/ARB/shading_language_include.txt -GL_ARB_shading_language_include - GL_SHADER_INCLUDE_ARB 0x8DAE - GL_NAMED_STRING_LENGTH_ARB 0x8DE9 - GL_NAMED_STRING_TYPE_ARB 0x8DEA - void glCompileShaderIncludeARB (GLuint shader, GLsizei count, const char ** path, const GLint *length) - void glDeleteNamedStringARB (GLint namelen, const char* name) - void glGetNamedStringARB (GLint namelen, const char* name, GLsizei bufSize, GLint *stringlen, char *string) - void glGetNamedStringivARB (GLint namelen, const char* name, GLenum pname, GLint *params) - GLboolean glIsNamedStringARB (GLint namelen, const char* name) - void glNamedStringARB (GLenum type, GLint namelen, const char* name, GLint stringlen, const char *string) diff --git a/Externals/GLew/auto/extensions/GL_ARB_shadow b/Externals/GLew/auto/extensions/GL_ARB_shadow deleted file mode 100644 index eeaca307f7..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_shadow +++ /dev/null @@ -1,6 +0,0 @@ -GL_ARB_shadow -http://www.opengl.org/registry/specs/ARB/shadow.txt -GL_ARB_shadow - GL_TEXTURE_COMPARE_MODE_ARB 0x884C - GL_TEXTURE_COMPARE_FUNC_ARB 0x884D - GL_COMPARE_R_TO_TEXTURE_ARB 0x884E diff --git a/Externals/GLew/auto/extensions/GL_ARB_shadow_ambient b/Externals/GLew/auto/extensions/GL_ARB_shadow_ambient deleted file mode 100644 index d2e13a04b4..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_shadow_ambient +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_shadow_ambient -http://www.opengl.org/registry/specs/ARB/shadow_ambient.txt -GL_ARB_shadow_ambient - GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF diff --git a/Externals/GLew/auto/extensions/GL_ARB_sync b/Externals/GLew/auto/extensions/GL_ARB_sync deleted file mode 100644 index 883dc897d7..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_sync +++ /dev/null @@ -1,25 +0,0 @@ -GL_ARB_sync -http://www.opengl.org/registry/specs/ARB/sync.txt -GL_ARB_sync - GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 - GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 - GL_OBJECT_TYPE 0x9112 - GL_SYNC_CONDITION 0x9113 - GL_SYNC_STATUS 0x9114 - GL_SYNC_FLAGS 0x9115 - GL_SYNC_FENCE 0x9116 - GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 - GL_UNSIGNALED 0x9118 - GL_SIGNALED 0x9119 - GL_ALREADY_SIGNALED 0x911A - GL_TIMEOUT_EXPIRED 0x911B - GL_CONDITION_SATISFIED 0x911C - GL_WAIT_FAILED 0x911D - GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFF - GLenum glClientWaitSync (GLsync GLsync,GLbitfield flags,GLuint64 timeout) - void glDeleteSync (GLsync GLsync) - GLsync glFenceSync (GLenum condition,GLbitfield flags) - void glGetInteger64v (GLenum pname, GLint64* params) - void glGetSynciv (GLsync GLsync,GLenum pname,GLsizei bufSize,GLsizei* length, GLint *values) - GLboolean glIsSync (GLsync GLsync) - void glWaitSync (GLsync GLsync,GLbitfield flags,GLuint64 timeout) diff --git a/Externals/GLew/auto/extensions/GL_ARB_tessellation_shader b/Externals/GLew/auto/extensions/GL_ARB_tessellation_shader deleted file mode 100644 index c7376507cc..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_tessellation_shader +++ /dev/null @@ -1,37 +0,0 @@ -GL_ARB_tessellation_shader -http://www.opengl.org/registry/specs/ARB/tessellation_shader.txt -GL_ARB_tessellation_shader - GL_PATCHES 0xE - GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 - GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 - GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C - GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D - GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E - GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F - GL_PATCH_VERTICES 0x8E72 - GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 - GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 - GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 - GL_TESS_GEN_MODE 0x8E76 - GL_TESS_GEN_SPACING 0x8E77 - GL_TESS_GEN_VERTEX_ORDER 0x8E78 - GL_TESS_GEN_POINT_MODE 0x8E79 - GL_ISOLINES 0x8E7A - GL_FRACTIONAL_ODD 0x8E7B - GL_FRACTIONAL_EVEN 0x8E7C - GL_MAX_PATCH_VERTICES 0x8E7D - GL_MAX_TESS_GEN_LEVEL 0x8E7E - GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F - GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 - GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 - GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 - GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 - GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 - GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 - GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 - GL_TESS_EVALUATION_SHADER 0x8E87 - GL_TESS_CONTROL_SHADER 0x8E88 - GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 - GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A - void glPatchParameterfv (GLenum pname, const GLfloat* values) - void glPatchParameteri (GLenum pname, GLint value) diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_border_clamp b/Externals/GLew/auto/extensions/GL_ARB_texture_border_clamp deleted file mode 100644 index 14e74fbe03..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_border_clamp +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_texture_border_clamp -http://www.opengl.org/registry/specs/ARB/texture_border_clamp.txt -GL_ARB_texture_border_clamp - GL_CLAMP_TO_BORDER_ARB 0x812D diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_buffer_object b/Externals/GLew/auto/extensions/GL_ARB_texture_buffer_object deleted file mode 100644 index bae7fc6e17..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_buffer_object +++ /dev/null @@ -1,9 +0,0 @@ -GL_ARB_texture_buffer_object -http://www.opengl.org/registry/specs/ARB/texture_buffer_object.txt -GL_ARB_texture_buffer_object - GL_TEXTURE_BUFFER_ARB 0x8C2A - GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B - GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C - GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D - GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E - void glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer) diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_buffer_object_rgb32 b/Externals/GLew/auto/extensions/GL_ARB_texture_buffer_object_rgb32 deleted file mode 100644 index ddac257ebe..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_buffer_object_rgb32 +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_texture_buffer_object_rgb32 -http://www.opengl.org/registry/specs/ARB/texture_buffer_object_rgb32.txt -GL_ARB_texture_buffer_object_rgb32 diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_compression b/Externals/GLew/auto/extensions/GL_ARB_texture_compression deleted file mode 100644 index c32a6fba88..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_compression +++ /dev/null @@ -1,21 +0,0 @@ -GL_ARB_texture_compression -http://www.opengl.org/registry/specs/ARB/texture_compression.txt -GL_ARB_texture_compression - GL_COMPRESSED_ALPHA_ARB 0x84E9 - GL_COMPRESSED_LUMINANCE_ARB 0x84EA - GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB - GL_COMPRESSED_INTENSITY_ARB 0x84EC - GL_COMPRESSED_RGB_ARB 0x84ED - GL_COMPRESSED_RGBA_ARB 0x84EE - GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF - GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 - GL_TEXTURE_COMPRESSED_ARB 0x86A1 - GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 - GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 - void glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data) - void glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) - void glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data) - void glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data) - void glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data) - void glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data) - void glGetCompressedTexImageARB (GLenum target, GLint lod, void* img) diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_compression_bptc b/Externals/GLew/auto/extensions/GL_ARB_texture_compression_bptc deleted file mode 100644 index a476d78f4c..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_compression_bptc +++ /dev/null @@ -1,7 +0,0 @@ -GL_ARB_texture_compression_bptc -http://www.opengl.org/registry/specs/ARB/texture_compression_bptc.txt -GL_ARB_texture_compression_bptc - GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C - GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D - GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E - GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_compression_rgtc b/Externals/GLew/auto/extensions/GL_ARB_texture_compression_rgtc deleted file mode 100644 index 233597e61d..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_compression_rgtc +++ /dev/null @@ -1,7 +0,0 @@ -GL_ARB_texture_compression_rgtc -http://www.opengl.org/registry/specs/ARB/texture_compression_rgtc.txt -GL_ARB_texture_compression_rgtc - GL_COMPRESSED_RED_RGTC1 0x8DBB - GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC - GL_COMPRESSED_RG_RGTC2 0x8DBD - GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_cube_map b/Externals/GLew/auto/extensions/GL_ARB_texture_cube_map deleted file mode 100644 index 67f232e6a5..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_cube_map +++ /dev/null @@ -1,15 +0,0 @@ -GL_ARB_texture_cube_map -http://www.opengl.org/registry/specs/ARB/texture_cube_map.txt -GL_ARB_texture_cube_map - GL_NORMAL_MAP_ARB 0x8511 - GL_REFLECTION_MAP_ARB 0x8512 - GL_TEXTURE_CUBE_MAP_ARB 0x8513 - GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 - GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 - GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 - GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 - GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A - GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B - GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_cube_map_array b/Externals/GLew/auto/extensions/GL_ARB_texture_cube_map_array deleted file mode 100644 index fcb7223ec9..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_cube_map_array +++ /dev/null @@ -1,10 +0,0 @@ -GL_ARB_texture_cube_map_array -http://www.opengl.org/registry/specs/ARB/texture_cube_map_array.txt -GL_ARB_texture_cube_map_array - GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 - GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A - GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B - GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C - GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D - GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E - GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_env_add b/Externals/GLew/auto/extensions/GL_ARB_texture_env_add deleted file mode 100644 index 9f6f889e4a..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_env_add +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_texture_env_add -http://www.opengl.org/registry/specs/ARB/texture_env_add.txt -GL_ARB_texture_env_add diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_env_combine b/Externals/GLew/auto/extensions/GL_ARB_texture_env_combine deleted file mode 100644 index 94d689e000..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_env_combine +++ /dev/null @@ -1,25 +0,0 @@ -GL_ARB_texture_env_combine -http://www.opengl.org/registry/specs/ARB/texture_env_combine.txt -GL_ARB_texture_env_combine - GL_SUBTRACT_ARB 0x84E7 - GL_COMBINE_ARB 0x8570 - GL_COMBINE_RGB_ARB 0x8571 - GL_COMBINE_ALPHA_ARB 0x8572 - GL_RGB_SCALE_ARB 0x8573 - GL_ADD_SIGNED_ARB 0x8574 - GL_INTERPOLATE_ARB 0x8575 - GL_CONSTANT_ARB 0x8576 - GL_PRIMARY_COLOR_ARB 0x8577 - GL_PREVIOUS_ARB 0x8578 - GL_SOURCE0_RGB_ARB 0x8580 - GL_SOURCE1_RGB_ARB 0x8581 - GL_SOURCE2_RGB_ARB 0x8582 - GL_SOURCE0_ALPHA_ARB 0x8588 - GL_SOURCE1_ALPHA_ARB 0x8589 - GL_SOURCE2_ALPHA_ARB 0x858A - GL_OPERAND0_RGB_ARB 0x8590 - GL_OPERAND1_RGB_ARB 0x8591 - GL_OPERAND2_RGB_ARB 0x8592 - GL_OPERAND0_ALPHA_ARB 0x8598 - GL_OPERAND1_ALPHA_ARB 0x8599 - GL_OPERAND2_ALPHA_ARB 0x859A diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_env_crossbar b/Externals/GLew/auto/extensions/GL_ARB_texture_env_crossbar deleted file mode 100644 index 93aa97f428..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_env_crossbar +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_texture_env_crossbar -http://www.opengl.org/registry/specs/ARB/texture_env_crossbar.txt -GL_ARB_texture_env_crossbar diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_env_dot3 b/Externals/GLew/auto/extensions/GL_ARB_texture_env_dot3 deleted file mode 100644 index 6e6587fab4..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_env_dot3 +++ /dev/null @@ -1,5 +0,0 @@ -GL_ARB_texture_env_dot3 -http://www.opengl.org/registry/specs/ARB/texture_env_dot3.txt -GL_ARB_texture_env_dot3 - GL_DOT3_RGB_ARB 0x86AE - GL_DOT3_RGBA_ARB 0x86AF diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_float b/Externals/GLew/auto/extensions/GL_ARB_texture_float deleted file mode 100644 index 14d0de6953..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_float +++ /dev/null @@ -1,23 +0,0 @@ -GL_ARB_texture_float -http://www.opengl.org/registry/specs/ARB/texture_float.txt -GL_ARB_texture_float - GL_RGBA32F_ARB 0x8814 - GL_RGB32F_ARB 0x8815 - GL_ALPHA32F_ARB 0x8816 - GL_INTENSITY32F_ARB 0x8817 - GL_LUMINANCE32F_ARB 0x8818 - GL_LUMINANCE_ALPHA32F_ARB 0x8819 - GL_RGBA16F_ARB 0x881A - GL_RGB16F_ARB 0x881B - GL_ALPHA16F_ARB 0x881C - GL_INTENSITY16F_ARB 0x881D - GL_LUMINANCE16F_ARB 0x881E - GL_LUMINANCE_ALPHA16F_ARB 0x881F - GL_TEXTURE_RED_TYPE_ARB 0x8C10 - GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 - GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 - GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 - GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 - GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 - GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 - GL_UNSIGNED_NORMALIZED_ARB 0x8C17 diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_gather b/Externals/GLew/auto/extensions/GL_ARB_texture_gather deleted file mode 100644 index 0f5fd182a4..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_gather +++ /dev/null @@ -1,6 +0,0 @@ -GL_ARB_texture_gather -http://www.opengl.org/registry/specs/ARB/texture_gather.txt -GL_ARB_texture_gather - GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E - GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F - GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_mirrored_repeat b/Externals/GLew/auto/extensions/GL_ARB_texture_mirrored_repeat deleted file mode 100644 index 6d664e9eab..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_mirrored_repeat +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_texture_mirrored_repeat -http://www.opengl.org/registry/specs/ARB/texture_mirrored_repeat.txt -GL_ARB_texture_mirrored_repeat - GL_MIRRORED_REPEAT_ARB 0x8370 diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_multisample b/Externals/GLew/auto/extensions/GL_ARB_texture_multisample deleted file mode 100644 index 9e0e89662b..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_multisample +++ /dev/null @@ -1,28 +0,0 @@ -GL_ARB_texture_multisample -http://www.opengl.org/registry/specs/ARB/texture_multisample.txt -GL_ARB_texture_multisample - GL_SAMPLE_POSITION 0x8E50 - GL_SAMPLE_MASK 0x8E51 - GL_SAMPLE_MASK_VALUE 0x8E52 - GL_MAX_SAMPLE_MASK_WORDS 0x8E59 - GL_TEXTURE_2D_MULTISAMPLE 0x9100 - GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 - GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 - GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 - GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 - GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 - GL_TEXTURE_SAMPLES 0x9106 - GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 - GL_SAMPLER_2D_MULTISAMPLE 0x9108 - GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 - GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A - GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B - GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C - GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D - GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E - GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F - GL_MAX_INTEGER_SAMPLES 0x9110 - void glGetMultisamplefv (GLenum pname, GLuint index, GLfloat* val) - void glSampleMaski (GLuint index, GLbitfield mask) - void glTexImage2DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) - void glTexImage3DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_non_power_of_two b/Externals/GLew/auto/extensions/GL_ARB_texture_non_power_of_two deleted file mode 100644 index c711111f51..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_non_power_of_two +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_texture_non_power_of_two -http://www.opengl.org/registry/specs/ARB/texture_non_power_of_two.txt -GL_ARB_texture_non_power_of_two diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_query_lod b/Externals/GLew/auto/extensions/GL_ARB_texture_query_lod deleted file mode 100644 index 981dc84c68..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_query_lod +++ /dev/null @@ -1,3 +0,0 @@ -GL_ARB_texture_query_lod -http://www.opengl.org/registry/specs/ARB/texture_query_lod.txt -GL_ARB_texture_query_lod diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_rectangle b/Externals/GLew/auto/extensions/GL_ARB_texture_rectangle deleted file mode 100644 index 33915d165d..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_rectangle +++ /dev/null @@ -1,9 +0,0 @@ -GL_ARB_texture_rectangle -http://www.opengl.org/registry/specs/ARB/texture_rectangle.txt -GL_ARB_texture_rectangle - GL_TEXTURE_RECTANGLE_ARB 0x84F5 - GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 - GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 - GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 - GL_SAMPLER_2D_RECT_ARB 0x8B63 - GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_rg b/Externals/GLew/auto/extensions/GL_ARB_texture_rg deleted file mode 100644 index 1f55eff6d1..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_rg +++ /dev/null @@ -1,28 +0,0 @@ -GL_ARB_texture_rg -http://www.opengl.org/registry/specs/ARB/texture_rg.txt -GL_ARB_texture_rg - GL_RED 0x1903 - GL_COMPRESSED_RED 0x8225 - GL_COMPRESSED_RG 0x8226 - GL_RG 0x8227 - GL_RG_INTEGER 0x8228 - GL_R8 0x8229 - GL_R16 0x822A - GL_RG8 0x822B - GL_RG16 0x822C - GL_R16F 0x822D - GL_R32F 0x822E - GL_RG16F 0x822F - GL_RG32F 0x8230 - GL_R8I 0x8231 - GL_R8UI 0x8232 - GL_R16I 0x8233 - GL_R16UI 0x8234 - GL_R32I 0x8235 - GL_R32UI 0x8236 - GL_RG8I 0x8237 - GL_RG8UI 0x8238 - GL_RG16I 0x8239 - GL_RG16UI 0x823A - GL_RG32I 0x823B - GL_RG32UI 0x823C diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_rgb10_a2ui b/Externals/GLew/auto/extensions/GL_ARB_texture_rgb10_a2ui deleted file mode 100644 index 7e5d4db08b..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_rgb10_a2ui +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_texture_rgb10_a2ui -http://www.opengl.org/registry/specs/ARB/texture_rgb10_a2ui.txt -GL_ARB_texture_rgb10_a2ui - GL_RGB10_A2UI 0x906F diff --git a/Externals/GLew/auto/extensions/GL_ARB_texture_swizzle b/Externals/GLew/auto/extensions/GL_ARB_texture_swizzle deleted file mode 100644 index 4553324605..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_texture_swizzle +++ /dev/null @@ -1,8 +0,0 @@ -GL_ARB_texture_swizzle -http://www.opengl.org/registry/specs/ARB/texture_swizzle.txt -GL_ARB_texture_swizzle - GL_TEXTURE_SWIZZLE_R 0x8E42 - GL_TEXTURE_SWIZZLE_G 0x8E43 - GL_TEXTURE_SWIZZLE_B 0x8E44 - GL_TEXTURE_SWIZZLE_A 0x8E45 - GL_TEXTURE_SWIZZLE_RGBA 0x8E46 diff --git a/Externals/GLew/auto/extensions/GL_ARB_timer_query b/Externals/GLew/auto/extensions/GL_ARB_timer_query deleted file mode 100644 index 6f64ace39a..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_timer_query +++ /dev/null @@ -1,8 +0,0 @@ -GL_ARB_timer_query -http://www.opengl.org/registry/specs/ARB/timer_query.txt -GL_ARB_timer_query - GL_TIME_ELAPSED 0x88BF - GL_TIMESTAMP 0x8E28 - void glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64* params) - void glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64* params) - void glQueryCounter (GLuint id, GLenum target) diff --git a/Externals/GLew/auto/extensions/GL_ARB_transform_feedback2 b/Externals/GLew/auto/extensions/GL_ARB_transform_feedback2 deleted file mode 100644 index 06c362677f..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_transform_feedback2 +++ /dev/null @@ -1,14 +0,0 @@ -GL_ARB_transform_feedback2 -http://www.opengl.org/registry/specs/ARB/transform_feedback2.txt -GL_ARB_transform_feedback2 - GL_TRANSFORM_FEEDBACK 0x8E22 - GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 - GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 - GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 - void glBindTransformFeedback (GLenum target, GLuint id) - void glDeleteTransformFeedbacks (GLsizei n, const GLuint* ids) - void glDrawTransformFeedback (GLenum mode, GLuint id) - void glGenTransformFeedbacks (GLsizei n, GLuint* ids) - GLboolean glIsTransformFeedback (GLuint id) - void glPauseTransformFeedback (void) - void glResumeTransformFeedback (void) diff --git a/Externals/GLew/auto/extensions/GL_ARB_transform_feedback3 b/Externals/GLew/auto/extensions/GL_ARB_transform_feedback3 deleted file mode 100644 index 37e8f3543a..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_transform_feedback3 +++ /dev/null @@ -1,9 +0,0 @@ -GL_ARB_transform_feedback3 -http://www.opengl.org/registry/specs/ARB/transform_feedback3.txt -GL_ARB_transform_feedback3 - GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 - GL_MAX_VERTEX_STREAMS 0x8E71 - void glBeginQueryIndexed (GLenum target, GLuint index, GLuint id) - void glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream) - void glEndQueryIndexed (GLenum target, GLuint index) - void glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_ARB_transpose_matrix b/Externals/GLew/auto/extensions/GL_ARB_transpose_matrix deleted file mode 100644 index e869bd5aa8..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_transpose_matrix +++ /dev/null @@ -1,11 +0,0 @@ -GL_ARB_transpose_matrix -http://www.opengl.org/registry/specs/ARB/transpose_matrix.txt -GL_ARB_transpose_matrix - GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 - GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 - GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 - GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 - void glLoadTransposeMatrixfARB (GLfloat m[16]) - void glLoadTransposeMatrixdARB (GLdouble m[16]) - void glMultTransposeMatrixfARB (GLfloat m[16]) - void glMultTransposeMatrixdARB (GLdouble m[16]) diff --git a/Externals/GLew/auto/extensions/GL_ARB_uniform_buffer_object b/Externals/GLew/auto/extensions/GL_ARB_uniform_buffer_object deleted file mode 100644 index c4992d1876..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_uniform_buffer_object +++ /dev/null @@ -1,46 +0,0 @@ -GL_ARB_uniform_buffer_object -http://www.opengl.org/registry/specs/ARB/uniform_buffer_object.txt -GL_ARB_uniform_buffer_object - GL_UNIFORM_BUFFER 0x8A11 - GL_UNIFORM_BUFFER_BINDING 0x8A28 - GL_UNIFORM_BUFFER_START 0x8A29 - GL_UNIFORM_BUFFER_SIZE 0x8A2A - GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B - GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C - GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D - GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E - GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F - GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 - GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 - GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 - GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 - GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 - GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 - GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 - GL_UNIFORM_TYPE 0x8A37 - GL_UNIFORM_SIZE 0x8A38 - GL_UNIFORM_NAME_LENGTH 0x8A39 - GL_UNIFORM_BLOCK_INDEX 0x8A3A - GL_UNIFORM_OFFSET 0x8A3B - GL_UNIFORM_ARRAY_STRIDE 0x8A3C - GL_UNIFORM_MATRIX_STRIDE 0x8A3D - GL_UNIFORM_IS_ROW_MAJOR 0x8A3E - GL_UNIFORM_BLOCK_BINDING 0x8A3F - GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 - GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 - GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 - GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 - GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 - GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 - GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 - GL_INVALID_INDEX 0xFFFFFFFF - void glBindBufferBase (GLenum target, GLuint index, GLuint buffer) - void glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) - void glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, char* uniformBlockName) - void glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params) - void glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, char* uniformName) - void glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params) - void glGetIntegeri_v (GLenum target, GLuint index, GLint* data) - GLuint glGetUniformBlockIndex (GLuint program, const char* uniformBlockName) - void glGetUniformIndices (GLuint program, GLsizei uniformCount, const char** uniformNames, GLuint* uniformIndices) - void glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) diff --git a/Externals/GLew/auto/extensions/GL_ARB_vertex_array_bgra b/Externals/GLew/auto/extensions/GL_ARB_vertex_array_bgra deleted file mode 100644 index cf4ef09e6e..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_vertex_array_bgra +++ /dev/null @@ -1,4 +0,0 @@ -GL_ARB_vertex_array_bgra -http://www.opengl.org/registry/specs/ARB/vertex_array_bgra.txt -GL_ARB_vertex_array_bgra - GL_BGRA 0x80E1 diff --git a/Externals/GLew/auto/extensions/GL_ARB_vertex_array_object b/Externals/GLew/auto/extensions/GL_ARB_vertex_array_object deleted file mode 100644 index efe7d7c577..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_vertex_array_object +++ /dev/null @@ -1,8 +0,0 @@ -GL_ARB_vertex_array_object -http://www.opengl.org/registry/specs/ARB/vertex_array_object.txt -GL_ARB_vertex_array_object - GL_VERTEX_ARRAY_BINDING 0x85B5 - void glBindVertexArray (GLuint array) - void glDeleteVertexArrays (GLsizei n, const GLuint* arrays) - void glGenVertexArrays (GLsizei n, GLuint* arrays) - GLboolean glIsVertexArray (GLuint array) diff --git a/Externals/GLew/auto/extensions/GL_ARB_vertex_blend b/Externals/GLew/auto/extensions/GL_ARB_vertex_blend deleted file mode 100644 index 8da2c785b9..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_vertex_blend +++ /dev/null @@ -1,55 +0,0 @@ -GL_ARB_vertex_blend -http://oss.sgi.com/projects/ogl-sample/registry/ARB/vertex_blend.txt -GL_ARB_vertex_blend - GL_MAX_VERTEX_UNITS_ARB 0x86A4 - GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 - GL_WEIGHT_SUM_UNITY_ARB 0x86A6 - GL_VERTEX_BLEND_ARB 0x86A7 - GL_CURRENT_WEIGHT_ARB 0x86A8 - GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 - GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA - GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB - GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC - GL_WEIGHT_ARRAY_ARB 0x86AD - GL_MODELVIEW0_ARB 0x1700 - GL_MODELVIEW1_ARB 0x850A - GL_MODELVIEW2_ARB 0x8722 - GL_MODELVIEW3_ARB 0x8723 - GL_MODELVIEW4_ARB 0x8724 - GL_MODELVIEW5_ARB 0x8725 - GL_MODELVIEW6_ARB 0x8726 - GL_MODELVIEW7_ARB 0x8727 - GL_MODELVIEW8_ARB 0x8728 - GL_MODELVIEW9_ARB 0x8729 - GL_MODELVIEW10_ARB 0x872A - GL_MODELVIEW11_ARB 0x872B - GL_MODELVIEW12_ARB 0x872C - GL_MODELVIEW13_ARB 0x872D - GL_MODELVIEW14_ARB 0x872E - GL_MODELVIEW15_ARB 0x872F - GL_MODELVIEW16_ARB 0x8730 - GL_MODELVIEW17_ARB 0x8731 - GL_MODELVIEW18_ARB 0x8732 - GL_MODELVIEW19_ARB 0x8733 - GL_MODELVIEW20_ARB 0x8734 - GL_MODELVIEW21_ARB 0x8735 - GL_MODELVIEW22_ARB 0x8736 - GL_MODELVIEW23_ARB 0x8737 - GL_MODELVIEW24_ARB 0x8738 - GL_MODELVIEW25_ARB 0x8739 - GL_MODELVIEW26_ARB 0x873A - GL_MODELVIEW27_ARB 0x873B - GL_MODELVIEW28_ARB 0x873C - GL_MODELVIEW29_ARB 0x873D - GL_MODELVIEW30_ARB 0x873E - GL_MODELVIEW31_ARB 0x873F - void glWeightbvARB (GLint size, GLbyte *weights) - void glWeightsvARB (GLint size, GLshort *weights) - void glWeightivARB (GLint size, GLint *weights) - void glWeightfvARB (GLint size, GLfloat *weights) - void glWeightdvARB (GLint size, GLdouble *weights) - void glWeightubvARB (GLint size, GLubyte *weights) - void glWeightusvARB (GLint size, GLushort *weights) - void glWeightuivARB (GLint size, GLuint *weights) - void glWeightPointerARB (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) - void glVertexBlendARB (GLint count) diff --git a/Externals/GLew/auto/extensions/GL_ARB_vertex_buffer_object b/Externals/GLew/auto/extensions/GL_ARB_vertex_buffer_object deleted file mode 100644 index bd2ddfae47..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_vertex_buffer_object +++ /dev/null @@ -1,47 +0,0 @@ -GL_ARB_vertex_buffer_object -http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt -GL_ARB_vertex_buffer_object - GL_BUFFER_SIZE_ARB 0x8764 - GL_BUFFER_USAGE_ARB 0x8765 - GL_ARRAY_BUFFER_ARB 0x8892 - GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 - GL_ARRAY_BUFFER_BINDING_ARB 0x8894 - GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 - GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 - GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 - GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 - GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 - GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A - GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B - GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C - GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D - GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E - GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F - GL_READ_ONLY_ARB 0x88B8 - GL_WRITE_ONLY_ARB 0x88B9 - GL_READ_WRITE_ARB 0x88BA - GL_BUFFER_ACCESS_ARB 0x88BB - GL_BUFFER_MAPPED_ARB 0x88BC - GL_BUFFER_MAP_POINTER_ARB 0x88BD - GL_STREAM_DRAW_ARB 0x88E0 - GL_STREAM_READ_ARB 0x88E1 - GL_STREAM_COPY_ARB 0x88E2 - GL_STATIC_DRAW_ARB 0x88E4 - GL_STATIC_READ_ARB 0x88E5 - GL_STATIC_COPY_ARB 0x88E6 - GL_DYNAMIC_DRAW_ARB 0x88E8 - GL_DYNAMIC_READ_ARB 0x88E9 - GL_DYNAMIC_COPY_ARB 0x88EA - void glBindBufferARB (GLenum target, GLuint buffer) - void glBufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage) - void glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data) - void glDeleteBuffersARB (GLsizei n, const GLuint* buffers) - void glGenBuffersARB (GLsizei n, GLuint* buffers) - void glGetBufferParameterivARB (GLenum target, GLenum pname, GLint* params) - void glGetBufferPointervARB (GLenum target, GLenum pname, GLvoid** params) - void glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid* data) - GLboolean glIsBufferARB (GLuint buffer) - GLvoid * glMapBufferARB (GLenum target, GLenum access) - GLboolean glUnmapBufferARB (GLenum target) - typedef ptrdiff_t GLsizeiptrARB - typedef ptrdiff_t GLintptrARB diff --git a/Externals/GLew/auto/extensions/GL_ARB_vertex_program b/Externals/GLew/auto/extensions/GL_ARB_vertex_program deleted file mode 100644 index 81fd69d7b5..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_vertex_program +++ /dev/null @@ -1,144 +0,0 @@ -GL_ARB_vertex_program -http://www.opengl.org/registry/specs/ARB/vertex_program.txt -GL_ARB_vertex_program - GL_COLOR_SUM_ARB 0x8458 - GL_VERTEX_PROGRAM_ARB 0x8620 - GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 - GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 - GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 - GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 - GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 - GL_PROGRAM_LENGTH_ARB 0x8627 - GL_PROGRAM_STRING_ARB 0x8628 - GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E - GL_MAX_PROGRAM_MATRICES_ARB 0x862F - GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 - GL_CURRENT_MATRIX_ARB 0x8641 - GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 - GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 - GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 - GL_PROGRAM_ERROR_POSITION_ARB 0x864B - GL_PROGRAM_BINDING_ARB 0x8677 - GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 - GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A - GL_PROGRAM_ERROR_STRING_ARB 0x8874 - GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 - GL_PROGRAM_FORMAT_ARB 0x8876 - GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 - GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 - GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 - GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 - GL_PROGRAM_TEMPORARIES_ARB 0x88A4 - GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 - GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 - GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 - GL_PROGRAM_PARAMETERS_ARB 0x88A8 - GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 - GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA - GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB - GL_PROGRAM_ATTRIBS_ARB 0x88AC - GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD - GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE - GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF - GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 - GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 - GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 - GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 - GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 - GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 - GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 - GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 - GL_MATRIX0_ARB 0x88C0 - GL_MATRIX1_ARB 0x88C1 - GL_MATRIX2_ARB 0x88C2 - GL_MATRIX3_ARB 0x88C3 - GL_MATRIX4_ARB 0x88C4 - GL_MATRIX5_ARB 0x88C5 - GL_MATRIX6_ARB 0x88C6 - GL_MATRIX7_ARB 0x88C7 - GL_MATRIX8_ARB 0x88C8 - GL_MATRIX9_ARB 0x88C9 - GL_MATRIX10_ARB 0x88CA - GL_MATRIX11_ARB 0x88CB - GL_MATRIX12_ARB 0x88CC - GL_MATRIX13_ARB 0x88CD - GL_MATRIX14_ARB 0x88CE - GL_MATRIX15_ARB 0x88CF - GL_MATRIX16_ARB 0x88D0 - GL_MATRIX17_ARB 0x88D1 - GL_MATRIX18_ARB 0x88D2 - GL_MATRIX19_ARB 0x88D3 - GL_MATRIX20_ARB 0x88D4 - GL_MATRIX21_ARB 0x88D5 - GL_MATRIX22_ARB 0x88D6 - GL_MATRIX23_ARB 0x88D7 - GL_MATRIX24_ARB 0x88D8 - GL_MATRIX25_ARB 0x88D9 - GL_MATRIX26_ARB 0x88DA - GL_MATRIX27_ARB 0x88DB - GL_MATRIX28_ARB 0x88DC - GL_MATRIX29_ARB 0x88DD - GL_MATRIX30_ARB 0x88DE - GL_MATRIX31_ARB 0x88DF - void glBindProgramARB (GLenum target, GLuint program) - void glDeleteProgramsARB (GLsizei n, const GLuint* programs) - void glDisableVertexAttribArrayARB (GLuint index) - void glEnableVertexAttribArrayARB (GLuint index) - void glGenProgramsARB (GLsizei n, GLuint* programs) - void glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble* params) - void glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat* params) - void glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble* params) - void glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat* params) - void glGetProgramStringARB (GLenum target, GLenum pname, void* string) - void glGetProgramivARB (GLenum target, GLenum pname, GLint* params) - void glGetVertexAttribPointervARB (GLuint index, GLenum pname, GLvoid** pointer) - void glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble* params) - void glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat* params) - void glGetVertexAttribivARB (GLuint index, GLenum pname, GLint* params) - GLboolean glIsProgramARB (GLuint program) - void glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble* params) - void glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat* params) - void glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble* params) - void glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat* params) - void glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void* string) - void glVertexAttrib1dARB (GLuint index, GLdouble x) - void glVertexAttrib1dvARB (GLuint index, const GLdouble* v) - void glVertexAttrib1fARB (GLuint index, GLfloat x) - void glVertexAttrib1fvARB (GLuint index, const GLfloat* v) - void glVertexAttrib1sARB (GLuint index, GLshort x) - void glVertexAttrib1svARB (GLuint index, const GLshort* v) - void glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y) - void glVertexAttrib2dvARB (GLuint index, const GLdouble* v) - void glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y) - void glVertexAttrib2fvARB (GLuint index, const GLfloat* v) - void glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y) - void glVertexAttrib2svARB (GLuint index, const GLshort* v) - void glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z) - void glVertexAttrib3dvARB (GLuint index, const GLdouble* v) - void glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z) - void glVertexAttrib3fvARB (GLuint index, const GLfloat* v) - void glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z) - void glVertexAttrib3svARB (GLuint index, const GLshort* v) - void glVertexAttrib4NbvARB (GLuint index, const GLbyte* v) - void glVertexAttrib4NivARB (GLuint index, const GLint* v) - void glVertexAttrib4NsvARB (GLuint index, const GLshort* v) - void glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) - void glVertexAttrib4NubvARB (GLuint index, const GLubyte* v) - void glVertexAttrib4NuivARB (GLuint index, const GLuint* v) - void glVertexAttrib4NusvARB (GLuint index, const GLushort* v) - void glVertexAttrib4bvARB (GLuint index, const GLbyte* v) - void glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glVertexAttrib4dvARB (GLuint index, const GLdouble* v) - void glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glVertexAttrib4fvARB (GLuint index, const GLfloat* v) - void glVertexAttrib4ivARB (GLuint index, const GLint* v) - void glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) - void glVertexAttrib4svARB (GLuint index, const GLshort* v) - void glVertexAttrib4ubvARB (GLuint index, const GLubyte* v) - void glVertexAttrib4uivARB (GLuint index, const GLuint* v) - void glVertexAttrib4usvARB (GLuint index, const GLushort* v) - void glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* pointer) diff --git a/Externals/GLew/auto/extensions/GL_ARB_vertex_shader b/Externals/GLew/auto/extensions/GL_ARB_vertex_shader deleted file mode 100644 index 08f5fe152e..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_vertex_shader +++ /dev/null @@ -1,13 +0,0 @@ -GL_ARB_vertex_shader -http://www.opengl.org/registry/specs/ARB/vertex_shader.txt -GL_ARB_vertex_shader - GL_VERTEX_SHADER_ARB 0x8B31 - GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A - GL_MAX_VARYING_FLOATS_ARB 0x8B4B - GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C - GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D - GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 - GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A - void glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB* name) - void glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name) - GLint glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB* name) diff --git a/Externals/GLew/auto/extensions/GL_ARB_vertex_type_2_10_10_10_rev b/Externals/GLew/auto/extensions/GL_ARB_vertex_type_2_10_10_10_rev deleted file mode 100644 index 5259063f5c..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_vertex_type_2_10_10_10_rev +++ /dev/null @@ -1,43 +0,0 @@ -GL_ARB_vertex_type_2_10_10_10_rev -http://www.opengl.org/registry/specs/ARB/vertex_type_2_10_10_10_rev.txt -GL_ARB_vertex_type_2_10_10_10_rev - GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 - GL_INT_2_10_10_10_REV 0x8D9F - void glColorP3ui (GLenum type, GLuint color) - void glColorP3uiv (GLenum type, const GLuint* color) - void glColorP4ui (GLenum type, GLuint color) - void glColorP4uiv (GLenum type, const GLuint* color) - void glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords) - void glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint* coords) - void glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords) - void glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint* coords) - void glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords) - void glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint* coords) - void glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords) - void glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint* coords) - void glNormalP3ui (GLenum type, GLuint coords) - void glNormalP3uiv (GLenum type, const GLuint* coords) - void glSecondaryColorP3ui (GLenum type, GLuint color) - void glSecondaryColorP3uiv (GLenum type, const GLuint* color) - void glTexCoordP1ui (GLenum type, GLuint coords) - void glTexCoordP1uiv (GLenum type, const GLuint* coords) - void glTexCoordP2ui (GLenum type, GLuint coords) - void glTexCoordP2uiv (GLenum type, const GLuint* coords) - void glTexCoordP3ui (GLenum type, GLuint coords) - void glTexCoordP3uiv (GLenum type, const GLuint* coords) - void glTexCoordP4ui (GLenum type, GLuint coords) - void glTexCoordP4uiv (GLenum type, const GLuint* coords) - void glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) - void glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint* value) - void glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) - void glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint* value) - void glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) - void glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint* value) - void glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) - void glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint* value) - void glVertexP2ui (GLenum type, GLuint value) - void glVertexP2uiv (GLenum type, const GLuint* value) - void glVertexP3ui (GLenum type, GLuint value) - void glVertexP3uiv (GLenum type, const GLuint* value) - void glVertexP4ui (GLenum type, GLuint value) - void glVertexP4uiv (GLenum type, const GLuint* value) diff --git a/Externals/GLew/auto/extensions/GL_ARB_window_pos b/Externals/GLew/auto/extensions/GL_ARB_window_pos deleted file mode 100644 index 15e5bf586a..0000000000 --- a/Externals/GLew/auto/extensions/GL_ARB_window_pos +++ /dev/null @@ -1,19 +0,0 @@ -GL_ARB_window_pos -http://www.opengl.org/registry/specs/ARB/window_pos.txt -GL_ARB_window_pos - void glWindowPos2dARB (GLdouble x, GLdouble y) - void glWindowPos2dvARB (const GLdouble* p) - void glWindowPos2fARB (GLfloat x, GLfloat y) - void glWindowPos2fvARB (const GLfloat* p) - void glWindowPos2iARB (GLint x, GLint y) - void glWindowPos2ivARB (const GLint* p) - void glWindowPos2sARB (GLshort x, GLshort y) - void glWindowPos2svARB (const GLshort* p) - void glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z) - void glWindowPos3dvARB (const GLdouble* p) - void glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z) - void glWindowPos3fvARB (const GLfloat* p) - void glWindowPos3iARB (GLint x, GLint y, GLint z) - void glWindowPos3ivARB (const GLint* p) - void glWindowPos3sARB (GLshort x, GLshort y, GLshort z) - void glWindowPos3svARB (const GLshort* p) diff --git a/Externals/GLew/auto/extensions/GL_ATIX_point_sprites b/Externals/GLew/auto/extensions/GL_ATIX_point_sprites deleted file mode 100644 index 0f4f574131..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATIX_point_sprites +++ /dev/null @@ -1,9 +0,0 @@ -GL_ATIX_point_sprites -http://www.ati.com/developer/atiopengl.pdf -GL_ATIX_point_sprites - GL_TEXTURE_POINT_MODE_ATIX 0x60B0 - GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60B1 - GL_TEXTURE_POINT_SPRITE_ATIX 0x60B2 - GL_POINT_SPRITE_CULL_MODE_ATIX 0x60B3 - GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60B4 - GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60B5 diff --git a/Externals/GLew/auto/extensions/GL_ATIX_texture_env_combine3 b/Externals/GLew/auto/extensions/GL_ATIX_texture_env_combine3 deleted file mode 100644 index 537426b95d..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATIX_texture_env_combine3 +++ /dev/null @@ -1,6 +0,0 @@ -GL_ATIX_texture_env_combine3 -http://www.ati.com/developer/atiopengl.pdf -GL_ATIX_texture_env_combine3 - GL_MODULATE_ADD_ATIX 0x8744 - GL_MODULATE_SIGNED_ADD_ATIX 0x8745 - GL_MODULATE_SUBTRACT_ATIX 0x8746 diff --git a/Externals/GLew/auto/extensions/GL_ATIX_texture_env_route b/Externals/GLew/auto/extensions/GL_ATIX_texture_env_route deleted file mode 100644 index 939ae09b95..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATIX_texture_env_route +++ /dev/null @@ -1,6 +0,0 @@ -GL_ATIX_texture_env_route -http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATIX_texture_env_route.txt -GL_ATIX_texture_env_route - GL_SECONDARY_COLOR_ATIX 0x8747 - GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748 - GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749 diff --git a/Externals/GLew/auto/extensions/GL_ATIX_vertex_shader_output_point_size b/Externals/GLew/auto/extensions/GL_ATIX_vertex_shader_output_point_size deleted file mode 100644 index 277a3136cb..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATIX_vertex_shader_output_point_size +++ /dev/null @@ -1,4 +0,0 @@ -GL_ATIX_vertex_shader_output_point_size -http://www.ati.com/developer/atiopengl.pdf -GL_ATIX_vertex_shader_output_point_size - GL_OUTPUT_POINT_SIZE_ATIX 0x610E diff --git a/Externals/GLew/auto/extensions/GL_ATI_draw_buffers b/Externals/GLew/auto/extensions/GL_ATI_draw_buffers deleted file mode 100644 index 34966371a0..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_draw_buffers +++ /dev/null @@ -1,21 +0,0 @@ -GL_ATI_draw_buffers -http://www.opengl.org/registry/specs/ATI/draw_buffers.txt -GL_ATI_draw_buffers - GL_MAX_DRAW_BUFFERS_ATI 0x8824 - GL_DRAW_BUFFER0_ATI 0x8825 - GL_DRAW_BUFFER1_ATI 0x8826 - GL_DRAW_BUFFER2_ATI 0x8827 - GL_DRAW_BUFFER3_ATI 0x8828 - GL_DRAW_BUFFER4_ATI 0x8829 - GL_DRAW_BUFFER5_ATI 0x882A - GL_DRAW_BUFFER6_ATI 0x882B - GL_DRAW_BUFFER7_ATI 0x882C - GL_DRAW_BUFFER8_ATI 0x882D - GL_DRAW_BUFFER9_ATI 0x882E - GL_DRAW_BUFFER10_ATI 0x882F - GL_DRAW_BUFFER11_ATI 0x8830 - GL_DRAW_BUFFER12_ATI 0x8831 - GL_DRAW_BUFFER13_ATI 0x8832 - GL_DRAW_BUFFER14_ATI 0x8833 - GL_DRAW_BUFFER15_ATI 0x8834 - void glDrawBuffersATI (GLsizei n, const GLenum* bufs) diff --git a/Externals/GLew/auto/extensions/GL_ATI_element_array b/Externals/GLew/auto/extensions/GL_ATI_element_array deleted file mode 100644 index 8ad72cebb4..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_element_array +++ /dev/null @@ -1,9 +0,0 @@ -GL_ATI_element_array -http://www.opengl.org/registry/specs/ATI/element_array.txt -GL_ATI_element_array - GL_ELEMENT_ARRAY_ATI 0x8768 - GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 - GL_ELEMENT_ARRAY_POINTER_ATI 0x876A - void glDrawElementArrayATI (GLenum mode, GLsizei count) - void glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count) - void glElementPointerATI (GLenum type, const void* pointer) diff --git a/Externals/GLew/auto/extensions/GL_ATI_envmap_bumpmap b/Externals/GLew/auto/extensions/GL_ATI_envmap_bumpmap deleted file mode 100644 index fbd992551e..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_envmap_bumpmap +++ /dev/null @@ -1,15 +0,0 @@ -GL_ATI_envmap_bumpmap -http://oss.sgi.com/projects/ogl-sample/registry/ATI/envmap_bumpmap.txt -GL_ATI_envmap_bumpmap - GL_BUMP_ROT_MATRIX_ATI 0x8775 - GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 - GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 - GL_BUMP_TEX_UNITS_ATI 0x8778 - GL_DUDV_ATI 0x8779 - GL_DU8DV8_ATI 0x877A - GL_BUMP_ENVMAP_ATI 0x877B - GL_BUMP_TARGET_ATI 0x877C - void glTexBumpParameterivATI (GLenum pname, GLint *param) - void glTexBumpParameterfvATI (GLenum pname, GLfloat *param) - void glGetTexBumpParameterivATI (GLenum pname, GLint *param) - void glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param) diff --git a/Externals/GLew/auto/extensions/GL_ATI_fragment_shader b/Externals/GLew/auto/extensions/GL_ATI_fragment_shader deleted file mode 100644 index 2154d27fac..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_fragment_shader +++ /dev/null @@ -1,71 +0,0 @@ -GL_ATI_fragment_shader -http://www.opengl.org/registry/specs/ATI/fragment_shader.txt -GL_ATI_fragment_shader - GL_RED_BIT_ATI 0x00000001 - GL_2X_BIT_ATI 0x00000001 - GL_4X_BIT_ATI 0x00000002 - GL_GREEN_BIT_ATI 0x00000002 - GL_COMP_BIT_ATI 0x00000002 - GL_BLUE_BIT_ATI 0x00000004 - GL_8X_BIT_ATI 0x00000004 - GL_NEGATE_BIT_ATI 0x00000004 - GL_BIAS_BIT_ATI 0x00000008 - GL_HALF_BIT_ATI 0x00000008 - GL_QUARTER_BIT_ATI 0x00000010 - GL_EIGHTH_BIT_ATI 0x00000020 - GL_SATURATE_BIT_ATI 0x00000040 - GL_FRAGMENT_SHADER_ATI 0x8920 - GL_REG_0_ATI 0x8921 - GL_REG_1_ATI 0x8922 - GL_REG_2_ATI 0x8923 - GL_REG_3_ATI 0x8924 - GL_REG_4_ATI 0x8925 - GL_REG_5_ATI 0x8926 - GL_CON_0_ATI 0x8941 - GL_CON_1_ATI 0x8942 - GL_CON_2_ATI 0x8943 - GL_CON_3_ATI 0x8944 - GL_CON_4_ATI 0x8945 - GL_CON_5_ATI 0x8946 - GL_CON_6_ATI 0x8947 - GL_CON_7_ATI 0x8948 - GL_MOV_ATI 0x8961 - GL_ADD_ATI 0x8963 - GL_MUL_ATI 0x8964 - GL_SUB_ATI 0x8965 - GL_DOT3_ATI 0x8966 - GL_DOT4_ATI 0x8967 - GL_MAD_ATI 0x8968 - GL_LERP_ATI 0x8969 - GL_CND_ATI 0x896A - GL_CND0_ATI 0x896B - GL_DOT2_ADD_ATI 0x896C - GL_SECONDARY_INTERPOLATOR_ATI 0x896D - GL_SWIZZLE_STR_ATI 0x8976 - GL_SWIZZLE_STQ_ATI 0x8977 - GL_SWIZZLE_STR_DR_ATI 0x8978 - GL_SWIZZLE_STQ_DQ_ATI 0x8979 - void glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) - void glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) - void glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) - void glBeginFragmentShaderATI (void) - void glBindFragmentShaderATI (GLuint id) - void glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) - void glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) - void glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) - void glDeleteFragmentShaderATI (GLuint id) - void glEndFragmentShaderATI (void) - GLuint glGenFragmentShadersATI (GLuint range) - void glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle) - void glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle) - void glSetFragmentShaderConstantATI (GLuint dst, const GLfloat* value) - GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E - GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F - GL_NUM_PASSES_ATI 0x8970 - GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 - GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 - GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 - GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 - GL_COLOR_ALPHA_PAIRING_ATI 0x8975 - GL_SWIZZLE_STRQ_ATI 0x897A - GL_SWIZZLE_STRQ_DQ_ATI 0x897B diff --git a/Externals/GLew/auto/extensions/GL_ATI_map_object_buffer b/Externals/GLew/auto/extensions/GL_ATI_map_object_buffer deleted file mode 100644 index f360fa2adc..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_map_object_buffer +++ /dev/null @@ -1,5 +0,0 @@ -GL_ATI_map_object_buffer -http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ATI_map_object_buffer.txt -GL_ATI_map_object_buffer - void* glMapObjectBufferATI (GLuint buffer) - void glUnmapObjectBufferATI (GLuint buffer) diff --git a/Externals/GLew/auto/extensions/GL_ATI_meminfo b/Externals/GLew/auto/extensions/GL_ATI_meminfo deleted file mode 100644 index 5a5719bec0..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_meminfo +++ /dev/null @@ -1,6 +0,0 @@ -GL_ATI_meminfo -http://www.opengl.org/registry/specs/ATI/meminfo.txt -GL_ATI_meminfo - GL_VBO_FREE_MEMORY_ATI 0x87FB - GL_TEXTURE_FREE_MEMORY_ATI 0x87FC - GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD diff --git a/Externals/GLew/auto/extensions/GL_ATI_pn_triangles b/Externals/GLew/auto/extensions/GL_ATI_pn_triangles deleted file mode 100644 index 7b353b5352..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_pn_triangles +++ /dev/null @@ -1,14 +0,0 @@ -GL_ATI_pn_triangles -http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ati_pn_triangles.txt -GL_ATI_pn_triangles - GL_PN_TRIANGLES_ATI 0x87F0 - GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 - GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 - GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 - GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 - GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 - GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 - GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 - GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 - void glPNTrianglesiATI (GLenum pname, GLint param) - void glPNTrianglesfATI (GLenum pname, GLfloat param) diff --git a/Externals/GLew/auto/extensions/GL_ATI_separate_stencil b/Externals/GLew/auto/extensions/GL_ATI_separate_stencil deleted file mode 100644 index c4d82abba9..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_separate_stencil +++ /dev/null @@ -1,9 +0,0 @@ -GL_ATI_separate_stencil -http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/ATI_separate_stencil.txt -GL_ATI_separate_stencil - GL_STENCIL_BACK_FUNC_ATI 0x8800 - GL_STENCIL_BACK_FAIL_ATI 0x8801 - GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 - GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 - void glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) - void glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) diff --git a/Externals/GLew/auto/extensions/GL_ATI_shader_texture_lod b/Externals/GLew/auto/extensions/GL_ATI_shader_texture_lod deleted file mode 100644 index 5fbc624a6b..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_shader_texture_lod +++ /dev/null @@ -1,3 +0,0 @@ -GL_ATI_shader_texture_lod - -GL_ATI_shader_texture_lod diff --git a/Externals/GLew/auto/extensions/GL_ATI_text_fragment_shader b/Externals/GLew/auto/extensions/GL_ATI_text_fragment_shader deleted file mode 100644 index 926c30019a..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_text_fragment_shader +++ /dev/null @@ -1,4 +0,0 @@ -GL_ATI_text_fragment_shader -http://www.opengl.org/registry/specs/ATI/text_fragment_shader.txt -GL_ATI_text_fragment_shader - GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 diff --git a/Externals/GLew/auto/extensions/GL_ATI_texture_compression_3dc b/Externals/GLew/auto/extensions/GL_ATI_texture_compression_3dc deleted file mode 100644 index 2548b30ead..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_texture_compression_3dc +++ /dev/null @@ -1,4 +0,0 @@ -GL_ATI_texture_compression_3dc - -GL_ATI_texture_compression_3dc - GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 diff --git a/Externals/GLew/auto/extensions/GL_ATI_texture_env_combine3 b/Externals/GLew/auto/extensions/GL_ATI_texture_env_combine3 deleted file mode 100644 index e65c170921..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_texture_env_combine3 +++ /dev/null @@ -1,6 +0,0 @@ -GL_ATI_texture_env_combine3 -http://www.opengl.org/registry/specs/ATI/texture_env_combine3.txt -GL_ATI_texture_env_combine3 - GL_MODULATE_ADD_ATI 0x8744 - GL_MODULATE_SIGNED_ADD_ATI 0x8745 - GL_MODULATE_SUBTRACT_ATI 0x8746 diff --git a/Externals/GLew/auto/extensions/GL_ATI_texture_float b/Externals/GLew/auto/extensions/GL_ATI_texture_float deleted file mode 100644 index d8c9b8987b..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_texture_float +++ /dev/null @@ -1,15 +0,0 @@ -GL_ATI_texture_float -http://www.opengl.org/registry/specs/ATI/texture_float.txt -GL_ATI_texture_float - GL_RGBA_FLOAT32_ATI 0x8814 - GL_RGB_FLOAT32_ATI 0x8815 - GL_ALPHA_FLOAT32_ATI 0x8816 - GL_INTENSITY_FLOAT32_ATI 0x8817 - GL_LUMINANCE_FLOAT32_ATI 0x8818 - GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 - GL_RGBA_FLOAT16_ATI 0x881A - GL_RGB_FLOAT16_ATI 0x881B - GL_ALPHA_FLOAT16_ATI 0x881C - GL_INTENSITY_FLOAT16_ATI 0x881D - GL_LUMINANCE_FLOAT16_ATI 0x881E - GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F diff --git a/Externals/GLew/auto/extensions/GL_ATI_texture_mirror_once b/Externals/GLew/auto/extensions/GL_ATI_texture_mirror_once deleted file mode 100644 index a1dabaff55..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_texture_mirror_once +++ /dev/null @@ -1,5 +0,0 @@ -GL_ATI_texture_mirror_once -http://www.opengl.org/registry/specs/ATI/texture_mirror_once.txt -GL_ATI_texture_mirror_once - GL_MIRROR_CLAMP_ATI 0x8742 - GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 diff --git a/Externals/GLew/auto/extensions/GL_ATI_vertex_array_object b/Externals/GLew/auto/extensions/GL_ATI_vertex_array_object deleted file mode 100644 index 5e1a06a921..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_vertex_array_object +++ /dev/null @@ -1,23 +0,0 @@ -GL_ATI_vertex_array_object -http://www.opengl.org/registry/specs/ATI/vertex_array_object.txt -GL_ATI_vertex_array_object - GL_STATIC_ATI 0x8760 - GL_DYNAMIC_ATI 0x8761 - GL_PRESERVE_ATI 0x8762 - GL_DISCARD_ATI 0x8763 - GL_OBJECT_BUFFER_SIZE_ATI 0x8764 - GL_OBJECT_BUFFER_USAGE_ATI 0x8765 - GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 - GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 - void glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) - void glFreeObjectBufferATI (GLuint buffer) - void glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat* params) - void glGetArrayObjectivATI (GLenum array, GLenum pname, GLint* params) - void glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat* params) - void glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint* params) - void glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat* params) - void glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint* params) - GLboolean glIsObjectBufferATI (GLuint buffer) - GLuint glNewObjectBufferATI (GLsizei size, const void* pointer, GLenum usage) - void glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void* pointer, GLenum preserve) - void glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) diff --git a/Externals/GLew/auto/extensions/GL_ATI_vertex_attrib_array_object b/Externals/GLew/auto/extensions/GL_ATI_vertex_attrib_array_object deleted file mode 100644 index c8ce9946e3..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_vertex_attrib_array_object +++ /dev/null @@ -1,6 +0,0 @@ -GL_ATI_vertex_attrib_array_object -http://www.opengl.org/registry/specs/ATI/vertex_attrib_array_object.txt -GL_ATI_vertex_attrib_array_object - void glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat* params) - void glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint* params) - void glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset) diff --git a/Externals/GLew/auto/extensions/GL_ATI_vertex_streams b/Externals/GLew/auto/extensions/GL_ATI_vertex_streams deleted file mode 100644 index 56005f9c50..0000000000 --- a/Externals/GLew/auto/extensions/GL_ATI_vertex_streams +++ /dev/null @@ -1,50 +0,0 @@ -GL_ATI_vertex_streams -http://www.ati.com/developer/sdk/RADEONSDK/Html/Info/ATI_vertex_streams.txt -GL_ATI_vertex_streams - GL_MAX_VERTEX_STREAMS_ATI 0x876B - GL_VERTEX_SOURCE_ATI 0x876C - GL_VERTEX_STREAM0_ATI 0x876D - GL_VERTEX_STREAM1_ATI 0x876E - GL_VERTEX_STREAM2_ATI 0x876F - GL_VERTEX_STREAM3_ATI 0x8770 - GL_VERTEX_STREAM4_ATI 0x8771 - GL_VERTEX_STREAM5_ATI 0x8772 - GL_VERTEX_STREAM6_ATI 0x8773 - GL_VERTEX_STREAM7_ATI 0x8774 - void glClientActiveVertexStreamATI (GLenum stream) - void glVertexBlendEnviATI (GLenum pname, GLint param) - void glVertexBlendEnvfATI (GLenum pname, GLfloat param) - void glVertexStream2sATI (GLenum stream, GLshort x, GLshort y) - void glVertexStream2svATI (GLenum stream, const GLshort *v) - void glVertexStream2iATI (GLenum stream, GLint x, GLint y) - void glVertexStream2ivATI (GLenum stream, const GLint *v) - void glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y) - void glVertexStream2fvATI (GLenum stream, const GLfloat *v) - void glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y) - void glVertexStream2dvATI (GLenum stream, const GLdouble *v) - void glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z) - void glVertexStream3svATI (GLenum stream, const GLshort *v) - void glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z) - void glVertexStream3ivATI (GLenum stream, const GLint *v) - void glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z) - void glVertexStream3fvATI (GLenum stream, const GLfloat *v) - void glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z) - void glVertexStream3dvATI (GLenum stream, const GLdouble *v) - void glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w) - void glVertexStream4svATI (GLenum stream, const GLshort *v) - void glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w) - void glVertexStream4ivATI (GLenum stream, const GLint *v) - void glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glVertexStream4fvATI (GLenum stream, const GLfloat *v) - void glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glVertexStream4dvATI (GLenum stream, const GLdouble *v) - void glNormalStream3bATI (GLenum stream, GLbyte x, GLbyte y, GLbyte z) - void glNormalStream3bvATI (GLenum stream, const GLbyte *v) - void glNormalStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z) - void glNormalStream3svATI (GLenum stream, const GLshort *v) - void glNormalStream3iATI (GLenum stream, GLint x, GLint y, GLint z) - void glNormalStream3ivATI (GLenum stream, const GLint *v) - void glNormalStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z) - void glNormalStream3fvATI (GLenum stream, const GLfloat *v) - void glNormalStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z) - void glNormalStream3dvATI (GLenum stream, const GLdouble *v) diff --git a/Externals/GLew/auto/extensions/GL_EXT_422_pixels b/Externals/GLew/auto/extensions/GL_EXT_422_pixels deleted file mode 100644 index 70d3d574f1..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_422_pixels +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_422_pixels -http://www.opengl.org/registry/specs/EXT/422_pixels.txt -GL_EXT_422_pixels - GL_422_EXT 0x80CC - GL_422_REV_EXT 0x80CD - GL_422_AVERAGE_EXT 0x80CE - GL_422_REV_AVERAGE_EXT 0x80CF diff --git a/Externals/GLew/auto/extensions/GL_EXT_Cg_shader b/Externals/GLew/auto/extensions/GL_EXT_Cg_shader deleted file mode 100644 index 34d3152931..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_Cg_shader +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_Cg_shader -http://download.nvidia.com/developer/GLSL/GLSL%20Release%20Notes%20for%20Release%2060.pdf -GL_EXT_Cg_shader - GL_CG_VERTEX_SHADER_EXT 0x890E - GL_CG_FRAGMENT_SHADER_EXT 0x890F diff --git a/Externals/GLew/auto/extensions/GL_EXT_abgr b/Externals/GLew/auto/extensions/GL_EXT_abgr deleted file mode 100644 index 9c86889779..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_abgr +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_abgr -http://www.opengl.org/registry/specs/EXT/abgr.txt -GL_EXT_abgr - GL_ABGR_EXT 0x8000 diff --git a/Externals/GLew/auto/extensions/GL_EXT_bgra b/Externals/GLew/auto/extensions/GL_EXT_bgra deleted file mode 100644 index afe1c019ef..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_bgra +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_bgra -http://www.opengl.org/registry/specs/EXT/bgra.txt -GL_EXT_bgra - GL_BGR_EXT 0x80E0 - GL_BGRA_EXT 0x80E1 diff --git a/Externals/GLew/auto/extensions/GL_EXT_bindable_uniform b/Externals/GLew/auto/extensions/GL_EXT_bindable_uniform deleted file mode 100644 index 809123b659..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_bindable_uniform +++ /dev/null @@ -1,12 +0,0 @@ -GL_EXT_bindable_uniform -http://developer.download.nvidia.com/opengl/specs/GL_EXT_bindable_uniform.txt -GL_EXT_bindable_uniform - GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 - GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 - GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 - GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED - GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF - GL_UNIFORM_BUFFER_EXT 0x8DEE - void glUniformBufferEXT (GLuint program, GLint location, GLuint buffer) - GLint glGetUniformBufferSizeEXT (GLuint program, GLint location) - GLintptr glGetUniformOffsetEXT (GLuint program, GLint location) diff --git a/Externals/GLew/auto/extensions/GL_EXT_blend_color b/Externals/GLew/auto/extensions/GL_EXT_blend_color deleted file mode 100644 index 706181e82f..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_blend_color +++ /dev/null @@ -1,9 +0,0 @@ -GL_EXT_blend_color -http://www.opengl.org/registry/specs/EXT/blend_color.txt -GL_EXT_blend_color - GL_CONSTANT_COLOR_EXT 0x8001 - GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 - GL_CONSTANT_ALPHA_EXT 0x8003 - GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 - GL_BLEND_COLOR_EXT 0x8005 - void glBlendColorEXT (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) diff --git a/Externals/GLew/auto/extensions/GL_EXT_blend_equation_separate b/Externals/GLew/auto/extensions/GL_EXT_blend_equation_separate deleted file mode 100644 index 7ac5975a3e..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_blend_equation_separate +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_blend_equation_separate -http://www.opengl.org/registry/specs/EXT/blend_equation_separate.txt -GL_EXT_blend_equation_separate - GL_BLEND_EQUATION_RGB_EXT 0x8009 - GL_BLEND_EQUATION_ALPHA_EXT 0x883D - void glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha) diff --git a/Externals/GLew/auto/extensions/GL_EXT_blend_func_separate b/Externals/GLew/auto/extensions/GL_EXT_blend_func_separate deleted file mode 100644 index 9517afc5c0..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_blend_func_separate +++ /dev/null @@ -1,8 +0,0 @@ -GL_EXT_blend_func_separate -http://www.opengl.org/registry/specs/EXT/blend_func_separate.txt -GL_EXT_blend_func_separate - GL_BLEND_DST_RGB_EXT 0x80C8 - GL_BLEND_SRC_RGB_EXT 0x80C9 - GL_BLEND_DST_ALPHA_EXT 0x80CA - GL_BLEND_SRC_ALPHA_EXT 0x80CB - void glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) diff --git a/Externals/GLew/auto/extensions/GL_EXT_blend_logic_op b/Externals/GLew/auto/extensions/GL_EXT_blend_logic_op deleted file mode 100644 index 7e3027d145..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_blend_logic_op +++ /dev/null @@ -1,3 +0,0 @@ -GL_EXT_blend_logic_op -http://www.opengl.org/registry/specs/EXT/blend_logic_op.txt -GL_EXT_blend_logic_op diff --git a/Externals/GLew/auto/extensions/GL_EXT_blend_minmax b/Externals/GLew/auto/extensions/GL_EXT_blend_minmax deleted file mode 100644 index fee5af635f..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_blend_minmax +++ /dev/null @@ -1,8 +0,0 @@ -GL_EXT_blend_minmax -http://www.opengl.org/registry/specs/EXT/blend_minmax.txt -GL_EXT_blend_minmax - GL_FUNC_ADD_EXT 0x8006 - GL_MIN_EXT 0x8007 - GL_MAX_EXT 0x8008 - GL_BLEND_EQUATION_EXT 0x8009 - void glBlendEquationEXT (GLenum mode) diff --git a/Externals/GLew/auto/extensions/GL_EXT_blend_subtract b/Externals/GLew/auto/extensions/GL_EXT_blend_subtract deleted file mode 100644 index 8b9348b923..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_blend_subtract +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_blend_subtract -http://www.opengl.org/registry/specs/EXT/blend_subtract.txt -GL_EXT_blend_subtract - GL_FUNC_SUBTRACT_EXT 0x800A - GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B diff --git a/Externals/GLew/auto/extensions/GL_EXT_clip_volume_hint b/Externals/GLew/auto/extensions/GL_EXT_clip_volume_hint deleted file mode 100644 index 8959276cb7..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_clip_volume_hint +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_clip_volume_hint -http://www.opengl.org/registry/specs/EXT/clip_volume_hint.txt -GL_EXT_clip_volume_hint - GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 diff --git a/Externals/GLew/auto/extensions/GL_EXT_cmyka b/Externals/GLew/auto/extensions/GL_EXT_cmyka deleted file mode 100644 index 824654f6b9..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_cmyka +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_cmyka -http://www.opengl.org/registry/specs/EXT/cmyka.txt -GL_EXT_cmyka - GL_CMYK_EXT 0x800C - GL_CMYKA_EXT 0x800D - GL_PACK_CMYK_HINT_EXT 0x800E - GL_UNPACK_CMYK_HINT_EXT 0x800F diff --git a/Externals/GLew/auto/extensions/GL_EXT_color_subtable b/Externals/GLew/auto/extensions/GL_EXT_color_subtable deleted file mode 100644 index 398c31327e..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_color_subtable +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_color_subtable -http://www.opengl.org/registry/specs/EXT/color_subtable.txt -GL_EXT_color_subtable - void glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void* data) - void glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) diff --git a/Externals/GLew/auto/extensions/GL_EXT_compiled_vertex_array b/Externals/GLew/auto/extensions/GL_EXT_compiled_vertex_array deleted file mode 100644 index 0f8c5dc499..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_compiled_vertex_array +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_compiled_vertex_array -http://www.opengl.org/registry/specs/EXT/compiled_vertex_array.txt -GL_EXT_compiled_vertex_array - GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 - GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 - void glLockArraysEXT (GLint first, GLsizei count) - void glUnlockArraysEXT (void) diff --git a/Externals/GLew/auto/extensions/GL_EXT_convolution b/Externals/GLew/auto/extensions/GL_EXT_convolution deleted file mode 100644 index 7fda5a6543..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_convolution +++ /dev/null @@ -1,36 +0,0 @@ -GL_EXT_convolution -http://www.opengl.org/registry/specs/EXT/convolution.txt -GL_EXT_convolution - GL_CONVOLUTION_1D_EXT 0x8010 - GL_CONVOLUTION_2D_EXT 0x8011 - GL_SEPARABLE_2D_EXT 0x8012 - GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 - GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 - GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 - GL_REDUCE_EXT 0x8016 - GL_CONVOLUTION_FORMAT_EXT 0x8017 - GL_CONVOLUTION_WIDTH_EXT 0x8018 - GL_CONVOLUTION_HEIGHT_EXT 0x8019 - GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A - GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B - GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C - GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D - GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E - GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F - GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 - GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 - GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 - GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 - void glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* image) - void glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* image) - void glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat param) - void glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat* params) - void glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint param) - void glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint* params) - void glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) - void glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) - void glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void* image) - void glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat* params) - void glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint* params) - void glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void* row, void* column, void* span) - void glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* row, const void* column) diff --git a/Externals/GLew/auto/extensions/GL_EXT_coordinate_frame b/Externals/GLew/auto/extensions/GL_EXT_coordinate_frame deleted file mode 100644 index c85f2352ff..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_coordinate_frame +++ /dev/null @@ -1,19 +0,0 @@ -GL_EXT_coordinate_frame -http://www.opengl.org/registry/specs/EXT/coordinate_frame.txt -GL_EXT_coordinate_frame - GL_TANGENT_ARRAY_EXT 0x8439 - GL_BINORMAL_ARRAY_EXT 0x843A - GL_CURRENT_TANGENT_EXT 0x843B - GL_CURRENT_BINORMAL_EXT 0x843C - GL_TANGENT_ARRAY_TYPE_EXT 0x843E - GL_TANGENT_ARRAY_STRIDE_EXT 0x843F - GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 - GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 - GL_TANGENT_ARRAY_POINTER_EXT 0x8442 - GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 - GL_MAP1_TANGENT_EXT 0x8444 - GL_MAP2_TANGENT_EXT 0x8445 - GL_MAP1_BINORMAL_EXT 0x8446 - GL_MAP2_BINORMAL_EXT 0x8447 - void glBinormalPointerEXT (GLenum type, GLsizei stride, void* pointer) - void glTangentPointerEXT (GLenum type, GLsizei stride, void* pointer) diff --git a/Externals/GLew/auto/extensions/GL_EXT_copy_texture b/Externals/GLew/auto/extensions/GL_EXT_copy_texture deleted file mode 100644 index 4fff03e73f..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_copy_texture +++ /dev/null @@ -1,8 +0,0 @@ -GL_EXT_copy_texture -http://www.opengl.org/registry/specs/EXT/copy_texture.txt -GL_EXT_copy_texture - void glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) - void glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) - void glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) - void glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) - void glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) diff --git a/Externals/GLew/auto/extensions/GL_EXT_cull_vertex b/Externals/GLew/auto/extensions/GL_EXT_cull_vertex deleted file mode 100644 index 0808ea244e..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_cull_vertex +++ /dev/null @@ -1,8 +0,0 @@ -GL_EXT_cull_vertex -http://www.opengl.org/registry/specs/EXT/cull_vertex.txt -GL_EXT_cull_vertex - GL_CULL_VERTEX_EXT 0x81AA - GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB - GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC - void glCullParameterdvEXT (GLenum pname, GLdouble* params) - void glCullParameterfvEXT (GLenum pname, GLfloat* params) diff --git a/Externals/GLew/auto/extensions/GL_EXT_depth_bounds_test b/Externals/GLew/auto/extensions/GL_EXT_depth_bounds_test deleted file mode 100644 index 62528b7b0c..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_depth_bounds_test +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_depth_bounds_test -http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_depth_bounds_test.txt -GL_EXT_depth_bounds_test - GL_DEPTH_BOUNDS_TEST_EXT 0x8890 - GL_DEPTH_BOUNDS_EXT 0x8891 - void glDepthBoundsEXT (GLclampd zmin, GLclampd zmax) diff --git a/Externals/GLew/auto/extensions/GL_EXT_direct_state_access b/Externals/GLew/auto/extensions/GL_EXT_direct_state_access deleted file mode 100644 index 712683b6de..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_direct_state_access +++ /dev/null @@ -1,219 +0,0 @@ -GL_EXT_direct_state_access -http://www.opengl.org/registry/specs/EXT/direct_state_access.txt -GL_EXT_direct_state_access - GL_PROGRAM_MATRIX_EXT 0x8E2D - GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E - GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F - void glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture) - GLenum glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target) - void glClientAttribDefaultEXT (GLbitfield mask) - void glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data) - void glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) - void glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data) - void glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data) - void glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data) - void glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data) - void glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data) - void glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data) - void glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data) - void glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data) - void glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data) - void glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data) - void glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) - void glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) - void glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) - void glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) - void glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) - void glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) - void glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) - void glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) - void glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) - void glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) - void glDisableClientStateIndexedEXT (GLenum array, GLuint index) - void glDisableClientStateiEXT (GLenum array, GLuint index) - void glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index) - void glDisableVertexArrayEXT (GLuint vaobj, GLenum array) - void glEnableClientStateIndexedEXT (GLenum array, GLuint index) - void glEnableClientStateiEXT (GLenum array, GLuint index) - void glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index) - void glEnableVertexArrayEXT (GLuint vaobj, GLenum array) - void glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length) - void glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode) - void glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum* bufs) - void glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode) - void glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target) - void glGenerateTextureMipmapEXT (GLuint texture, GLenum target) - void glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, void* img) - void glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint level, void* img) - void glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble* params) - void glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble* params) - void glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat* params) - void glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat* params) - void glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint* param) - void glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat* params) - void glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint* params) - void glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble* params) - void glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat* params) - void glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint* params) - void glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void* pixels) - void glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat* params) - void glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint* params) - void glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint* params) - void glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint* params) - void glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat* params) - void glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint* params) - void glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint* params) - void glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void** params) - void glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void* data) - void glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint* params) - void glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint* params) - void glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint* params) - void glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble* params) - void glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat* params) - void glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void* string) - void glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint* params) - void glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint* params) - void glGetPointerIndexedvEXT (GLenum target, GLuint index, GLvoid** params) - void glGetPointeri_vEXT (GLenum pname, GLuint index, GLvoid** params) - void glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void* pixels) - void glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat* params) - void glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint* params) - void glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint* params) - void glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint* params) - void glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat* params) - void glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint* params) - void glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint* param) - void glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint* param) - void glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLvoid** param) - void glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, GLvoid** param) - GLvoid * glMapNamedBufferEXT (GLuint buffer, GLenum access) - GLvoid * glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) - void glMatrixFrustumEXT (GLenum matrixMode, GLdouble l, GLdouble r, GLdouble b, GLdouble t, GLdouble n, GLdouble f) - void glMatrixLoadIdentityEXT (GLenum matrixMode) - void glMatrixLoadTransposedEXT (GLenum matrixMode, const GLdouble* m) - void glMatrixLoadTransposefEXT (GLenum matrixMode, const GLfloat* m) - void glMatrixLoaddEXT (GLenum matrixMode, const GLdouble* m) - void glMatrixLoadfEXT (GLenum matrixMode, const GLfloat* m) - void glMatrixMultTransposedEXT (GLenum matrixMode, const GLdouble* m) - void glMatrixMultTransposefEXT (GLenum matrixMode, const GLfloat* m) - void glMatrixMultdEXT (GLenum matrixMode, const GLdouble* m) - void glMatrixMultfEXT (GLenum matrixMode, const GLfloat* m) - void glMatrixOrthoEXT (GLenum matrixMode, GLdouble l, GLdouble r, GLdouble b, GLdouble t, GLdouble n, GLdouble f) - void glMatrixPopEXT (GLenum matrixMode) - void glMatrixPushEXT (GLenum matrixMode) - void glMatrixRotatedEXT (GLenum matrixMode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z) - void glMatrixRotatefEXT (GLenum matrixMode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) - void glMatrixScaledEXT (GLenum matrixMode, GLdouble x, GLdouble y, GLdouble z) - void glMatrixScalefEXT (GLenum matrixMode, GLfloat x, GLfloat y, GLfloat z) - void glMatrixTranslatedEXT (GLenum matrixMode, GLdouble x, GLdouble y, GLdouble z) - void glMatrixTranslatefEXT (GLenum matrixMode, GLfloat x, GLfloat y, GLfloat z) - void glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer) - void glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void* pointer) - void glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param) - void glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat* params) - void glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param) - void glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint* params) - void glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param) - void glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble* params) - void glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param) - void glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat* params) - void glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param) - void glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint* params) - void glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels) - void glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) - void glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels) - void glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint* params) - void glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint* params) - void glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param) - void glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat* param) - void glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param) - void glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint* param) - void glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer) - void glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels) - void glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) - void glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels) - void glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void* data, GLenum usage) - void glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void* data) - void glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) - void glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) - void glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) - void glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) - void glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) - void glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) - void glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face) - void glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) - void glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble* params) - void glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat* params) - void glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) - void glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint* params) - void glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) - void glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint* params) - void glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat* params) - void glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint* params) - void glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint* params) - void glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void* string) - void glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) - void glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) - void glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) - void glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0) - void glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat* value) - void glProgramUniform1iEXT (GLuint program, GLint location, GLint v0) - void glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint* value) - void glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0) - void glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint* value) - void glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1) - void glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat* value) - void glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1) - void glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint* value) - void glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1) - void glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint* value) - void glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) - void glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat* value) - void glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2) - void glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint* value) - void glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) - void glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint* value) - void glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) - void glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat* value) - void glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) - void glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint* value) - void glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) - void glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint* value) - void glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value) - void glPushClientAttribDefaultEXT (GLbitfield mask) - void glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer) - void glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels) - void glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels) - void glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels) - void glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint* params) - void glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint* params) - void glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param) - void glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat* param) - void glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param) - void glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint* param) - void glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer) - void glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels) - void glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) - void glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels) - GLboolean glUnmapNamedBufferEXT (GLuint buffer) - void glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) - void glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset) - void glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) - void glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) - void glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset) - void glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) - void glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) - void glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) - void glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset) - void glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset) - void glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) diff --git a/Externals/GLew/auto/extensions/GL_EXT_draw_buffers2 b/Externals/GLew/auto/extensions/GL_EXT_draw_buffers2 deleted file mode 100644 index 3917eb81ee..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_draw_buffers2 +++ /dev/null @@ -1,9 +0,0 @@ -GL_EXT_draw_buffers2 -http://www.opengl.org/registry/specs/EXT/draw_buffers2.txt -GL_EXT_draw_buffers2 - void glColorMaskIndexedEXT (GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a) - void glDisableIndexedEXT (GLenum target, GLuint index) - void glEnableIndexedEXT (GLenum target, GLuint index) - void glGetBooleanIndexedvEXT (GLenum value, GLuint index, GLboolean* data) - void glGetIntegerIndexedvEXT (GLenum value, GLuint index, GLint* data) - GLboolean glIsEnabledIndexedEXT (GLenum target, GLuint index) diff --git a/Externals/GLew/auto/extensions/GL_EXT_draw_instanced b/Externals/GLew/auto/extensions/GL_EXT_draw_instanced deleted file mode 100644 index afafa27f3e..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_draw_instanced +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_draw_instanced -http://developer.download.nvidia.com/opengl/specs/GL_EXT_draw_instanced.txt -GL_EXT_draw_instanced - void glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount) - void glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) diff --git a/Externals/GLew/auto/extensions/GL_EXT_draw_range_elements b/Externals/GLew/auto/extensions/GL_EXT_draw_range_elements deleted file mode 100644 index 2abc870ba2..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_draw_range_elements +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_draw_range_elements -http://oss.sgi.com/projects/ogl-sample/registry/EXT/draw_range_elements.txt -GL_EXT_draw_range_elements - GL_MAX_ELEMENTS_VERTICES 0x80E8 - GL_MAX_ELEMENTS_INDICES 0x80E9 - void glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) diff --git a/Externals/GLew/auto/extensions/GL_EXT_fog_coord b/Externals/GLew/auto/extensions/GL_EXT_fog_coord deleted file mode 100644 index ac7868aa32..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_fog_coord +++ /dev/null @@ -1,16 +0,0 @@ -GL_EXT_fog_coord -http://oss.sgi.com/projects/ogl-sample/registry/EXT/fog_coord.txt -GL_EXT_fog_coord - GL_FOG_COORDINATE_SOURCE_EXT 0x8450 - GL_FOG_COORDINATE_EXT 0x8451 - GL_FRAGMENT_DEPTH_EXT 0x8452 - GL_CURRENT_FOG_COORDINATE_EXT 0x8453 - GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 - GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 - GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 - GL_FOG_COORDINATE_ARRAY_EXT 0x8457 - void glFogCoordfEXT (GLfloat coord) - void glFogCoordfvEXT (const GLfloat *coord) - void glFogCoorddEXT (GLdouble coord) - void glFogCoorddvEXT (const GLdouble *coord) - void glFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer) diff --git a/Externals/GLew/auto/extensions/GL_EXT_fragment_lighting b/Externals/GLew/auto/extensions/GL_EXT_fragment_lighting deleted file mode 100644 index ab6888d8e5..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_fragment_lighting +++ /dev/null @@ -1,35 +0,0 @@ -GL_EXT_fragment_lighting -http://www.opengl.org/registry/specs/EXT/fragment_lighting.txt -GL_EXT_fragment_lighting - GL_FRAGMENT_LIGHTING_EXT 0x8400 - GL_FRAGMENT_COLOR_MATERIAL_EXT 0x8401 - GL_FRAGMENT_COLOR_MATERIAL_FACE_EXT 0x8402 - GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_EXT 0x8403 - GL_MAX_FRAGMENT_LIGHTS_EXT 0x8404 - GL_MAX_ACTIVE_LIGHTS_EXT 0x8405 - GL_CURRENT_RASTER_NORMAL_EXT 0x8406 - GL_LIGHT_ENV_MODE_EXT 0x8407 - GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_EXT 0x8408 - GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_EXT 0x8409 - GL_FRAGMENT_LIGHT_MODEL_AMBIENT_EXT 0x840A - GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_EXT 0x840B - GL_FRAGMENT_LIGHT0_EXT 0x840C - GL_FRAGMENT_LIGHT7_EXT 0x8413 - void glFragmentColorMaterialEXT (GLenum face, GLenum mode) - void glFragmentLightModelfEXT (GLenum pname, GLfloat param) - void glFragmentLightModelfvEXT (GLenum pname, GLfloat* params) - void glFragmentLightModeliEXT (GLenum pname, GLint param) - void glFragmentLightModelivEXT (GLenum pname, GLint* params) - void glFragmentLightfEXT (GLenum light, GLenum pname, GLfloat param) - void glFragmentLightfvEXT (GLenum light, GLenum pname, GLfloat* params) - void glFragmentLightiEXT (GLenum light, GLenum pname, GLint param) - void glFragmentLightivEXT (GLenum light, GLenum pname, GLint* params) - void glFragmentMaterialfEXT (GLenum face, GLenum pname, const GLfloat param) - void glFragmentMaterialfvEXT (GLenum face, GLenum pname, const GLfloat* params) - void glFragmentMaterialiEXT (GLenum face, GLenum pname, const GLint param) - void glFragmentMaterialivEXT (GLenum face, GLenum pname, const GLint* params) - void glGetFragmentLightfvEXT (GLenum light, GLenum pname, GLfloat* params) - void glGetFragmentLightivEXT (GLenum light, GLenum pname, GLint* params) - void glGetFragmentMaterialfvEXT (GLenum face, GLenum pname, const GLfloat* params) - void glGetFragmentMaterialivEXT (GLenum face, GLenum pname, const GLint* params) - void glLightEnviEXT (GLenum pname, GLint param) diff --git a/Externals/GLew/auto/extensions/GL_EXT_framebuffer_blit b/Externals/GLew/auto/extensions/GL_EXT_framebuffer_blit deleted file mode 100644 index 22110c2990..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_framebuffer_blit +++ /dev/null @@ -1,8 +0,0 @@ -GL_EXT_framebuffer_blit -http://www.opengl.org/registry/specs/EXT/framebuffer_blit.txt -GL_EXT_framebuffer_blit - GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 - GL_READ_FRAMEBUFFER_EXT 0x8CA8 - GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 - GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA - void glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) diff --git a/Externals/GLew/auto/extensions/GL_EXT_framebuffer_multisample b/Externals/GLew/auto/extensions/GL_EXT_framebuffer_multisample deleted file mode 100644 index c512933f00..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_framebuffer_multisample +++ /dev/null @@ -1,9 +0,0 @@ -GL_EXT_framebuffer_multisample -http://www.opengl.org/registry/specs/EXT/framebuffer_multisample.txt -GL_EXT_framebuffer_multisample - GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 - GL_MAX_SAMPLES_EXT 0x8D57 - void glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) - GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 - GL_MAX_SAMPLES_EXT 0x8D57 diff --git a/Externals/GLew/auto/extensions/GL_EXT_framebuffer_object b/Externals/GLew/auto/extensions/GL_EXT_framebuffer_object deleted file mode 100644 index 1fb4998956..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_framebuffer_object +++ /dev/null @@ -1,71 +0,0 @@ -GL_EXT_framebuffer_object -http://www.opengl.org/registry/specs/EXT/framebuffer_object.txt -GL_EXT_framebuffer_object - GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 - GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 - GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 - GL_RENDERBUFFER_BINDING_EXT 0x8CA7 - GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 - GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 - GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 - GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 - GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 - GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 - GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA - GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB - GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC - GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD - GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF - GL_COLOR_ATTACHMENT0_EXT 0x8CE0 - GL_COLOR_ATTACHMENT1_EXT 0x8CE1 - GL_COLOR_ATTACHMENT2_EXT 0x8CE2 - GL_COLOR_ATTACHMENT3_EXT 0x8CE3 - GL_COLOR_ATTACHMENT4_EXT 0x8CE4 - GL_COLOR_ATTACHMENT5_EXT 0x8CE5 - GL_COLOR_ATTACHMENT6_EXT 0x8CE6 - GL_COLOR_ATTACHMENT7_EXT 0x8CE7 - GL_COLOR_ATTACHMENT8_EXT 0x8CE8 - GL_COLOR_ATTACHMENT9_EXT 0x8CE9 - GL_COLOR_ATTACHMENT10_EXT 0x8CEA - GL_COLOR_ATTACHMENT11_EXT 0x8CEB - GL_COLOR_ATTACHMENT12_EXT 0x8CEC - GL_COLOR_ATTACHMENT13_EXT 0x8CED - GL_COLOR_ATTACHMENT14_EXT 0x8CEE - GL_COLOR_ATTACHMENT15_EXT 0x8CEF - GL_DEPTH_ATTACHMENT_EXT 0x8D00 - GL_STENCIL_ATTACHMENT_EXT 0x8D20 - GL_FRAMEBUFFER_EXT 0x8D40 - GL_RENDERBUFFER_EXT 0x8D41 - GL_RENDERBUFFER_WIDTH_EXT 0x8D42 - GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 - GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 - GL_STENCIL_INDEX1_EXT 0x8D46 - GL_STENCIL_INDEX4_EXT 0x8D47 - GL_STENCIL_INDEX8_EXT 0x8D48 - GL_STENCIL_INDEX16_EXT 0x8D49 - GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 - GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 - GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 - GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 - GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 - GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 - void glBindFramebufferEXT (GLenum target, GLuint framebuffer) - void glBindRenderbufferEXT (GLenum target, GLuint renderbuffer) - GLenum glCheckFramebufferStatusEXT (GLenum target) - void glDeleteFramebuffersEXT (GLsizei n, const GLuint* framebuffers) - void glDeleteRenderbuffersEXT (GLsizei n, const GLuint* renderbuffers) - void glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) - void glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) - void glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) - void glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) - void glGenFramebuffersEXT (GLsizei n, GLuint* framebuffers) - void glGenRenderbuffersEXT (GLsizei n, GLuint* renderbuffers) - void glGenerateMipmapEXT (GLenum target) - void glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint* params) - void glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint* params) - GLboolean glIsFramebufferEXT (GLuint framebuffer) - GLboolean glIsRenderbufferEXT (GLuint renderbuffer) - void glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) diff --git a/Externals/GLew/auto/extensions/GL_EXT_framebuffer_sRGB b/Externals/GLew/auto/extensions/GL_EXT_framebuffer_sRGB deleted file mode 100644 index 4ca897b1fd..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_framebuffer_sRGB +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_framebuffer_sRGB -http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt -GL_EXT_framebuffer_sRGB - GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 - GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA diff --git a/Externals/GLew/auto/extensions/GL_EXT_geometry_shader4 b/Externals/GLew/auto/extensions/GL_EXT_geometry_shader4 deleted file mode 100644 index 888e500ae0..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_geometry_shader4 +++ /dev/null @@ -1,27 +0,0 @@ -GL_EXT_geometry_shader4 -http://developer.download.nvidia.com/opengl/specs/GL_EXT_geometry_shader4.txt -GL_EXT_geometry_shader4 - GL_GEOMETRY_SHADER_EXT 0x8DD9 - GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD - GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE - GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B - GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF - GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 - GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 - GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA - GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB - GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC - GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 - GL_LINES_ADJACENCY_EXT 0xA - GL_LINE_STRIP_ADJACENCY_EXT 0xB - GL_TRIANGLES_ADJACENCY_EXT 0xC - GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD - GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 - GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 - GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 - GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 - GL_PROGRAM_POINT_SIZE_EXT 0x8642 - void glProgramParameteriEXT (GLuint program, GLenum pname, GLint value) - void glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level) - void glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) - void glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) diff --git a/Externals/GLew/auto/extensions/GL_EXT_gpu_program_parameters b/Externals/GLew/auto/extensions/GL_EXT_gpu_program_parameters deleted file mode 100644 index 9048c98d96..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_gpu_program_parameters +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_gpu_program_parameters -http://developer.download.nvidia.com/opengl/specs/GL_EXT_gpu_program_parameters.txt -GL_EXT_gpu_program_parameters - void glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat* params) - void glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat* params) diff --git a/Externals/GLew/auto/extensions/GL_EXT_gpu_shader4 b/Externals/GLew/auto/extensions/GL_EXT_gpu_shader4 deleted file mode 100644 index 0e89f0db06..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_gpu_shader4 +++ /dev/null @@ -1,63 +0,0 @@ -GL_EXT_gpu_shader4 -http://developer.download.nvidia.com/opengl/specs/GL_EXT_gpu_shader4.txt -GL_EXT_gpu_shader4 - GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 - GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 - GL_SAMPLER_BUFFER_EXT 0x8DC2 - GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 - GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 - GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 - GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 - GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 - GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 - GL_INT_SAMPLER_1D_EXT 0x8DC9 - GL_INT_SAMPLER_2D_EXT 0x8DCA - GL_INT_SAMPLER_3D_EXT 0x8DCB - GL_INT_SAMPLER_CUBE_EXT 0x8DCC - GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD - GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE - GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF - GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 - GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 - GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 - GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 - GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 - GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 - GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 - GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 - GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 - GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD - void glGetUniformuivEXT (GLuint program, GLint location, GLuint *params) - void glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name) - GLint glGetFragDataLocationEXT (GLuint program, const GLchar *name) - void glUniform1uiEXT (GLint location, GLuint v0) - void glUniform2uiEXT (GLint location, GLuint v0, GLuint v1) - void glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2) - void glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) - void glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value) - void glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value) - void glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value) - void glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value) - void glVertexAttribI1iEXT (GLuint index, GLint x) - void glVertexAttribI2iEXT (GLuint index, GLint x, GLint y) - void glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z) - void glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w) - void glVertexAttribI1uiEXT (GLuint index, GLuint x) - void glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y) - void glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z) - void glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) - void glVertexAttribI1ivEXT (GLuint index, const GLint *v) - void glVertexAttribI2ivEXT (GLuint index, const GLint *v) - void glVertexAttribI3ivEXT (GLuint index, const GLint *v) - void glVertexAttribI4ivEXT (GLuint index, const GLint *v) - void glVertexAttribI1uivEXT (GLuint index, const GLuint *v) - void glVertexAttribI2uivEXT (GLuint index, const GLuint *v) - void glVertexAttribI3uivEXT (GLuint index, const GLuint *v) - void glVertexAttribI4uivEXT (GLuint index, const GLuint *v) - void glVertexAttribI4bvEXT (GLuint index, const GLbyte *v) - void glVertexAttribI4svEXT (GLuint index, const GLshort *v) - void glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v) - void glVertexAttribI4usvEXT (GLuint index, const GLushort *v) - void glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) - void glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params) - void glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params) diff --git a/Externals/GLew/auto/extensions/GL_EXT_histogram b/Externals/GLew/auto/extensions/GL_EXT_histogram deleted file mode 100644 index 14dfb527b1..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_histogram +++ /dev/null @@ -1,26 +0,0 @@ -GL_EXT_histogram -http://www.opengl.org/registry/specs/EXT/histogram.txt -GL_EXT_histogram - GL_HISTOGRAM_EXT 0x8024 - GL_PROXY_HISTOGRAM_EXT 0x8025 - GL_HISTOGRAM_WIDTH_EXT 0x8026 - GL_HISTOGRAM_FORMAT_EXT 0x8027 - GL_HISTOGRAM_RED_SIZE_EXT 0x8028 - GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 - GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A - GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B - GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C - GL_HISTOGRAM_SINK_EXT 0x802D - GL_MINMAX_EXT 0x802E - GL_MINMAX_FORMAT_EXT 0x802F - GL_MINMAX_SINK_EXT 0x8030 - void glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values) - void glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat* params) - void glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint* params) - void glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values) - void glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat* params) - void glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint* params) - void glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) - void glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink) - void glResetHistogramEXT (GLenum target) - void glResetMinmaxEXT (GLenum target) diff --git a/Externals/GLew/auto/extensions/GL_EXT_index_array_formats b/Externals/GLew/auto/extensions/GL_EXT_index_array_formats deleted file mode 100644 index cc11b98828..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_index_array_formats +++ /dev/null @@ -1,3 +0,0 @@ -GL_EXT_index_array_formats -http://www.opengl.org/registry/specs/EXT/index_array_formats.txt -GL_EXT_index_array_formats diff --git a/Externals/GLew/auto/extensions/GL_EXT_index_func b/Externals/GLew/auto/extensions/GL_EXT_index_func deleted file mode 100644 index 8431c5a849..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_index_func +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_index_func -http://www.opengl.org/registry/specs/EXT/index_func.txt -GL_EXT_index_func - void glIndexFuncEXT (GLenum func, GLfloat ref) diff --git a/Externals/GLew/auto/extensions/GL_EXT_index_material b/Externals/GLew/auto/extensions/GL_EXT_index_material deleted file mode 100644 index 7bb43d6d14..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_index_material +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_index_material -http://www.opengl.org/registry/specs/EXT/index_material.txt -GL_EXT_index_material - void glIndexMaterialEXT (GLenum face, GLenum mode) diff --git a/Externals/GLew/auto/extensions/GL_EXT_index_texture b/Externals/GLew/auto/extensions/GL_EXT_index_texture deleted file mode 100644 index c4ee051842..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_index_texture +++ /dev/null @@ -1,3 +0,0 @@ -GL_EXT_index_texture -http://www.opengl.org/registry/specs/EXT/index_texture.txt -GL_EXT_index_texture diff --git a/Externals/GLew/auto/extensions/GL_EXT_light_texture b/Externals/GLew/auto/extensions/GL_EXT_light_texture deleted file mode 100644 index d18049c5af..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_light_texture +++ /dev/null @@ -1,16 +0,0 @@ -GL_EXT_light_texture -http://www.opengl.org/registry/specs/EXT/light_texture.txt -GL_EXT_light_texture - GL_FRAGMENT_MATERIAL_EXT 0x8349 - GL_FRAGMENT_NORMAL_EXT 0x834A - GL_FRAGMENT_COLOR_EXT 0x834C - GL_ATTENUATION_EXT 0x834D - GL_SHADOW_ATTENUATION_EXT 0x834E - GL_TEXTURE_APPLICATION_MODE_EXT 0x834F - GL_TEXTURE_LIGHT_EXT 0x8350 - GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 - GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 - GL_FRAGMENT_DEPTH_EXT 0x8452 - void glApplyTextureEXT (GLenum mode) - void glTextureLightEXT (GLenum pname) - void glTextureMaterialEXT (GLenum face, GLenum mode) diff --git a/Externals/GLew/auto/extensions/GL_EXT_misc_attribute b/Externals/GLew/auto/extensions/GL_EXT_misc_attribute deleted file mode 100644 index ad4cee0223..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_misc_attribute +++ /dev/null @@ -1,3 +0,0 @@ -GL_EXT_misc_attribute -http://www.opengl.org/registry/specs/EXT/misc_attribute.txt -GL_EXT_misc_attribute diff --git a/Externals/GLew/auto/extensions/GL_EXT_multi_draw_arrays b/Externals/GLew/auto/extensions/GL_EXT_multi_draw_arrays deleted file mode 100644 index cf03e22217..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_multi_draw_arrays +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_multi_draw_arrays -http://www.opengl.org/registry/specs/EXT/multi_draw_arrays.txt -GL_EXT_multi_draw_arrays - void glMultiDrawArraysEXT (GLenum mode, GLint* first, GLsizei *count, GLsizei primcount) - void glMultiDrawElementsEXT (GLenum mode, GLsizei* count, GLenum type, const GLvoid **indices, GLsizei primcount) diff --git a/Externals/GLew/auto/extensions/GL_EXT_multisample b/Externals/GLew/auto/extensions/GL_EXT_multisample deleted file mode 100644 index bdb1e164e2..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_multisample +++ /dev/null @@ -1,22 +0,0 @@ -GL_EXT_multisample -http://www.opengl.org/registry/specs/EXT/wgl_multisample.txt -GL_EXT_multisample - GL_MULTISAMPLE_EXT 0x809D - GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E - GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F - GL_SAMPLE_MASK_EXT 0x80A0 - GL_1PASS_EXT 0x80A1 - GL_2PASS_0_EXT 0x80A2 - GL_2PASS_1_EXT 0x80A3 - GL_4PASS_0_EXT 0x80A4 - GL_4PASS_1_EXT 0x80A5 - GL_4PASS_2_EXT 0x80A6 - GL_4PASS_3_EXT 0x80A7 - GL_SAMPLE_BUFFERS_EXT 0x80A8 - GL_SAMPLES_EXT 0x80A9 - GL_SAMPLE_MASK_VALUE_EXT 0x80AA - GL_SAMPLE_MASK_INVERT_EXT 0x80AB - GL_SAMPLE_PATTERN_EXT 0x80AC - GL_MULTISAMPLE_BIT_EXT 0x20000000 - void glSampleMaskEXT (GLclampf value, GLboolean invert) - void glSamplePatternEXT (GLenum pattern) diff --git a/Externals/GLew/auto/extensions/GL_EXT_packed_depth_stencil b/Externals/GLew/auto/extensions/GL_EXT_packed_depth_stencil deleted file mode 100644 index 44a711cc99..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_packed_depth_stencil +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_packed_depth_stencil -http://www.opengl.org/registry/specs/EXT/packed_depth_stencil.txt -GL_EXT_packed_depth_stencil - GL_DEPTH_STENCIL_EXT 0x84F9 - GL_UNSIGNED_INT_24_8_EXT 0x84FA - GL_DEPTH24_STENCIL8_EXT 0x88F0 - GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 diff --git a/Externals/GLew/auto/extensions/GL_EXT_packed_float b/Externals/GLew/auto/extensions/GL_EXT_packed_float deleted file mode 100644 index bcb22557d6..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_packed_float +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_packed_float -http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt -GL_EXT_packed_float - GL_R11F_G11F_B10F_EXT 0x8C3A - GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B - GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C diff --git a/Externals/GLew/auto/extensions/GL_EXT_packed_pixels b/Externals/GLew/auto/extensions/GL_EXT_packed_pixels deleted file mode 100644 index ba47d59846..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_packed_pixels +++ /dev/null @@ -1,8 +0,0 @@ -GL_EXT_packed_pixels -http://www.opengl.org/registry/specs/EXT/packed_pixels.txt -GL_EXT_packed_pixels - GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 - GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 - GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 - GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 - GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 diff --git a/Externals/GLew/auto/extensions/GL_EXT_paletted_texture b/Externals/GLew/auto/extensions/GL_EXT_paletted_texture deleted file mode 100644 index 6830acc449..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_paletted_texture +++ /dev/null @@ -1,30 +0,0 @@ -GL_EXT_paletted_texture -http://www.opengl.org/registry/specs/EXT/paletted_texture.txt -GL_EXT_paletted_texture - GL_TEXTURE_1D 0x0DE0 - GL_TEXTURE_2D 0x0DE1 - GL_PROXY_TEXTURE_1D 0x8063 - GL_PROXY_TEXTURE_2D 0x8064 - GL_TEXTURE_3D_EXT 0x806F - GL_PROXY_TEXTURE_3D_EXT 0x8070 - GL_COLOR_TABLE_FORMAT_EXT 0x80D8 - GL_COLOR_TABLE_WIDTH_EXT 0x80D9 - GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA - GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB - GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC - GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD - GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE - GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF - GL_COLOR_INDEX1_EXT 0x80E2 - GL_COLOR_INDEX2_EXT 0x80E3 - GL_COLOR_INDEX4_EXT 0x80E4 - GL_COLOR_INDEX8_EXT 0x80E5 - GL_COLOR_INDEX12_EXT 0x80E6 - GL_COLOR_INDEX16_EXT 0x80E7 - GL_TEXTURE_INDEX_SIZE_EXT 0x80ED - GL_TEXTURE_CUBE_MAP_ARB 0x8513 - GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B - void glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void* data) - void glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void* data) - void glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat* params) - void glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_EXT_pixel_buffer_object b/Externals/GLew/auto/extensions/GL_EXT_pixel_buffer_object deleted file mode 100644 index a7f8f2c80e..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_pixel_buffer_object +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_pixel_buffer_object -http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_pixel_buffer_object.txt -GL_EXT_pixel_buffer_object - GL_PIXEL_PACK_BUFFER_EXT 0x88EB - GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC - GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED - GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF diff --git a/Externals/GLew/auto/extensions/GL_EXT_pixel_transform b/Externals/GLew/auto/extensions/GL_EXT_pixel_transform deleted file mode 100644 index 30fdbfbbd0..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_pixel_transform +++ /dev/null @@ -1,18 +0,0 @@ -GL_EXT_pixel_transform -http://www.opengl.org/registry/specs/EXT/pixel_transform.txt -GL_EXT_pixel_transform - GL_PIXEL_TRANSFORM_2D_EXT 0x8330 - GL_PIXEL_MAG_FILTER_EXT 0x8331 - GL_PIXEL_MIN_FILTER_EXT 0x8332 - GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 - GL_CUBIC_EXT 0x8334 - GL_AVERAGE_EXT 0x8335 - GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 - GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 - GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 - void glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat* params) - void glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint* params) - void glPixelTransformParameterfEXT (GLenum target, GLenum pname, const GLfloat param) - void glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat* params) - void glPixelTransformParameteriEXT (GLenum target, GLenum pname, const GLint param) - void glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_EXT_pixel_transform_color_table b/Externals/GLew/auto/extensions/GL_EXT_pixel_transform_color_table deleted file mode 100644 index c53b731f92..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_pixel_transform_color_table +++ /dev/null @@ -1,3 +0,0 @@ -GL_EXT_pixel_transform_color_table -http://www.opengl.org/registry/specs/EXT/pixel_transform_color_table.txt -GL_EXT_pixel_transform_color_table diff --git a/Externals/GLew/auto/extensions/GL_EXT_point_parameters b/Externals/GLew/auto/extensions/GL_EXT_point_parameters deleted file mode 100644 index 31285984de..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_point_parameters +++ /dev/null @@ -1,9 +0,0 @@ -GL_EXT_point_parameters -http://www.opengl.org/registry/specs/EXT/point_parameters.txt -GL_EXT_point_parameters - GL_POINT_SIZE_MIN_EXT 0x8126 - GL_POINT_SIZE_MAX_EXT 0x8127 - GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 - GL_DISTANCE_ATTENUATION_EXT 0x8129 - void glPointParameterfEXT (GLenum pname, GLfloat param) - void glPointParameterfvEXT (GLenum pname, GLfloat* params) diff --git a/Externals/GLew/auto/extensions/GL_EXT_polygon_offset b/Externals/GLew/auto/extensions/GL_EXT_polygon_offset deleted file mode 100644 index 66d81eba77..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_polygon_offset +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_polygon_offset -http://www.opengl.org/registry/specs/EXT/polygon_offset.txt -GL_EXT_polygon_offset - GL_POLYGON_OFFSET_EXT 0x8037 - GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 - GL_POLYGON_OFFSET_BIAS_EXT 0x8039 - void glPolygonOffsetEXT (GLfloat factor, GLfloat bias) diff --git a/Externals/GLew/auto/extensions/GL_EXT_provoking_vertex b/Externals/GLew/auto/extensions/GL_EXT_provoking_vertex deleted file mode 100644 index 8512a050e1..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_provoking_vertex +++ /dev/null @@ -1,8 +0,0 @@ -GL_EXT_provoking_vertex -http://www.opengl.org/registry/specs/EXT/provoking_vertex.txt -GL_EXT_provoking_vertex - GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C - GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D - GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E - GL_PROVOKING_VERTEX_EXT 0x8E4F - void glProvokingVertexEXT (GLenum mode) diff --git a/Externals/GLew/auto/extensions/GL_EXT_rescale_normal b/Externals/GLew/auto/extensions/GL_EXT_rescale_normal deleted file mode 100644 index d87b45dead..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_rescale_normal +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_rescale_normal -http://www.opengl.org/registry/specs/EXT/rescale_normal.txt -GL_EXT_rescale_normal - GL_RESCALE_NORMAL_EXT 0x803A diff --git a/Externals/GLew/auto/extensions/GL_EXT_scene_marker b/Externals/GLew/auto/extensions/GL_EXT_scene_marker deleted file mode 100644 index 0ac00930f2..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_scene_marker +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_scene_marker -http://www.opengl.org/registry/specs/EXT/scene_marker.txt -GL_EXT_scene_marker - void glBeginSceneEXT (void) - void glEndSceneEXT (void) diff --git a/Externals/GLew/auto/extensions/GL_EXT_secondary_color b/Externals/GLew/auto/extensions/GL_EXT_secondary_color deleted file mode 100644 index 490dc64320..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_secondary_color +++ /dev/null @@ -1,27 +0,0 @@ -GL_EXT_secondary_color -http://oss.sgi.com/projects/ogl-sample/registry/EXT/secondary_color.txt -GL_EXT_secondary_color - GL_COLOR_SUM_EXT 0x8458 - GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 - GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A - GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B - GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C - GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D - GL_SECONDARY_COLOR_ARRAY_EXT 0x845E - void glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue) - void glSecondaryColor3bvEXT (const GLbyte *v) - void glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue) - void glSecondaryColor3dvEXT (const GLdouble *v) - void glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue) - void glSecondaryColor3fvEXT (const GLfloat *v) - void glSecondaryColor3iEXT (GLint red, GLint green, GLint blue) - void glSecondaryColor3ivEXT (const GLint *v) - void glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue) - void glSecondaryColor3svEXT (const GLshort *v) - void glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue) - void glSecondaryColor3ubvEXT (const GLubyte *v) - void glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue) - void glSecondaryColor3uivEXT (const GLuint *v) - void glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue) - void glSecondaryColor3usvEXT (const GLushort *v) - void glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLvoid *pointer) diff --git a/Externals/GLew/auto/extensions/GL_EXT_separate_shader_objects b/Externals/GLew/auto/extensions/GL_EXT_separate_shader_objects deleted file mode 100644 index f0bc8d151c..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_separate_shader_objects +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_separate_shader_objects -http://www.opengl.org/registry/specs/EXT/separate_shader_objects.txt -GL_EXT_separate_shader_objects - GL_ACTIVE_PROGRAM_EXT 0x8B8D - void glActiveProgramEXT (GLuint program) - GLuint glCreateShaderProgramEXT (GLenum type, const char* string) - void glUseShaderProgramEXT (GLenum type, GLuint program) diff --git a/Externals/GLew/auto/extensions/GL_EXT_separate_specular_color b/Externals/GLew/auto/extensions/GL_EXT_separate_specular_color deleted file mode 100644 index 4b717689a4..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_separate_specular_color +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_separate_specular_color -http://www.opengl.org/registry/specs/EXT/separate_specular_color.txt -GL_EXT_separate_specular_color - GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 - GL_SINGLE_COLOR_EXT 0x81F9 - GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA diff --git a/Externals/GLew/auto/extensions/GL_EXT_shader_image_load_store b/Externals/GLew/auto/extensions/GL_EXT_shader_image_load_store deleted file mode 100644 index a6845b49de..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_shader_image_load_store +++ /dev/null @@ -1,60 +0,0 @@ -GL_EXT_shader_image_load_store -http://www.opengl.org/registry/specs/EXT/shader_image_load_store.txt -GL_EXT_shader_image_load_store - GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001 - GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002 - GL_UNIFORM_BARRIER_BIT_EXT 0x00000004 - GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008 - GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020 - GL_COMMAND_BARRIER_BIT_EXT 0x00000040 - GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080 - GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100 - GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200 - GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400 - GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800 - GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000 - GL_MAX_IMAGE_UNITS_EXT 0x8F38 - GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39 - GL_IMAGE_BINDING_NAME_EXT 0x8F3A - GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B - GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C - GL_IMAGE_BINDING_LAYER_EXT 0x8F3D - GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E - GL_IMAGE_1D_EXT 0x904C - GL_IMAGE_2D_EXT 0x904D - GL_IMAGE_3D_EXT 0x904E - GL_IMAGE_2D_RECT_EXT 0x904F - GL_IMAGE_CUBE_EXT 0x9050 - GL_IMAGE_BUFFER_EXT 0x9051 - GL_IMAGE_1D_ARRAY_EXT 0x9052 - GL_IMAGE_2D_ARRAY_EXT 0x9053 - GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 - GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055 - GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056 - GL_INT_IMAGE_1D_EXT 0x9057 - GL_INT_IMAGE_2D_EXT 0x9058 - GL_INT_IMAGE_3D_EXT 0x9059 - GL_INT_IMAGE_2D_RECT_EXT 0x905A - GL_INT_IMAGE_CUBE_EXT 0x905B - GL_INT_IMAGE_BUFFER_EXT 0x905C - GL_INT_IMAGE_1D_ARRAY_EXT 0x905D - GL_INT_IMAGE_2D_ARRAY_EXT 0x905E - GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F - GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060 - GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061 - GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062 - GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063 - GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064 - GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065 - GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066 - GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 - GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068 - GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069 - GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A - GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B - GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C - GL_MAX_IMAGE_SAMPLES_EXT 0x906D - GL_IMAGE_BINDING_FORMAT_EXT 0x906E - GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF - void glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format) - void glMemoryBarrierEXT (GLbitfield barriers) diff --git a/Externals/GLew/auto/extensions/GL_EXT_shadow_funcs b/Externals/GLew/auto/extensions/GL_EXT_shadow_funcs deleted file mode 100644 index d92a7c4be1..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_shadow_funcs +++ /dev/null @@ -1,3 +0,0 @@ -GL_EXT_shadow_funcs -http://www.opengl.org/registry/specs/EXT/shadow_funcs.txt -GL_EXT_shadow_funcs diff --git a/Externals/GLew/auto/extensions/GL_EXT_shared_texture_palette b/Externals/GLew/auto/extensions/GL_EXT_shared_texture_palette deleted file mode 100644 index 7ca0875aa6..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_shared_texture_palette +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_shared_texture_palette -http://www.opengl.org/registry/specs/EXT/shared_texture_palette.txt -GL_EXT_shared_texture_palette - GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB diff --git a/Externals/GLew/auto/extensions/GL_EXT_stencil_clear_tag b/Externals/GLew/auto/extensions/GL_EXT_stencil_clear_tag deleted file mode 100644 index a117d0e220..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_stencil_clear_tag +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_stencil_clear_tag -http://www.opengl.org/registry/specs/EXT/stencil_clear_tag.txt -GL_EXT_stencil_clear_tag - GL_STENCIL_TAG_BITS_EXT 0x88F2 - GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 diff --git a/Externals/GLew/auto/extensions/GL_EXT_stencil_two_side b/Externals/GLew/auto/extensions/GL_EXT_stencil_two_side deleted file mode 100644 index 4145dc81df..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_stencil_two_side +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_stencil_two_side -http://www.opengl.org/registry/specs/EXT/stencil_two_side.txt -GL_EXT_stencil_two_side - GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 - GL_ACTIVE_STENCIL_FACE_EXT 0x8911 - void glActiveStencilFaceEXT (GLenum face) diff --git a/Externals/GLew/auto/extensions/GL_EXT_stencil_wrap b/Externals/GLew/auto/extensions/GL_EXT_stencil_wrap deleted file mode 100644 index b9ee8ebb12..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_stencil_wrap +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_stencil_wrap -http://www.opengl.org/registry/specs/EXT/stencil_wrap.txt -GL_EXT_stencil_wrap - GL_INCR_WRAP_EXT 0x8507 - GL_DECR_WRAP_EXT 0x8508 diff --git a/Externals/GLew/auto/extensions/GL_EXT_subtexture b/Externals/GLew/auto/extensions/GL_EXT_subtexture deleted file mode 100644 index 1592146387..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_subtexture +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_subtexture -http://www.opengl.org/registry/specs/EXT/subtexture.txt -GL_EXT_subtexture - void glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels) - void glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels) - void glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels) diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture b/Externals/GLew/auto/extensions/GL_EXT_texture deleted file mode 100644 index 5e78f29d06..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture +++ /dev/null @@ -1,45 +0,0 @@ -GL_EXT_texture -http://www.opengl.org/registry/specs/EXT/texture.txt -GL_EXT_texture - GL_ALPHA4_EXT 0x803B - GL_ALPHA8_EXT 0x803C - GL_ALPHA12_EXT 0x803D - GL_ALPHA16_EXT 0x803E - GL_LUMINANCE4_EXT 0x803F - GL_LUMINANCE8_EXT 0x8040 - GL_LUMINANCE12_EXT 0x8041 - GL_LUMINANCE16_EXT 0x8042 - GL_LUMINANCE4_ALPHA4_EXT 0x8043 - GL_LUMINANCE6_ALPHA2_EXT 0x8044 - GL_LUMINANCE8_ALPHA8_EXT 0x8045 - GL_LUMINANCE12_ALPHA4_EXT 0x8046 - GL_LUMINANCE12_ALPHA12_EXT 0x8047 - GL_LUMINANCE16_ALPHA16_EXT 0x8048 - GL_INTENSITY_EXT 0x8049 - GL_INTENSITY4_EXT 0x804A - GL_INTENSITY8_EXT 0x804B - GL_INTENSITY12_EXT 0x804C - GL_INTENSITY16_EXT 0x804D - GL_RGB2_EXT 0x804E - GL_RGB4_EXT 0x804F - GL_RGB5_EXT 0x8050 - GL_RGB8_EXT 0x8051 - GL_RGB10_EXT 0x8052 - GL_RGB12_EXT 0x8053 - GL_RGB16_EXT 0x8054 - GL_RGBA2_EXT 0x8055 - GL_RGBA4_EXT 0x8056 - GL_RGB5_A1_EXT 0x8057 - GL_RGBA8_EXT 0x8058 - GL_RGB10_A2_EXT 0x8059 - GL_RGBA12_EXT 0x805A - GL_RGBA16_EXT 0x805B - GL_TEXTURE_RED_SIZE_EXT 0x805C - GL_TEXTURE_GREEN_SIZE_EXT 0x805D - GL_TEXTURE_BLUE_SIZE_EXT 0x805E - GL_TEXTURE_ALPHA_SIZE_EXT 0x805F - GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 - GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 - GL_REPLACE_EXT 0x8062 - GL_PROXY_TEXTURE_1D_EXT 0x8063 - GL_PROXY_TEXTURE_2D_EXT 0x8064 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture3D b/Externals/GLew/auto/extensions/GL_EXT_texture3D deleted file mode 100644 index 5f248babb7..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture3D +++ /dev/null @@ -1,13 +0,0 @@ -GL_EXT_texture3D -http://www.opengl.org/registry/specs/EXT/texture3D.txt -GL_EXT_texture3D - GL_PACK_SKIP_IMAGES_EXT 0x806B - GL_PACK_IMAGE_HEIGHT_EXT 0x806C - GL_UNPACK_SKIP_IMAGES_EXT 0x806D - GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E - GL_TEXTURE_3D_EXT 0x806F - GL_PROXY_TEXTURE_3D_EXT 0x8070 - GL_TEXTURE_DEPTH_EXT 0x8071 - GL_TEXTURE_WRAP_R_EXT 0x8072 - GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 - void glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels) diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_array b/Externals/GLew/auto/extensions/GL_EXT_texture_array deleted file mode 100644 index f61e72ebc3..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_array +++ /dev/null @@ -1,11 +0,0 @@ -GL_EXT_texture_array -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_array.txt -GL_EXT_texture_array - GL_TEXTURE_1D_ARRAY_EXT 0x8C18 - GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 - GL_TEXTURE_2D_ARRAY_EXT 0x8C1A - GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B - GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C - GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D - GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF - GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_buffer_object b/Externals/GLew/auto/extensions/GL_EXT_texture_buffer_object deleted file mode 100644 index c00e1f3367..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_buffer_object +++ /dev/null @@ -1,9 +0,0 @@ -GL_EXT_texture_buffer_object -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_buffer_object.txt -GL_EXT_texture_buffer_object - GL_TEXTURE_BUFFER_EXT 0x8C2A - GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B - GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C - GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D - GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E - void glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer) diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_compression_dxt1 b/Externals/GLew/auto/extensions/GL_EXT_texture_compression_dxt1 deleted file mode 100644 index 4e31f3d2b4..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_compression_dxt1 +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_texture_compression_dxt1 -http://www.opengl.org/registry/specs/EXT/texture_compression_dxt1.txt -GL_EXT_texture_compression_dxt1 - GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 - GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_compression_latc b/Externals/GLew/auto/extensions/GL_EXT_texture_compression_latc deleted file mode 100644 index ddf8d26449..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_compression_latc +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_texture_compression_latc -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_compression_latc.txt -GL_EXT_texture_compression_latc - GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 - GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 - GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 - GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_compression_rgtc b/Externals/GLew/auto/extensions/GL_EXT_texture_compression_rgtc deleted file mode 100644 index 7c5c57ff83..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_compression_rgtc +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_texture_compression_rgtc -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_compression_rgtc.txt -GL_EXT_texture_compression_rgtc - GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB - GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC - GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD - GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_compression_s3tc b/Externals/GLew/auto/extensions/GL_EXT_texture_compression_s3tc deleted file mode 100644 index 6369ded31a..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_compression_s3tc +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_texture_compression_s3tc -http://www.opengl.org/registry/specs/EXT/texture_compression_s3tc.txt -GL_EXT_texture_compression_s3tc - GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 - GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 - GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 - GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_cube_map b/Externals/GLew/auto/extensions/GL_EXT_texture_cube_map deleted file mode 100644 index 5909f4803c..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_cube_map +++ /dev/null @@ -1,15 +0,0 @@ -GL_EXT_texture_cube_map -http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_texture_cube_map.txt -GL_EXT_texture_cube_map - GL_NORMAL_MAP_EXT 0x8511 - GL_REFLECTION_MAP_EXT 0x8512 - GL_TEXTURE_CUBE_MAP_EXT 0x8513 - GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 - GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 - GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 - GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 - GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 - GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 - GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A - GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B - GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_edge_clamp b/Externals/GLew/auto/extensions/GL_EXT_texture_edge_clamp deleted file mode 100644 index 4df0997d74..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_edge_clamp +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_texture_edge_clamp -http://www.opengl.org/developers/documentation/Version1.2/1.2specs/texture_edge_clamp.txt -GL_EXT_texture_edge_clamp - GL_CLAMP_TO_EDGE_EXT 0x812F diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_env b/Externals/GLew/auto/extensions/GL_EXT_texture_env deleted file mode 100644 index 73017c252f..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_env +++ /dev/null @@ -1,14 +0,0 @@ -GL_EXT_texture_env -http://www.opengl.org/registry/specs/EXT/texture_env.txt -GL_EXT_texture_env - GL_TEXTURE_ENV0_EXT 0 - GL_TEXTURE_ENV_SHIFT_EXT 0 - GL_ENV_BLEND_EXT 0 - GL_ENV_ADD_EXT 0 - GL_ENV_REPLACE_EXT 0 - GL_ENV_SUBTRACT_EXT 0 - GL_TEXTURE_ENV_MODE_ALPHA_EXT 0 - GL_ENV_REVERSE_BLEND_EXT 0 - GL_ENV_REVERSE_SUBTRACT_EXT 0 - GL_ENV_COPY_EXT 0 - GL_ENV_MODULATE_EXT 0 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_env_add b/Externals/GLew/auto/extensions/GL_EXT_texture_env_add deleted file mode 100644 index 11eead636f..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_env_add +++ /dev/null @@ -1,3 +0,0 @@ -GL_EXT_texture_env_add -http://www.opengl.org/registry/specs/EXT/texture_env_add.txt -GL_EXT_texture_env_add diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_env_combine b/Externals/GLew/auto/extensions/GL_EXT_texture_env_combine deleted file mode 100644 index dda88914cc..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_env_combine +++ /dev/null @@ -1,24 +0,0 @@ -GL_EXT_texture_env_combine -http://www.opengl.org/registry/specs/EXT/texture_env_combine.txt -GL_EXT_texture_env_combine - GL_COMBINE_EXT 0x8570 - GL_COMBINE_RGB_EXT 0x8571 - GL_COMBINE_ALPHA_EXT 0x8572 - GL_RGB_SCALE_EXT 0x8573 - GL_ADD_SIGNED_EXT 0x8574 - GL_INTERPOLATE_EXT 0x8575 - GL_CONSTANT_EXT 0x8576 - GL_PRIMARY_COLOR_EXT 0x8577 - GL_PREVIOUS_EXT 0x8578 - GL_SOURCE0_RGB_EXT 0x8580 - GL_SOURCE1_RGB_EXT 0x8581 - GL_SOURCE2_RGB_EXT 0x8582 - GL_SOURCE0_ALPHA_EXT 0x8588 - GL_SOURCE1_ALPHA_EXT 0x8589 - GL_SOURCE2_ALPHA_EXT 0x858A - GL_OPERAND0_RGB_EXT 0x8590 - GL_OPERAND1_RGB_EXT 0x8591 - GL_OPERAND2_RGB_EXT 0x8592 - GL_OPERAND0_ALPHA_EXT 0x8598 - GL_OPERAND1_ALPHA_EXT 0x8599 - GL_OPERAND2_ALPHA_EXT 0x859A diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_env_dot3 b/Externals/GLew/auto/extensions/GL_EXT_texture_env_dot3 deleted file mode 100644 index 3b740d607d..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_env_dot3 +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_texture_env_dot3 -http://www.opengl.org/registry/specs/EXT/texture_env_dot3.txt -GL_EXT_texture_env_dot3 - GL_DOT3_RGB_EXT 0x8740 - GL_DOT3_RGBA_EXT 0x8741 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_filter_anisotropic b/Externals/GLew/auto/extensions/GL_EXT_texture_filter_anisotropic deleted file mode 100644 index 1e4d780c2b..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_filter_anisotropic +++ /dev/null @@ -1,5 +0,0 @@ -GL_EXT_texture_filter_anisotropic -http://www.opengl.org/registry/specs/EXT/texture_filter_anisotropic.txt -GL_EXT_texture_filter_anisotropic - GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE - GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_integer b/Externals/GLew/auto/extensions/GL_EXT_texture_integer deleted file mode 100644 index 1c57e40d87..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_integer +++ /dev/null @@ -1,56 +0,0 @@ -GL_EXT_texture_integer -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_integer.txt -GL_EXT_texture_integer - GL_RGBA32UI_EXT 0x8D70 - GL_RGB32UI_EXT 0x8D71 - GL_ALPHA32UI_EXT 0x8D72 - GL_INTENSITY32UI_EXT 0x8D73 - GL_LUMINANCE32UI_EXT 0x8D74 - GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 - GL_RGBA16UI_EXT 0x8D76 - GL_RGB16UI_EXT 0x8D77 - GL_ALPHA16UI_EXT 0x8D78 - GL_INTENSITY16UI_EXT 0x8D79 - GL_LUMINANCE16UI_EXT 0x8D7A - GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B - GL_RGBA8UI_EXT 0x8D7C - GL_RGB8UI_EXT 0x8D7D - GL_ALPHA8UI_EXT 0x8D7E - GL_INTENSITY8UI_EXT 0x8D7F - GL_LUMINANCE8UI_EXT 0x8D80 - GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 - GL_RGBA32I_EXT 0x8D82 - GL_RGB32I_EXT 0x8D83 - GL_ALPHA32I_EXT 0x8D84 - GL_INTENSITY32I_EXT 0x8D85 - GL_LUMINANCE32I_EXT 0x8D86 - GL_LUMINANCE_ALPHA32I_EXT 0x8D87 - GL_RGBA16I_EXT 0x8D88 - GL_RGB16I_EXT 0x8D89 - GL_ALPHA16I_EXT 0x8D8A - GL_INTENSITY16I_EXT 0x8D8B - GL_LUMINANCE16I_EXT 0x8D8C - GL_LUMINANCE_ALPHA16I_EXT 0x8D8D - GL_RGBA8I_EXT 0x8D8E - GL_RGB8I_EXT 0x8D8F - GL_ALPHA8I_EXT 0x8D90 - GL_INTENSITY8I_EXT 0x8D91 - GL_LUMINANCE8I_EXT 0x8D92 - GL_LUMINANCE_ALPHA8I_EXT 0x8D93 - GL_RED_INTEGER_EXT 0x8D94 - GL_GREEN_INTEGER_EXT 0x8D95 - GL_BLUE_INTEGER_EXT 0x8D96 - GL_ALPHA_INTEGER_EXT 0x8D97 - GL_RGB_INTEGER_EXT 0x8D98 - GL_RGBA_INTEGER_EXT 0x8D99 - GL_BGR_INTEGER_EXT 0x8D9A - GL_BGRA_INTEGER_EXT 0x8D9B - GL_LUMINANCE_INTEGER_EXT 0x8D9C - GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D - GL_RGBA_INTEGER_MODE_EXT 0x8D9E - void glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params) - void glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params) - void glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params) - void glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params) - void glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha) - void glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha) diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_lod_bias b/Externals/GLew/auto/extensions/GL_EXT_texture_lod_bias deleted file mode 100644 index 216612688f..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_lod_bias +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_texture_lod_bias -http://www.opengl.org/registry/specs/EXT/texture_lod_bias.txt -GL_EXT_texture_lod_bias - GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD - GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 - GL_TEXTURE_LOD_BIAS_EXT 0x8501 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_mirror_clamp b/Externals/GLew/auto/extensions/GL_EXT_texture_mirror_clamp deleted file mode 100644 index 6e3471c745..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_mirror_clamp +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_texture_mirror_clamp -http://www.opengl.org/registry/specs/EXT/texture_mirror_clamp.txt -GL_EXT_texture_mirror_clamp - GL_MIRROR_CLAMP_EXT 0x8742 - GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 - GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_object b/Externals/GLew/auto/extensions/GL_EXT_texture_object deleted file mode 100644 index 13d4cde7f8..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_object +++ /dev/null @@ -1,14 +0,0 @@ -GL_EXT_texture_object -http://www.opengl.org/registry/specs/EXT/texture_object.txt -GL_EXT_texture_object - GL_TEXTURE_PRIORITY_EXT 0x8066 - GL_TEXTURE_RESIDENT_EXT 0x8067 - GL_TEXTURE_1D_BINDING_EXT 0x8068 - GL_TEXTURE_2D_BINDING_EXT 0x8069 - GL_TEXTURE_3D_BINDING_EXT 0x806A - GLboolean glAreTexturesResidentEXT (GLsizei n, const GLuint* textures, GLboolean* residences) - void glBindTextureEXT (GLenum target, GLuint texture) - void glDeleteTexturesEXT (GLsizei n, const GLuint* textures) - void glGenTexturesEXT (GLsizei n, GLuint* textures) - GLboolean glIsTextureEXT (GLuint texture) - void glPrioritizeTexturesEXT (GLsizei n, const GLuint* textures, const GLclampf* priorities) diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_perturb_normal b/Externals/GLew/auto/extensions/GL_EXT_texture_perturb_normal deleted file mode 100644 index b852190472..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_perturb_normal +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_texture_perturb_normal -http://www.opengl.org/registry/specs/EXT/texture_perturb_normal.txt -GL_EXT_texture_perturb_normal - GL_PERTURB_EXT 0x85AE - GL_TEXTURE_NORMAL_EXT 0x85AF - void glTextureNormalEXT (GLenum mode) diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_rectangle b/Externals/GLew/auto/extensions/GL_EXT_texture_rectangle deleted file mode 100644 index 4028a9e671..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_rectangle +++ /dev/null @@ -1,7 +0,0 @@ -GL_EXT_texture_rectangle -http://developer.apple.com/opengl/extensions/ext_texture_rectangle.html -GL_EXT_texture_rectangle - GL_TEXTURE_RECTANGLE_EXT 0x84F5 - GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6 - GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7 - GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8 diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_sRGB b/Externals/GLew/auto/extensions/GL_EXT_texture_sRGB deleted file mode 100644 index e38d9a955e..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_sRGB +++ /dev/null @@ -1,19 +0,0 @@ -GL_EXT_texture_sRGB -http://www.opengl.org/registry/specs/EXT/texture_sRGB.txt -GL_EXT_texture_sRGB - GL_SRGB_EXT 0x8C40 - GL_SRGB8_EXT 0x8C41 - GL_SRGB_ALPHA_EXT 0x8C42 - GL_SRGB8_ALPHA8_EXT 0x8C43 - GL_SLUMINANCE_ALPHA_EXT 0x8C44 - GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 - GL_SLUMINANCE_EXT 0x8C46 - GL_SLUMINANCE8_EXT 0x8C47 - GL_COMPRESSED_SRGB_EXT 0x8C48 - GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 - GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A - GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B - GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C - GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D - GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E - GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_shared_exponent b/Externals/GLew/auto/extensions/GL_EXT_texture_shared_exponent deleted file mode 100644 index 4ff7efcd35..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_shared_exponent +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_texture_shared_exponent -http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_shared_exponent.txt -GL_EXT_texture_shared_exponent - GL_RGB9_E5_EXT 0x8C3D - GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E - GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_snorm b/Externals/GLew/auto/extensions/GL_EXT_texture_snorm deleted file mode 100644 index 493a8be621..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_snorm +++ /dev/null @@ -1,28 +0,0 @@ -GL_EXT_texture_snorm -http://www.opengl.org/registry/specs/EXT/texture_snorm.txt -GL_EXT_texture_snorm - GL_RED_SNORM 0x8F90 - GL_RG_SNORM 0x8F91 - GL_RGB_SNORM 0x8F92 - GL_RGBA_SNORM 0x8F93 - GL_R8_SNORM 0x8F94 - GL_RG8_SNORM 0x8F95 - GL_RGB8_SNORM 0x8F96 - GL_RGBA8_SNORM 0x8F97 - GL_R16_SNORM 0x8F98 - GL_RG16_SNORM 0x8F99 - GL_RGB16_SNORM 0x8F9A - GL_RGBA16_SNORM 0x8F9B - GL_SIGNED_NORMALIZED 0x8F9C - GL_ALPHA_SNORM 0x9010 - GL_LUMINANCE_SNORM 0x9011 - GL_LUMINANCE_ALPHA_SNORM 0x9012 - GL_INTENSITY_SNORM 0x9013 - GL_ALPHA8_SNORM 0x9014 - GL_LUMINANCE8_SNORM 0x9015 - GL_LUMINANCE8_ALPHA8_SNORM 0x9016 - GL_INTENSITY8_SNORM 0x9017 - GL_ALPHA16_SNORM 0x9018 - GL_LUMINANCE16_SNORM 0x9019 - GL_LUMINANCE16_ALPHA16_SNORM 0x901A - GL_INTENSITY16_SNORM 0x901B diff --git a/Externals/GLew/auto/extensions/GL_EXT_texture_swizzle b/Externals/GLew/auto/extensions/GL_EXT_texture_swizzle deleted file mode 100644 index 2d2884b0ed..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_texture_swizzle +++ /dev/null @@ -1,8 +0,0 @@ -GL_EXT_texture_swizzle -http://www.opengl.org/registry/specs/EXT/texture_swizzle.txt -GL_EXT_texture_swizzle - GL_TEXTURE_SWIZZLE_R_EXT 0x8E42 - GL_TEXTURE_SWIZZLE_G_EXT 0x8E43 - GL_TEXTURE_SWIZZLE_B_EXT 0x8E44 - GL_TEXTURE_SWIZZLE_A_EXT 0x8E45 - GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46 diff --git a/Externals/GLew/auto/extensions/GL_EXT_timer_query b/Externals/GLew/auto/extensions/GL_EXT_timer_query deleted file mode 100644 index 390e6fc0cd..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_timer_query +++ /dev/null @@ -1,6 +0,0 @@ -GL_EXT_timer_query -http://www.nvidia.com/dev_content/nvopenglspecs/GL_EXT_timer_query.txt -GL_EXT_timer_query - GL_TIME_ELAPSED_EXT 0x88BF - void glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params) - void glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params) diff --git a/Externals/GLew/auto/extensions/GL_EXT_transform_feedback b/Externals/GLew/auto/extensions/GL_EXT_transform_feedback deleted file mode 100644 index 72ae6fd4a3..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_transform_feedback +++ /dev/null @@ -1,25 +0,0 @@ -GL_EXT_transform_feedback -http://www.opengl.org/registry/specs/EXT/transform_feedback.txt -GL_EXT_transform_feedback - GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 - GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F - GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 - GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 - GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 - GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 - GL_PRIMITIVES_GENERATED_EXT 0x8C87 - GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 - GL_RASTERIZER_DISCARD_EXT 0x8C89 - GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A - GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B - GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C - GL_SEPARATE_ATTRIBS_EXT 0x8C8D - GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E - GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F - void glBeginTransformFeedbackEXT (GLenum primitiveMode) - void glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer) - void glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset) - void glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) - void glEndTransformFeedbackEXT (void) - void glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei *size, GLenum *type, char *name) - void glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const char ** varyings, GLenum bufferMode) diff --git a/Externals/GLew/auto/extensions/GL_EXT_vertex_array b/Externals/GLew/auto/extensions/GL_EXT_vertex_array deleted file mode 100644 index 43bbe30a6c..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_vertex_array +++ /dev/null @@ -1,45 +0,0 @@ -GL_EXT_vertex_array -http://www.opengl.org/registry/specs/EXT/vertex_array.txt -GL_EXT_vertex_array - GL_DOUBLE_EXT 0x140A - GL_VERTEX_ARRAY_EXT 0x8074 - GL_NORMAL_ARRAY_EXT 0x8075 - GL_COLOR_ARRAY_EXT 0x8076 - GL_INDEX_ARRAY_EXT 0x8077 - GL_TEXTURE_COORD_ARRAY_EXT 0x8078 - GL_EDGE_FLAG_ARRAY_EXT 0x8079 - GL_VERTEX_ARRAY_SIZE_EXT 0x807A - GL_VERTEX_ARRAY_TYPE_EXT 0x807B - GL_VERTEX_ARRAY_STRIDE_EXT 0x807C - GL_VERTEX_ARRAY_COUNT_EXT 0x807D - GL_NORMAL_ARRAY_TYPE_EXT 0x807E - GL_NORMAL_ARRAY_STRIDE_EXT 0x807F - GL_NORMAL_ARRAY_COUNT_EXT 0x8080 - GL_COLOR_ARRAY_SIZE_EXT 0x8081 - GL_COLOR_ARRAY_TYPE_EXT 0x8082 - GL_COLOR_ARRAY_STRIDE_EXT 0x8083 - GL_COLOR_ARRAY_COUNT_EXT 0x8084 - GL_INDEX_ARRAY_TYPE_EXT 0x8085 - GL_INDEX_ARRAY_STRIDE_EXT 0x8086 - GL_INDEX_ARRAY_COUNT_EXT 0x8087 - GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 - GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 - GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A - GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B - GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C - GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D - GL_VERTEX_ARRAY_POINTER_EXT 0x808E - GL_NORMAL_ARRAY_POINTER_EXT 0x808F - GL_COLOR_ARRAY_POINTER_EXT 0x8090 - GL_INDEX_ARRAY_POINTER_EXT 0x8091 - GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 - GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 - void glArrayElementEXT (GLint i) - void glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer) - void glDrawArraysEXT (GLenum mode, GLint first, GLsizei count) - void glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean* pointer) - void glGetPointervEXT (GLenum pname, void** params) - void glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void* pointer) - void glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void* pointer) - void glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer) - void glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer) diff --git a/Externals/GLew/auto/extensions/GL_EXT_vertex_array_bgra b/Externals/GLew/auto/extensions/GL_EXT_vertex_array_bgra deleted file mode 100644 index ea2f99bb7e..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_vertex_array_bgra +++ /dev/null @@ -1,4 +0,0 @@ -GL_EXT_vertex_array_bgra -http://www.opengl.org/registry/specs/EXT/vertex_array_bgra.txt -GL_EXT_vertex_array_bgra - GL_BGRA 0x80E1 diff --git a/Externals/GLew/auto/extensions/GL_EXT_vertex_attrib_64bit b/Externals/GLew/auto/extensions/GL_EXT_vertex_attrib_64bit deleted file mode 100644 index 4773342bad..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_vertex_attrib_64bit +++ /dev/null @@ -1,20 +0,0 @@ -GL_EXT_vertex_attrib_64bit -http://www.opengl.org/registry/specs/EXT/vertex_attrib_64bit.txt -GL_EXT_vertex_attrib_64bit - GL_DOUBLE_MAT2_EXT 0x8F46 - GL_DOUBLE_MAT3_EXT 0x8F47 - GL_DOUBLE_MAT4_EXT 0x8F48 - GL_DOUBLE_VEC2_EXT 0x8FFC - GL_DOUBLE_VEC3_EXT 0x8FFD - GL_DOUBLE_VEC4_EXT 0x8FFE - void glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble* params) - void glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset) - void glVertexAttribL1dEXT (GLuint index, GLdouble x) - void glVertexAttribL1dvEXT (GLuint index, const GLdouble* v) - void glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y) - void glVertexAttribL2dvEXT (GLuint index, const GLdouble* v) - void glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z) - void glVertexAttribL3dvEXT (GLuint index, const GLdouble* v) - void glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glVertexAttribL4dvEXT (GLuint index, const GLdouble* v) - void glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer) diff --git a/Externals/GLew/auto/extensions/GL_EXT_vertex_shader b/Externals/GLew/auto/extensions/GL_EXT_vertex_shader deleted file mode 100644 index eb125b6083..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_vertex_shader +++ /dev/null @@ -1,156 +0,0 @@ -GL_EXT_vertex_shader -http://oss.sgi.com/projects/ogl-sample/registry/EXT/vertex_shader.txt -GL_EXT_vertex_shader - GL_VERTEX_SHADER_EXT 0x8780 - GL_VERTEX_SHADER_BINDING_EXT 0x8781 - GL_OP_INDEX_EXT 0x8782 - GL_OP_NEGATE_EXT 0x8783 - GL_OP_DOT3_EXT 0x8784 - GL_OP_DOT4_EXT 0x8785 - GL_OP_MUL_EXT 0x8786 - GL_OP_ADD_EXT 0x8787 - GL_OP_MADD_EXT 0x8788 - GL_OP_FRAC_EXT 0x8789 - GL_OP_MAX_EXT 0x878A - GL_OP_MIN_EXT 0x878B - GL_OP_SET_GE_EXT 0x878C - GL_OP_SET_LT_EXT 0x878D - GL_OP_CLAMP_EXT 0x878E - GL_OP_FLOOR_EXT 0x878F - GL_OP_ROUND_EXT 0x8790 - GL_OP_EXP_BASE_2_EXT 0x8791 - GL_OP_LOG_BASE_2_EXT 0x8792 - GL_OP_POWER_EXT 0x8793 - GL_OP_RECIP_EXT 0x8794 - GL_OP_RECIP_SQRT_EXT 0x8795 - GL_OP_SUB_EXT 0x8796 - GL_OP_CROSS_PRODUCT_EXT 0x8797 - GL_OP_MULTIPLY_MATRIX_EXT 0x8798 - GL_OP_MOV_EXT 0x8799 - GL_OUTPUT_VERTEX_EXT 0x879A - GL_OUTPUT_COLOR0_EXT 0x879B - GL_OUTPUT_COLOR1_EXT 0x879C - GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D - GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E - GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F - GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 - GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 - GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 - GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 - GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 - GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 - GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 - GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 - GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 - GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 - GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA - GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB - GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC - GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD - GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE - GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF - GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 - GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 - GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 - GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 - GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 - GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 - GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 - GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 - GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 - GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 - GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA - GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB - GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC - GL_OUTPUT_FOG_EXT 0x87BD - GL_SCALAR_EXT 0x87BE - GL_VECTOR_EXT 0x87BF - GL_MATRIX_EXT 0x87C0 - GL_VARIANT_EXT 0x87C1 - GL_INVARIANT_EXT 0x87C2 - GL_LOCAL_CONSTANT_EXT 0x87C3 - GL_LOCAL_EXT 0x87C4 - GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 - GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 - GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 - GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 - GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 - GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA - GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB - GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CC - GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CD - GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE - GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF - GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 - GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 - GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 - GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 - GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 - GL_X_EXT 0x87D5 - GL_Y_EXT 0x87D6 - GL_Z_EXT 0x87D7 - GL_W_EXT 0x87D8 - GL_NEGATIVE_X_EXT 0x87D9 - GL_NEGATIVE_Y_EXT 0x87DA - GL_NEGATIVE_Z_EXT 0x87DB - GL_NEGATIVE_W_EXT 0x87DC - GL_ZERO_EXT 0x87DD - GL_ONE_EXT 0x87DE - GL_NEGATIVE_ONE_EXT 0x87DF - GL_NORMALIZED_RANGE_EXT 0x87E0 - GL_FULL_RANGE_EXT 0x87E1 - GL_CURRENT_VERTEX_EXT 0x87E2 - GL_MVP_MATRIX_EXT 0x87E3 - GL_VARIANT_VALUE_EXT 0x87E4 - GL_VARIANT_DATATYPE_EXT 0x87E5 - GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 - GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 - GL_VARIANT_ARRAY_EXT 0x87E8 - GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 - GL_INVARIANT_VALUE_EXT 0x87EA - GL_INVARIANT_DATATYPE_EXT 0x87EB - GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC - GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED - - void glBeginVertexShaderEXT (void) - void glEndVertexShaderEXT (void) - void glBindVertexShaderEXT (GLuint id) - GLuint glGenVertexShadersEXT (GLuint range) - void glDeleteVertexShaderEXT (GLuint id) - void glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1) - void glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2) - void glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3) - void glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) - void glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) - void glInsertComponentEXT (GLuint res, GLuint src, GLuint num) - void glExtractComponentEXT (GLuint res, GLuint src, GLuint num) - GLuint glGenSymbolsEXT (GLenum dataType, GLenum storageType, GLenum range, GLuint components) - void glSetInvariantEXT (GLuint id, GLenum type, GLvoid *addr) - void glSetLocalConstantEXT (GLuint id, GLenum type, GLvoid *addr) - void glVariantbvEXT (GLuint id, GLbyte *addr) - void glVariantsvEXT (GLuint id, GLshort *addr) - void glVariantivEXT (GLuint id, GLint *addr) - void glVariantfvEXT (GLuint id, GLfloat *addr) - void glVariantdvEXT (GLuint id, GLdouble *addr) - void glVariantubvEXT (GLuint id, GLubyte *addr) - void glVariantusvEXT (GLuint id, GLushort *addr) - void glVariantuivEXT (GLuint id, GLuint *addr) - void glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, GLvoid *addr) - void glEnableVariantClientStateEXT (GLuint id) - void glDisableVariantClientStateEXT (GLuint id) - GLuint glBindLightParameterEXT (GLenum light, GLenum value) - GLuint glBindMaterialParameterEXT (GLenum face, GLenum value) - GLuint glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value) - GLuint glBindTextureUnitParameterEXT (GLenum unit, GLenum value) - GLuint glBindParameterEXT (GLenum value) - GLboolean glIsVariantEnabledEXT (GLuint id, GLenum cap) - void glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) - void glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data) - void glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data) - void glGetVariantPointervEXT (GLuint id, GLenum value, GLvoid **data) - void glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) - void glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data) - void glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data) - void glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data) - void glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data) - void glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data) diff --git a/Externals/GLew/auto/extensions/GL_EXT_vertex_weighting b/Externals/GLew/auto/extensions/GL_EXT_vertex_weighting deleted file mode 100644 index 7a5a0f043e..0000000000 --- a/Externals/GLew/auto/extensions/GL_EXT_vertex_weighting +++ /dev/null @@ -1,19 +0,0 @@ -GL_EXT_vertex_weighting -http://www.opengl.org/registry/specs/EXT/vertex_weighting.txt -GL_EXT_vertex_weighting - GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 - GL_MODELVIEW0_MATRIX_EXT 0x0BA6 - GL_MODELVIEW0_EXT 0x1700 - GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 - GL_MODELVIEW1_MATRIX_EXT 0x8506 - GL_VERTEX_WEIGHTING_EXT 0x8509 - GL_MODELVIEW1_EXT 0x850A - GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B - GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C - GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D - GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E - GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F - GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 - void glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, void* pointer) - void glVertexWeightfEXT (GLfloat weight) - void glVertexWeightfvEXT (GLfloat* weight) diff --git a/Externals/GLew/auto/extensions/GL_GREMEDY_frame_terminator b/Externals/GLew/auto/extensions/GL_GREMEDY_frame_terminator deleted file mode 100644 index 2832f551ab..0000000000 --- a/Externals/GLew/auto/extensions/GL_GREMEDY_frame_terminator +++ /dev/null @@ -1,4 +0,0 @@ -GL_GREMEDY_frame_terminator -http://www.opengl.org/registry/specs/GREMEDY/frame_terminator.txt -GL_GREMEDY_frame_terminator - void glFrameTerminatorGREMEDY (void) diff --git a/Externals/GLew/auto/extensions/GL_GREMEDY_string_marker b/Externals/GLew/auto/extensions/GL_GREMEDY_string_marker deleted file mode 100644 index 34f07f942d..0000000000 --- a/Externals/GLew/auto/extensions/GL_GREMEDY_string_marker +++ /dev/null @@ -1,4 +0,0 @@ -GL_GREMEDY_string_marker -http://www.opengl.org/registry/specs/GREMEDY/string_marker.txt -GL_GREMEDY_string_marker - void glStringMarkerGREMEDY (GLsizei len, const void* string) diff --git a/Externals/GLew/auto/extensions/GL_HP_convolution_border_modes b/Externals/GLew/auto/extensions/GL_HP_convolution_border_modes deleted file mode 100644 index cfcdca05ad..0000000000 --- a/Externals/GLew/auto/extensions/GL_HP_convolution_border_modes +++ /dev/null @@ -1,3 +0,0 @@ -GL_HP_convolution_border_modes -http://www.opengl.org/registry/specs/HP/convolution_border_modes.txt -GL_HP_convolution_border_modes diff --git a/Externals/GLew/auto/extensions/GL_HP_image_transform b/Externals/GLew/auto/extensions/GL_HP_image_transform deleted file mode 100644 index c1842393e8..0000000000 --- a/Externals/GLew/auto/extensions/GL_HP_image_transform +++ /dev/null @@ -1,9 +0,0 @@ -GL_HP_image_transform -http://www.opengl.org/registry/specs/HP/image_transform.txt -GL_HP_image_transform - void glGetImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat* params) - void glGetImageTransformParameterivHP (GLenum target, GLenum pname, const GLint* params) - void glImageTransformParameterfHP (GLenum target, GLenum pname, const GLfloat param) - void glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat* params) - void glImageTransformParameteriHP (GLenum target, GLenum pname, const GLint param) - void glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_HP_occlusion_test b/Externals/GLew/auto/extensions/GL_HP_occlusion_test deleted file mode 100644 index f3e091eb47..0000000000 --- a/Externals/GLew/auto/extensions/GL_HP_occlusion_test +++ /dev/null @@ -1,5 +0,0 @@ -GL_HP_occlusion_test -http://www.opengl.org/registry/specs/HP/occlusion_test.txt -GL_HP_occlusion_test - GL_OCCLUSION_TEST_RESULT_HP 0x8166 - GL_OCCLUSION_TEST_HP 0x8165 diff --git a/Externals/GLew/auto/extensions/GL_HP_texture_lighting b/Externals/GLew/auto/extensions/GL_HP_texture_lighting deleted file mode 100644 index d5d3f7333e..0000000000 --- a/Externals/GLew/auto/extensions/GL_HP_texture_lighting +++ /dev/null @@ -1,3 +0,0 @@ -GL_HP_texture_lighting -http://www.opengl.org/registry/specs/HP/texture_lighting.txt -GL_HP_texture_lighting diff --git a/Externals/GLew/auto/extensions/GL_IBM_cull_vertex b/Externals/GLew/auto/extensions/GL_IBM_cull_vertex deleted file mode 100644 index 1b9c4d2bf0..0000000000 --- a/Externals/GLew/auto/extensions/GL_IBM_cull_vertex +++ /dev/null @@ -1,4 +0,0 @@ -GL_IBM_cull_vertex -http://www.opengl.org/registry/specs/IBM/cull_vertex.txt -GL_IBM_cull_vertex - GL_CULL_VERTEX_IBM 103050 diff --git a/Externals/GLew/auto/extensions/GL_IBM_multimode_draw_arrays b/Externals/GLew/auto/extensions/GL_IBM_multimode_draw_arrays deleted file mode 100644 index be45e8c647..0000000000 --- a/Externals/GLew/auto/extensions/GL_IBM_multimode_draw_arrays +++ /dev/null @@ -1,5 +0,0 @@ -GL_IBM_multimode_draw_arrays -http://www.opengl.org/registry/specs/IBM/multimode_draw_arrays.txt -GL_IBM_multimode_draw_arrays - void glMultiModeDrawArraysIBM (const GLenum* mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride) - void glMultiModeDrawElementsIBM (const GLenum* mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, GLint modestride) diff --git a/Externals/GLew/auto/extensions/GL_IBM_rasterpos_clip b/Externals/GLew/auto/extensions/GL_IBM_rasterpos_clip deleted file mode 100644 index b219297208..0000000000 --- a/Externals/GLew/auto/extensions/GL_IBM_rasterpos_clip +++ /dev/null @@ -1,4 +0,0 @@ -GL_IBM_rasterpos_clip -http://www.opengl.org/registry/specs/IBM/rasterpos_clip.txt -GL_IBM_rasterpos_clip - GL_RASTER_POSITION_UNCLIPPED_IBM 103010 diff --git a/Externals/GLew/auto/extensions/GL_IBM_static_data b/Externals/GLew/auto/extensions/GL_IBM_static_data deleted file mode 100644 index b31f7f9a2e..0000000000 --- a/Externals/GLew/auto/extensions/GL_IBM_static_data +++ /dev/null @@ -1,5 +0,0 @@ -GL_IBM_static_data -http://www.opengl.org/registry/specs/IBM/static_data.txt -GL_IBM_static_data - GL_ALL_STATIC_DATA_IBM 103060 - GL_STATIC_VERTEX_ARRAY_IBM 103061 diff --git a/Externals/GLew/auto/extensions/GL_IBM_texture_mirrored_repeat b/Externals/GLew/auto/extensions/GL_IBM_texture_mirrored_repeat deleted file mode 100644 index bf41e8eaf4..0000000000 --- a/Externals/GLew/auto/extensions/GL_IBM_texture_mirrored_repeat +++ /dev/null @@ -1,4 +0,0 @@ -GL_IBM_texture_mirrored_repeat -http://www.opengl.org/registry/specs/IBM/texture_mirrored_repeat.txt -GL_IBM_texture_mirrored_repeat - GL_MIRRORED_REPEAT_IBM 0x8370 diff --git a/Externals/GLew/auto/extensions/GL_IBM_vertex_array_lists b/Externals/GLew/auto/extensions/GL_IBM_vertex_array_lists deleted file mode 100644 index a03313cef7..0000000000 --- a/Externals/GLew/auto/extensions/GL_IBM_vertex_array_lists +++ /dev/null @@ -1,27 +0,0 @@ -GL_IBM_vertex_array_lists -http://www.opengl.org/registry/specs/IBM/vertex_array_lists.txt -GL_IBM_vertex_array_lists - GL_VERTEX_ARRAY_LIST_IBM 103070 - GL_NORMAL_ARRAY_LIST_IBM 103071 - GL_COLOR_ARRAY_LIST_IBM 103072 - GL_INDEX_ARRAY_LIST_IBM 103073 - GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 - GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 - GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 - GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 - GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 - GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 - GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 - GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 - GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 - GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 - GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 - GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 - void glColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) - void glEdgeFlagPointerListIBM (GLint stride, const GLboolean ** pointer, GLint ptrstride) - void glFogCoordPointerListIBM (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) - void glIndexPointerListIBM (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) - void glNormalPointerListIBM (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) - void glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) - void glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) - void glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride) diff --git a/Externals/GLew/auto/extensions/GL_INGR_color_clamp b/Externals/GLew/auto/extensions/GL_INGR_color_clamp deleted file mode 100644 index 15d27efbfd..0000000000 --- a/Externals/GLew/auto/extensions/GL_INGR_color_clamp +++ /dev/null @@ -1,11 +0,0 @@ -GL_INGR_color_clamp -http://www.opengl.org/registry/specs/INGR/color_clamp.txt -GL_INGR_color_clamp - GL_RED_MIN_CLAMP_INGR 0x8560 - GL_GREEN_MIN_CLAMP_INGR 0x8561 - GL_BLUE_MIN_CLAMP_INGR 0x8562 - GL_ALPHA_MIN_CLAMP_INGR 0x8563 - GL_RED_MAX_CLAMP_INGR 0x8564 - GL_GREEN_MAX_CLAMP_INGR 0x8565 - GL_BLUE_MAX_CLAMP_INGR 0x8566 - GL_ALPHA_MAX_CLAMP_INGR 0x8567 diff --git a/Externals/GLew/auto/extensions/GL_INGR_interlace_read b/Externals/GLew/auto/extensions/GL_INGR_interlace_read deleted file mode 100644 index 052356430c..0000000000 --- a/Externals/GLew/auto/extensions/GL_INGR_interlace_read +++ /dev/null @@ -1,4 +0,0 @@ -GL_INGR_interlace_read -http://www.opengl.org/registry/specs/INGR/interlace_read.txt -GL_INGR_interlace_read - GL_INTERLACE_READ_INGR 0x8568 diff --git a/Externals/GLew/auto/extensions/GL_INTEL_parallel_arrays b/Externals/GLew/auto/extensions/GL_INTEL_parallel_arrays deleted file mode 100644 index 925a6198b6..0000000000 --- a/Externals/GLew/auto/extensions/GL_INTEL_parallel_arrays +++ /dev/null @@ -1,12 +0,0 @@ -GL_INTEL_parallel_arrays -http://www.opengl.org/registry/specs/INTEL/parallel_arrays.txt -GL_INTEL_parallel_arrays - GL_PARALLEL_ARRAYS_INTEL 0x83F4 - GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 - GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 - GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 - GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 - void glColorPointervINTEL (GLint size, GLenum type, const void** pointer) - void glNormalPointervINTEL (GLenum type, const void** pointer) - void glTexCoordPointervINTEL (GLint size, GLenum type, const void** pointer) - void glVertexPointervINTEL (GLint size, GLenum type, const void** pointer) diff --git a/Externals/GLew/auto/extensions/GL_INTEL_texture_scissor b/Externals/GLew/auto/extensions/GL_INTEL_texture_scissor deleted file mode 100644 index 732944b295..0000000000 --- a/Externals/GLew/auto/extensions/GL_INTEL_texture_scissor +++ /dev/null @@ -1,5 +0,0 @@ -GL_INTEL_texture_scissor -http://www.opengl.org/registry/specs/INTEL/texture_scissor.txt -GL_INTEL_texture_scissor - void glTexScissorFuncINTEL (GLenum target, GLenum lfunc, GLenum hfunc) - void glTexScissorINTEL (GLenum target, GLclampf tlow, GLclampf thigh) diff --git a/Externals/GLew/auto/extensions/GL_KTX_buffer_region b/Externals/GLew/auto/extensions/GL_KTX_buffer_region deleted file mode 100644 index 22a59d3be3..0000000000 --- a/Externals/GLew/auto/extensions/GL_KTX_buffer_region +++ /dev/null @@ -1,12 +0,0 @@ -GL_KTX_buffer_region - -GL_KTX_buffer_region - GL_KTX_FRONT_REGION 0x0 - GL_KTX_BACK_REGION 0x1 - GL_KTX_Z_REGION 0x2 - GL_KTX_STENCIL_REGION 0x3 - GLuint glBufferRegionEnabledEXT (void) - GLuint glNewBufferRegionEXT (GLenum region) - void glDeleteBufferRegionEXT (GLenum region) - void glReadBufferRegionEXT (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height) - void glDrawBufferRegionEXT (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height, GLint xDest, GLint yDest) diff --git a/Externals/GLew/auto/extensions/GL_MESAX_texture_stack b/Externals/GLew/auto/extensions/GL_MESAX_texture_stack deleted file mode 100644 index 1e7c58db96..0000000000 --- a/Externals/GLew/auto/extensions/GL_MESAX_texture_stack +++ /dev/null @@ -1,9 +0,0 @@ -GL_MESAX_texture_stack -http://www.opengl.org/registry/specs/MESAX/texture_stack.txt -GL_MESAX_texture_stack - GL_TEXTURE_1D_STACK_MESAX 0x8759 - GL_TEXTURE_2D_STACK_MESAX 0x875A - GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B - GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C - GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D - GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E diff --git a/Externals/GLew/auto/extensions/GL_MESA_pack_invert b/Externals/GLew/auto/extensions/GL_MESA_pack_invert deleted file mode 100644 index dca9c64e66..0000000000 --- a/Externals/GLew/auto/extensions/GL_MESA_pack_invert +++ /dev/null @@ -1,4 +0,0 @@ -GL_MESA_pack_invert -http://www.opengl.org/registry/specs/MESA/pack_invert.txt -GL_MESA_pack_invert - GL_PACK_INVERT_MESA 0x8758 diff --git a/Externals/GLew/auto/extensions/GL_MESA_resize_buffers b/Externals/GLew/auto/extensions/GL_MESA_resize_buffers deleted file mode 100644 index 39649bdb97..0000000000 --- a/Externals/GLew/auto/extensions/GL_MESA_resize_buffers +++ /dev/null @@ -1,4 +0,0 @@ -GL_MESA_resize_buffers -http://www.opengl.org/registry/specs/MESA/resize_buffers.txt -GL_MESA_resize_buffers - void glResizeBuffersMESA (void) diff --git a/Externals/GLew/auto/extensions/GL_MESA_window_pos b/Externals/GLew/auto/extensions/GL_MESA_window_pos deleted file mode 100644 index 290c52cb8d..0000000000 --- a/Externals/GLew/auto/extensions/GL_MESA_window_pos +++ /dev/null @@ -1,27 +0,0 @@ -GL_MESA_window_pos -http://www.opengl.org/registry/specs/MESA/window_pos.txt -GL_MESA_window_pos - void glWindowPos2dMESA (GLdouble x, GLdouble y) - void glWindowPos2dvMESA (const GLdouble* p) - void glWindowPos2fMESA (GLfloat x, GLfloat y) - void glWindowPos2fvMESA (const GLfloat* p) - void glWindowPos2iMESA (GLint x, GLint y) - void glWindowPos2ivMESA (const GLint* p) - void glWindowPos2sMESA (GLshort x, GLshort y) - void glWindowPos2svMESA (const GLshort* p) - void glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z) - void glWindowPos3dvMESA (const GLdouble* p) - void glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z) - void glWindowPos3fvMESA (const GLfloat* p) - void glWindowPos3iMESA (GLint x, GLint y, GLint z) - void glWindowPos3ivMESA (const GLint* p) - void glWindowPos3sMESA (GLshort x, GLshort y, GLshort z) - void glWindowPos3svMESA (const GLshort* p) - void glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble) - void glWindowPos4dvMESA (const GLdouble* p) - void glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glWindowPos4fvMESA (const GLfloat* p) - void glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w) - void glWindowPos4ivMESA (const GLint* p) - void glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w) - void glWindowPos4svMESA (const GLshort* p) diff --git a/Externals/GLew/auto/extensions/GL_MESA_ycbcr_texture b/Externals/GLew/auto/extensions/GL_MESA_ycbcr_texture deleted file mode 100644 index f26d38761a..0000000000 --- a/Externals/GLew/auto/extensions/GL_MESA_ycbcr_texture +++ /dev/null @@ -1,6 +0,0 @@ -GL_MESA_ycbcr_texture -http://www.opengl.org/registry/specs/MESA/ycbcr_texture.txt -GL_MESA_ycbcr_texture - GL_UNSIGNED_SHORT_8_8_MESA 0x85BA - GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB - GL_YCBCR_MESA 0x8757 diff --git a/Externals/GLew/auto/extensions/GL_NV_blend_square b/Externals/GLew/auto/extensions/GL_NV_blend_square deleted file mode 100644 index 8aafdcc2bc..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_blend_square +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_blend_square -http://www.opengl.org/registry/specs/NV/blend_square.txt -GL_NV_blend_square diff --git a/Externals/GLew/auto/extensions/GL_NV_conditional_render b/Externals/GLew/auto/extensions/GL_NV_conditional_render deleted file mode 100644 index f22d1afbd2..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_conditional_render +++ /dev/null @@ -1,9 +0,0 @@ -GL_NV_conditional_render -http://www.opengl.org/registry/specs/NV/conditional_render.txt -GL_NV_conditional_render - GL_QUERY_WAIT_NV 0x8E13 - GL_QUERY_NO_WAIT_NV 0x8E14 - GL_QUERY_BY_REGION_WAIT_NV 0x8E15 - GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 - void glBeginConditionalRenderNV (GLuint id, GLenum mode) - void glEndConditionalRenderNV (void) diff --git a/Externals/GLew/auto/extensions/GL_NV_copy_depth_to_color b/Externals/GLew/auto/extensions/GL_NV_copy_depth_to_color deleted file mode 100644 index 7d48642d51..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_copy_depth_to_color +++ /dev/null @@ -1,5 +0,0 @@ -GL_NV_copy_depth_to_color -http://www.opengl.org/registry/specs/NV/copy_depth_to_color.txt -GL_NV_copy_depth_to_color - GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E - GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F diff --git a/Externals/GLew/auto/extensions/GL_NV_copy_image b/Externals/GLew/auto/extensions/GL_NV_copy_image deleted file mode 100644 index 0cf53fd927..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_copy_image +++ /dev/null @@ -1,4 +0,0 @@ -GL_NV_copy_image -http://www.opengl.org/registry/specs/NV/copy_image.txt -GL_NV_copy_image - void glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) diff --git a/Externals/GLew/auto/extensions/GL_NV_depth_buffer_float b/Externals/GLew/auto/extensions/GL_NV_depth_buffer_float deleted file mode 100644 index 493b245589..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_depth_buffer_float +++ /dev/null @@ -1,10 +0,0 @@ -GL_NV_depth_buffer_float -http://developer.download.nvidia.com/opengl/specs/GL_NV_depth_buffer_float.txt -GL_NV_depth_buffer_float - GL_DEPTH_COMPONENT32F_NV 0x8DAB - GL_DEPTH32F_STENCIL8_NV 0x8DAC - GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD - GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF - void glDepthRangedNV (GLdouble zNear, GLdouble zFar) - void glClearDepthdNV (GLdouble depth) - void glDepthBoundsdNV (GLdouble zmin, GLdouble zmax) diff --git a/Externals/GLew/auto/extensions/GL_NV_depth_clamp b/Externals/GLew/auto/extensions/GL_NV_depth_clamp deleted file mode 100644 index 561a0c59a0..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_depth_clamp +++ /dev/null @@ -1,4 +0,0 @@ -GL_NV_depth_clamp -http://www.opengl.org/registry/specs/NV/depth_clamp.txt -GL_NV_depth_clamp - GL_DEPTH_CLAMP_NV 0x864F diff --git a/Externals/GLew/auto/extensions/GL_NV_depth_range_unclamped b/Externals/GLew/auto/extensions/GL_NV_depth_range_unclamped deleted file mode 100644 index 62b4e59fa7..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_depth_range_unclamped +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_depth_range_unclamped - -GL_NV_depth_range_unclamped - GL_SAMPLE_COUNT_BITS_NV 0x8864 - GL_CURRENT_SAMPLE_COUNT_QUERY_NV 0x8865 - GL_QUERY_RESULT_NV 0x8866 - GL_QUERY_RESULT_AVAILABLE_NV 0x8867 - GL_SAMPLE_COUNT_NV 0x8914 diff --git a/Externals/GLew/auto/extensions/GL_NV_evaluators b/Externals/GLew/auto/extensions/GL_NV_evaluators deleted file mode 100644 index 531ea7fea0..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_evaluators +++ /dev/null @@ -1,36 +0,0 @@ -GL_NV_evaluators -http://www.opengl.org/registry/specs/NV/evaluators.txt -GL_NV_evaluators - GL_EVAL_2D_NV 0x86C0 - GL_EVAL_TRIANGULAR_2D_NV 0x86C1 - GL_MAP_TESSELLATION_NV 0x86C2 - GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 - GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 - GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 - GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 - GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 - GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 - GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 - GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA - GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB - GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC - GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD - GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE - GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF - GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 - GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 - GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 - GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 - GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 - GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 - GL_MAX_MAP_TESSELLATION_NV 0x86D6 - GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 - void glEvalMapsNV (GLenum target, GLenum mode) - void glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat* params) - void glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint* params) - void glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void* points) - void glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat* params) - void glGetMapParameterivNV (GLenum target, GLenum pname, GLint* params) - void glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void* points) - void glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat* params) - void glMapParameterivNV (GLenum target, GLenum pname, const GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_NV_explicit_multisample b/Externals/GLew/auto/extensions/GL_NV_explicit_multisample deleted file mode 100644 index 0b87a174a6..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_explicit_multisample +++ /dev/null @@ -1,16 +0,0 @@ -GL_NV_explicit_multisample -http://www.opengl.org/registry/specs/NV/explicit_multisample.txt -GL_NV_explicit_multisample - GL_SAMPLE_POSITION_NV 0x8E50 - GL_SAMPLE_MASK_NV 0x8E51 - GL_SAMPLE_MASK_VALUE_NV 0x8E52 - GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 - GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 - GL_TEXTURE_RENDERBUFFER_NV 0x8E55 - GL_SAMPLER_RENDERBUFFER_NV 0x8E56 - GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 - GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 - GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 - void glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat* val) - void glSampleMaskIndexedNV (GLuint index, GLbitfield mask) - void glTexRenderbufferNV (GLenum target, GLuint renderbuffer) diff --git a/Externals/GLew/auto/extensions/GL_NV_fence b/Externals/GLew/auto/extensions/GL_NV_fence deleted file mode 100644 index e59833fe7a..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_fence +++ /dev/null @@ -1,13 +0,0 @@ -GL_NV_fence -http://www.opengl.org/registry/specs/NV/fence.txt -GL_NV_fence - GL_ALL_COMPLETED_NV 0x84F2 - GL_FENCE_STATUS_NV 0x84F3 - GL_FENCE_CONDITION_NV 0x84F4 - void glDeleteFencesNV (GLsizei n, const GLuint* fences) - void glFinishFenceNV (GLuint fence) - void glGenFencesNV (GLsizei n, GLuint* fences) - void glGetFenceivNV (GLuint fence, GLenum pname, GLint* params) - GLboolean glIsFenceNV (GLuint fence) - void glSetFenceNV (GLuint fence, GLenum condition) - GLboolean glTestFenceNV (GLuint fence) diff --git a/Externals/GLew/auto/extensions/GL_NV_float_buffer b/Externals/GLew/auto/extensions/GL_NV_float_buffer deleted file mode 100644 index f44ae430f8..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_float_buffer +++ /dev/null @@ -1,18 +0,0 @@ -GL_NV_float_buffer -http://www.opengl.org/registry/specs/NV/float_buffer.txt -GL_NV_float_buffer - GL_FLOAT_R_NV 0x8880 - GL_FLOAT_RG_NV 0x8881 - GL_FLOAT_RGB_NV 0x8882 - GL_FLOAT_RGBA_NV 0x8883 - GL_FLOAT_R16_NV 0x8884 - GL_FLOAT_R32_NV 0x8885 - GL_FLOAT_RG16_NV 0x8886 - GL_FLOAT_RG32_NV 0x8887 - GL_FLOAT_RGB16_NV 0x8888 - GL_FLOAT_RGB32_NV 0x8889 - GL_FLOAT_RGBA16_NV 0x888A - GL_FLOAT_RGBA32_NV 0x888B - GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C - GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D - GL_FLOAT_RGBA_MODE_NV 0x888E diff --git a/Externals/GLew/auto/extensions/GL_NV_fog_distance b/Externals/GLew/auto/extensions/GL_NV_fog_distance deleted file mode 100644 index 9cee59b36a..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_fog_distance +++ /dev/null @@ -1,6 +0,0 @@ -GL_NV_fog_distance -http://www.opengl.org/registry/specs/NV/fog_distance.txt -GL_NV_fog_distance - GL_FOG_DISTANCE_MODE_NV 0x855A - GL_EYE_RADIAL_NV 0x855B - GL_EYE_PLANE_ABSOLUTE_NV 0x855C diff --git a/Externals/GLew/auto/extensions/GL_NV_fragment_program b/Externals/GLew/auto/extensions/GL_NV_fragment_program deleted file mode 100644 index 298808c6f8..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_fragment_program +++ /dev/null @@ -1,15 +0,0 @@ -GL_NV_fragment_program -http://www.opengl.org/registry/specs/NV/fragment_program.txt -GL_NV_fragment_program - GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 - GL_FRAGMENT_PROGRAM_NV 0x8870 - GL_MAX_TEXTURE_COORDS_NV 0x8871 - GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 - GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 - GL_PROGRAM_ERROR_STRING_NV 0x8874 - void glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte* name, GLdouble *params) - void glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte* name, GLfloat *params) - void glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte* name, const GLdouble v[]) - void glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte* name, const GLfloat v[]) diff --git a/Externals/GLew/auto/extensions/GL_NV_fragment_program2 b/Externals/GLew/auto/extensions/GL_NV_fragment_program2 deleted file mode 100644 index 7fb59eea1b..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_fragment_program2 +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_fragment_program2 -http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_fragment_program2.txt -GL_NV_fragment_program2 - GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 - GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 - GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 - GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 - GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 diff --git a/Externals/GLew/auto/extensions/GL_NV_fragment_program4 b/Externals/GLew/auto/extensions/GL_NV_fragment_program4 deleted file mode 100644 index 0ae2598795..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_fragment_program4 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_fragment_program4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_fragment_program4.txt -GL_NV_gpu_program4 diff --git a/Externals/GLew/auto/extensions/GL_NV_fragment_program_option b/Externals/GLew/auto/extensions/GL_NV_fragment_program_option deleted file mode 100644 index 7af9731bd8..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_fragment_program_option +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_fragment_program_option -http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_fragment_program_option.txt -GL_NV_fragment_program_option diff --git a/Externals/GLew/auto/extensions/GL_NV_framebuffer_multisample_coverage b/Externals/GLew/auto/extensions/GL_NV_framebuffer_multisample_coverage deleted file mode 100644 index d1d066056c..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_framebuffer_multisample_coverage +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_framebuffer_multisample_coverage -http://developer.download.nvidia.com/opengl/specs/GL_NV_framebuffer_multisample_coverage.txt -GL_NV_framebuffer_multisample_coverage - GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB - GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 - GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 - GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 - void glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) diff --git a/Externals/GLew/auto/extensions/GL_NV_geometry_program4 b/Externals/GLew/auto/extensions/GL_NV_geometry_program4 deleted file mode 100644 index 3f82b195d3..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_geometry_program4 +++ /dev/null @@ -1,7 +0,0 @@ -GL_NV_geometry_program4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_geometry_program4.txt -GL_NV_gpu_program4 - GL_GEOMETRY_PROGRAM_NV 0x8C26 - GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 - GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 - void glProgramVertexLimitNV (GLenum target, GLint limit) diff --git a/Externals/GLew/auto/extensions/GL_NV_geometry_shader4 b/Externals/GLew/auto/extensions/GL_NV_geometry_shader4 deleted file mode 100644 index 2040c0dbb3..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_geometry_shader4 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_geometry_shader4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_geometry_shader4.txt -GL_NV_geometry_shader4 diff --git a/Externals/GLew/auto/extensions/GL_NV_gpu_program4 b/Externals/GLew/auto/extensions/GL_NV_gpu_program4 deleted file mode 100644 index 030f68e1cc..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_gpu_program4 +++ /dev/null @@ -1,23 +0,0 @@ -GL_NV_gpu_program4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_gpu_program4.txt -GL_NV_gpu_program4 - GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 - GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 - GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 - GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 - GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 - GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 - GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 - GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 - void glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) - void glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params) - void glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params) - void glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) - void glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params) - void glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params) - void glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) - void glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params) - void glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params) - void glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) - void glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params) - void glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params) diff --git a/Externals/GLew/auto/extensions/GL_NV_gpu_program5 b/Externals/GLew/auto/extensions/GL_NV_gpu_program5 deleted file mode 100644 index b9e387bcc6..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_gpu_program5 +++ /dev/null @@ -1,7 +0,0 @@ -GL_NV_gpu_program5 -http://www.opengl.org/registry/specs/NV/gpu_program5.txt -GL_NV_gpu_program5 - GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A - GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B - GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C - GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D diff --git a/Externals/GLew/auto/extensions/GL_NV_gpu_program_fp64 b/Externals/GLew/auto/extensions/GL_NV_gpu_program_fp64 deleted file mode 100644 index b710ca5915..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_gpu_program_fp64 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_gpu_program_fp64 -http://www.opengl.org/registry/specs/NV/gpu_program5.txt -GL_NV_gpu_program_fp64 diff --git a/Externals/GLew/auto/extensions/GL_NV_gpu_shader5 b/Externals/GLew/auto/extensions/GL_NV_gpu_shader5 deleted file mode 100644 index 705286ed92..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_gpu_shader5 +++ /dev/null @@ -1,65 +0,0 @@ -GL_NV_gpu_shader5 -http://www.opengl.org/registry/specs/NV/gpu_shader5.txt -GL_NV_gpu_shader5 - GL_INT64_NV 0x140E - GL_UNSIGNED_INT64_NV 0x140F - GL_INT8_NV 0x8FE0 - GL_INT8_VEC2_NV 0x8FE1 - GL_INT8_VEC3_NV 0x8FE2 - GL_INT8_VEC4_NV 0x8FE3 - GL_INT16_NV 0x8FE4 - GL_INT16_VEC2_NV 0x8FE5 - GL_INT16_VEC3_NV 0x8FE6 - GL_INT16_VEC4_NV 0x8FE7 - GL_INT64_VEC2_NV 0x8FE9 - GL_INT64_VEC3_NV 0x8FEA - GL_INT64_VEC4_NV 0x8FEB - GL_UNSIGNED_INT8_NV 0x8FEC - GL_UNSIGNED_INT8_VEC2_NV 0x8FED - GL_UNSIGNED_INT8_VEC3_NV 0x8FEE - GL_UNSIGNED_INT8_VEC4_NV 0x8FEF - GL_UNSIGNED_INT16_NV 0x8FF0 - GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 - GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 - GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 - GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 - GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 - GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 - GL_FLOAT16_NV 0x8FF8 - GL_FLOAT16_VEC2_NV 0x8FF9 - GL_FLOAT16_VEC3_NV 0x8FFA - GL_FLOAT16_VEC4_NV 0x8FFB - void glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT* params) - void glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT* params) - void glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x) - void glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT* value) - void glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x) - void glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value) - void glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y) - void glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT* value) - void glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y) - void glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value) - void glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z) - void glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT* value) - void glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) - void glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value) - void glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) - void glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT* value) - void glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) - void glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value) - void glUniform1i64NV (GLint location, GLint64EXT x) - void glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT* value) - void glUniform1ui64NV (GLint location, GLuint64EXT x) - void glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT* value) - void glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y) - void glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT* value) - void glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y) - void glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT* value) - void glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z) - void glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT* value) - void glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) - void glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT* value) - void glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) - void glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT* value) - void glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) - void glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT* value) diff --git a/Externals/GLew/auto/extensions/GL_NV_half_float b/Externals/GLew/auto/extensions/GL_NV_half_float deleted file mode 100644 index ca309e98e5..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_half_float +++ /dev/null @@ -1,51 +0,0 @@ -GL_NV_half_float -http://www.opengl.org/registry/specs/NV/half_float.txt -GL_NV_half_float - GL_HALF_FLOAT_NV 0x140B - void glColor3hNV (GLhalf red, GLhalf green, GLhalf blue) - void glColor3hvNV (const GLhalf* v) - void glColor4hNV (GLhalf red, GLhalf green, GLhalf blue, GLhalf alpha) - void glColor4hvNV (const GLhalf* v) - void glFogCoordhNV (GLhalf fog) - void glFogCoordhvNV (const GLhalf* fog) - void glMultiTexCoord1hNV (GLenum target, GLhalf s) - void glMultiTexCoord1hvNV (GLenum target, const GLhalf* v) - void glMultiTexCoord2hNV (GLenum target, GLhalf s, GLhalf t) - void glMultiTexCoord2hvNV (GLenum target, const GLhalf* v) - void glMultiTexCoord3hNV (GLenum target, GLhalf s, GLhalf t, GLhalf r) - void glMultiTexCoord3hvNV (GLenum target, const GLhalf* v) - void glMultiTexCoord4hNV (GLenum target, GLhalf s, GLhalf t, GLhalf r, GLhalf q) - void glMultiTexCoord4hvNV (GLenum target, const GLhalf* v) - void glNormal3hNV (GLhalf nx, GLhalf ny, GLhalf nz) - void glNormal3hvNV (const GLhalf* v) - void glSecondaryColor3hNV (GLhalf red, GLhalf green, GLhalf blue) - void glSecondaryColor3hvNV (const GLhalf* v) - void glTexCoord1hNV (GLhalf s) - void glTexCoord1hvNV (const GLhalf* v) - void glTexCoord2hNV (GLhalf s, GLhalf t) - void glTexCoord2hvNV (const GLhalf* v) - void glTexCoord3hNV (GLhalf s, GLhalf t, GLhalf r) - void glTexCoord3hvNV (const GLhalf* v) - void glTexCoord4hNV (GLhalf s, GLhalf t, GLhalf r, GLhalf q) - void glTexCoord4hvNV (const GLhalf* v) - void glVertex2hNV (GLhalf x, GLhalf y) - void glVertex2hvNV (const GLhalf* v) - void glVertex3hNV (GLhalf x, GLhalf y, GLhalf z) - void glVertex3hvNV (const GLhalf* v) - void glVertex4hNV (GLhalf x, GLhalf y, GLhalf z, GLhalf w) - void glVertex4hvNV (const GLhalf* v) - void glVertexAttrib1hNV (GLuint index, GLhalf x) - void glVertexAttrib1hvNV (GLuint index, const GLhalf* v) - void glVertexAttrib2hNV (GLuint index, GLhalf x, GLhalf y) - void glVertexAttrib2hvNV (GLuint index, const GLhalf* v) - void glVertexAttrib3hNV (GLuint index, GLhalf x, GLhalf y, GLhalf z) - void glVertexAttrib3hvNV (GLuint index, const GLhalf* v) - void glVertexAttrib4hNV (GLuint index, GLhalf x, GLhalf y, GLhalf z, GLhalf w) - void glVertexAttrib4hvNV (GLuint index, const GLhalf* v) - void glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalf* v) - void glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalf* v) - void glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalf* v) - void glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalf* v) - void glVertexWeighthNV (GLhalf weight) - void glVertexWeighthvNV (const GLhalf* weight) - typedef unsigned short GLhalf diff --git a/Externals/GLew/auto/extensions/GL_NV_light_max_exponent b/Externals/GLew/auto/extensions/GL_NV_light_max_exponent deleted file mode 100644 index cacd6a2322..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_light_max_exponent +++ /dev/null @@ -1,5 +0,0 @@ -GL_NV_light_max_exponent -http://www.opengl.org/registry/specs/NV/light_max_exponent.txt -GL_NV_light_max_exponent - GL_MAX_SHININESS_NV 0x8504 - GL_MAX_SPOT_EXPONENT_NV 0x8505 diff --git a/Externals/GLew/auto/extensions/GL_NV_multisample_filter_hint b/Externals/GLew/auto/extensions/GL_NV_multisample_filter_hint deleted file mode 100644 index cad0240663..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_multisample_filter_hint +++ /dev/null @@ -1,4 +0,0 @@ -GL_NV_multisample_filter_hint -http://www.opengl.org/registry/specs/NV/multisample_filter_hint.txt -GL_NV_multisample_filter_hint - GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 diff --git a/Externals/GLew/auto/extensions/GL_NV_occlusion_query b/Externals/GLew/auto/extensions/GL_NV_occlusion_query deleted file mode 100644 index b3b1a14611..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_occlusion_query +++ /dev/null @@ -1,14 +0,0 @@ -GL_NV_occlusion_query -http://www.opengl.org/registry/specs/NV/occlusion_query.txt -GL_NV_occlusion_query - GL_PIXEL_COUNTER_BITS_NV 0x8864 - GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 - GL_PIXEL_COUNT_NV 0x8866 - GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 - void glBeginOcclusionQueryNV (GLuint id) - void glDeleteOcclusionQueriesNV (GLsizei n, const GLuint* ids) - void glEndOcclusionQueryNV (void) - void glGenOcclusionQueriesNV (GLsizei n, GLuint* ids) - void glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint* params) - void glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint* params) - GLboolean glIsOcclusionQueryNV (GLuint id) diff --git a/Externals/GLew/auto/extensions/GL_NV_packed_depth_stencil b/Externals/GLew/auto/extensions/GL_NV_packed_depth_stencil deleted file mode 100644 index e0de7abe55..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_packed_depth_stencil +++ /dev/null @@ -1,5 +0,0 @@ -GL_NV_packed_depth_stencil -http://www.opengl.org/registry/specs/NV/packed_depth_stencil.txt -GL_NV_packed_depth_stencil - GL_DEPTH_STENCIL_NV 0x84F9 - GL_UNSIGNED_INT_24_8_NV 0x84FA diff --git a/Externals/GLew/auto/extensions/GL_NV_parameter_buffer_object b/Externals/GLew/auto/extensions/GL_NV_parameter_buffer_object deleted file mode 100644 index d2525a1766..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_parameter_buffer_object +++ /dev/null @@ -1,11 +0,0 @@ -GL_NV_parameter_buffer_object -http://developer.download.nvidia.com/opengl/specs/GL_NV_parameter_buffer_object.txt -GL_NV_parameter_buffer_object - GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 - GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 - GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 - GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 - GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 - void glProgramBufferParametersfvNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params) - void glProgramBufferParametersIivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params) - void glProgramBufferParametersIuivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params) diff --git a/Externals/GLew/auto/extensions/GL_NV_parameter_buffer_object2 b/Externals/GLew/auto/extensions/GL_NV_parameter_buffer_object2 deleted file mode 100644 index d281d02f7e..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_parameter_buffer_object2 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_parameter_buffer_object2 -http://www.opengl.org/registry/specs/NV/parameter_buffer_object2.txt -GL_NV_parameter_buffer_object2 diff --git a/Externals/GLew/auto/extensions/GL_NV_pixel_data_range b/Externals/GLew/auto/extensions/GL_NV_pixel_data_range deleted file mode 100644 index dd18c9c61e..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_pixel_data_range +++ /dev/null @@ -1,11 +0,0 @@ -GL_NV_pixel_data_range -http://www.opengl.org/registry/specs/NV/pixel_data_range.txt -GL_NV_pixel_data_range - GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 - GL_READ_PIXEL_DATA_RANGE_NV 0x8879 - GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A - GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B - GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C - GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D - void glFlushPixelDataRangeNV (GLenum target) - void glPixelDataRangeNV (GLenum target, GLsizei length, void* pointer) diff --git a/Externals/GLew/auto/extensions/GL_NV_point_sprite b/Externals/GLew/auto/extensions/GL_NV_point_sprite deleted file mode 100644 index cb79d31eae..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_point_sprite +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_point_sprite -http://www.opengl.org/registry/specs/NV/point_sprite.txt -GL_NV_point_sprite - GL_POINT_SPRITE_NV 0x8861 - GL_COORD_REPLACE_NV 0x8862 - GL_POINT_SPRITE_R_MODE_NV 0x8863 - void glPointParameteriNV (GLenum pname, GLint param) - void glPointParameterivNV (GLenum pname, const GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_NV_present_video b/Externals/GLew/auto/extensions/GL_NV_present_video deleted file mode 100644 index 893c74c8e9..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_present_video +++ /dev/null @@ -1,15 +0,0 @@ -GL_NV_present_video -http://www.opengl.org/registry/specs/NV/present_video.txt -GL_NV_present_video - GL_FRAME_NV 0x8E26 - GL_FIELDS_NV 0x8E27 - GL_CURRENT_TIME_NV 0x8E28 - GL_NUM_FILL_STREAMS_NV 0x8E29 - GL_PRESENT_TIME_NV 0x8E2A - GL_PRESENT_DURATION_NV 0x8E2B - void glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT* params) - void glGetVideoivNV (GLuint video_slot, GLenum pname, GLint* params) - void glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT* params) - void glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint* params) - void glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3) - void glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1) diff --git a/Externals/GLew/auto/extensions/GL_NV_primitive_restart b/Externals/GLew/auto/extensions/GL_NV_primitive_restart deleted file mode 100644 index ebd1f7af1b..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_primitive_restart +++ /dev/null @@ -1,7 +0,0 @@ -GL_NV_primitive_restart -http://www.opengl.org/registry/specs/NV/primitive_restart.txt -GL_NV_primitive_restart - GL_PRIMITIVE_RESTART_NV 0x8558 - GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 - void glPrimitiveRestartIndexNV (GLuint index) - void glPrimitiveRestartNV (void) diff --git a/Externals/GLew/auto/extensions/GL_NV_register_combiners b/Externals/GLew/auto/extensions/GL_NV_register_combiners deleted file mode 100644 index e9255ab6f7..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_register_combiners +++ /dev/null @@ -1,67 +0,0 @@ -GL_NV_register_combiners -http://www.opengl.org/registry/specs/NV/register_combiners.txt -GL_NV_register_combiners - GL_REGISTER_COMBINERS_NV 0x8522 - GL_VARIABLE_A_NV 0x8523 - GL_VARIABLE_B_NV 0x8524 - GL_VARIABLE_C_NV 0x8525 - GL_VARIABLE_D_NV 0x8526 - GL_VARIABLE_E_NV 0x8527 - GL_VARIABLE_F_NV 0x8528 - GL_VARIABLE_G_NV 0x8529 - GL_CONSTANT_COLOR0_NV 0x852A - GL_CONSTANT_COLOR1_NV 0x852B - GL_PRIMARY_COLOR_NV 0x852C - GL_SECONDARY_COLOR_NV 0x852D - GL_SPARE0_NV 0x852E - GL_SPARE1_NV 0x852F - GL_DISCARD_NV 0x8530 - GL_E_TIMES_F_NV 0x8531 - GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 - GL_UNSIGNED_IDENTITY_NV 0x8536 - GL_UNSIGNED_INVERT_NV 0x8537 - GL_EXPAND_NORMAL_NV 0x8538 - GL_EXPAND_NEGATE_NV 0x8539 - GL_HALF_BIAS_NORMAL_NV 0x853A - GL_HALF_BIAS_NEGATE_NV 0x853B - GL_SIGNED_IDENTITY_NV 0x853C - GL_SIGNED_NEGATE_NV 0x853D - GL_SCALE_BY_TWO_NV 0x853E - GL_SCALE_BY_FOUR_NV 0x853F - GL_SCALE_BY_ONE_HALF_NV 0x8540 - GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 - GL_COMBINER_INPUT_NV 0x8542 - GL_COMBINER_MAPPING_NV 0x8543 - GL_COMBINER_COMPONENT_USAGE_NV 0x8544 - GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 - GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 - GL_COMBINER_MUX_SUM_NV 0x8547 - GL_COMBINER_SCALE_NV 0x8548 - GL_COMBINER_BIAS_NV 0x8549 - GL_COMBINER_AB_OUTPUT_NV 0x854A - GL_COMBINER_CD_OUTPUT_NV 0x854B - GL_COMBINER_SUM_OUTPUT_NV 0x854C - GL_MAX_GENERAL_COMBINERS_NV 0x854D - GL_NUM_GENERAL_COMBINERS_NV 0x854E - GL_COLOR_SUM_CLAMP_NV 0x854F - GL_COMBINER0_NV 0x8550 - GL_COMBINER1_NV 0x8551 - GL_COMBINER2_NV 0x8552 - GL_COMBINER3_NV 0x8553 - GL_COMBINER4_NV 0x8554 - GL_COMBINER5_NV 0x8555 - GL_COMBINER6_NV 0x8556 - GL_COMBINER7_NV 0x8557 - void glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) - void glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum) - void glCombinerParameterfNV (GLenum pname, GLfloat param) - void glCombinerParameterfvNV (GLenum pname, const GLfloat* params) - void glCombinerParameteriNV (GLenum pname, GLint param) - void glCombinerParameterivNV (GLenum pname, const GLint* params) - void glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) - void glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params) - void glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params) - void glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat* params) - void glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint* params) - void glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat* params) - void glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_NV_register_combiners2 b/Externals/GLew/auto/extensions/GL_NV_register_combiners2 deleted file mode 100644 index 166db2547d..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_register_combiners2 +++ /dev/null @@ -1,6 +0,0 @@ -GL_NV_register_combiners2 -http://www.opengl.org/registry/specs/NV/register_combiners2.txt -GL_NV_register_combiners2 - GL_PER_STAGE_CONSTANTS_NV 0x8535 - void glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat* params) - void glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat* params) diff --git a/Externals/GLew/auto/extensions/GL_NV_shader_buffer_load b/Externals/GLew/auto/extensions/GL_NV_shader_buffer_load deleted file mode 100644 index e58a6b14a8..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_shader_buffer_load +++ /dev/null @@ -1,19 +0,0 @@ -GL_NV_shader_buffer_load -http://www.opengl.org/registry/specs/NV/shader_buffer_load.txt -GL_NV_shader_buffer_load - GL_BUFFER_GPU_ADDRESS_NV 0x8F1D - GL_GPU_ADDRESS_NV 0x8F34 - GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 - void glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT* params) - void glGetIntegerui64vNV (GLenum value, GLuint64EXT* result) - void glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT* params) - GLboolean glIsBufferResidentNV (GLenum target) - GLboolean glIsNamedBufferResidentNV (GLuint buffer) - void glMakeBufferNonResidentNV (GLenum target) - void glMakeBufferResidentNV (GLenum target, GLenum access) - void glMakeNamedBufferNonResidentNV (GLuint buffer) - void glMakeNamedBufferResidentNV (GLuint buffer, GLenum access) - void glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value) - void glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value) - void glUniformui64NV (GLint location, GLuint64EXT value) - void glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT* value) diff --git a/Externals/GLew/auto/extensions/GL_NV_tessellation_program5 b/Externals/GLew/auto/extensions/GL_NV_tessellation_program5 deleted file mode 100644 index b663c974dc..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_tessellation_program5 +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_tessellation_program5 -http://www.opengl.org/registry/specs/NV/tessellation_program5.txt -GL_NV_gpu_program5 - GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 - GL_TESS_CONTROL_PROGRAM_NV 0x891E - GL_TESS_EVALUATION_PROGRAM_NV 0x891F - GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 - GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 diff --git a/Externals/GLew/auto/extensions/GL_NV_texgen_emboss b/Externals/GLew/auto/extensions/GL_NV_texgen_emboss deleted file mode 100644 index 0b7492e171..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texgen_emboss +++ /dev/null @@ -1,6 +0,0 @@ -GL_NV_texgen_emboss -http://www.opengl.org/registry/specs/NV/texgen_emboss.txt -GL_NV_texgen_emboss - GL_EMBOSS_LIGHT_NV 0x855D - GL_EMBOSS_CONSTANT_NV 0x855E - GL_EMBOSS_MAP_NV 0x855F diff --git a/Externals/GLew/auto/extensions/GL_NV_texgen_reflection b/Externals/GLew/auto/extensions/GL_NV_texgen_reflection deleted file mode 100644 index 252b3d1ab1..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texgen_reflection +++ /dev/null @@ -1,5 +0,0 @@ -GL_NV_texgen_reflection -http://www.opengl.org/registry/specs/NV/texgen_reflection.txt -GL_NV_texgen_reflection - GL_NORMAL_MAP_NV 0x8511 - GL_REFLECTION_MAP_NV 0x8512 diff --git a/Externals/GLew/auto/extensions/GL_NV_texture_barrier b/Externals/GLew/auto/extensions/GL_NV_texture_barrier deleted file mode 100644 index ec6ce68483..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texture_barrier +++ /dev/null @@ -1,4 +0,0 @@ -GL_NV_texture_barrier -http://www.opengl.org/registry/specs/NV/texture_barrier.txt -GL_NV_texture_barrier - void glTextureBarrierNV (void) diff --git a/Externals/GLew/auto/extensions/GL_NV_texture_compression_vtc b/Externals/GLew/auto/extensions/GL_NV_texture_compression_vtc deleted file mode 100644 index 86cfb6e90b..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texture_compression_vtc +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_texture_compression_vtc -http://www.opengl.org/registry/specs/NV/texture_compression_vtc.txt -GL_NV_texture_compression_vtc diff --git a/Externals/GLew/auto/extensions/GL_NV_texture_env_combine4 b/Externals/GLew/auto/extensions/GL_NV_texture_env_combine4 deleted file mode 100644 index 1e1adab484..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texture_env_combine4 +++ /dev/null @@ -1,8 +0,0 @@ -GL_NV_texture_env_combine4 -http://www.opengl.org/registry/specs/NV/texture_env_combine4.txt -GL_NV_texture_env_combine4 - GL_COMBINE4_NV 0x8503 - GL_SOURCE3_RGB_NV 0x8583 - GL_SOURCE3_ALPHA_NV 0x858B - GL_OPERAND3_RGB_NV 0x8593 - GL_OPERAND3_ALPHA_NV 0x859B diff --git a/Externals/GLew/auto/extensions/GL_NV_texture_expand_normal b/Externals/GLew/auto/extensions/GL_NV_texture_expand_normal deleted file mode 100644 index 9d9b39b0d6..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texture_expand_normal +++ /dev/null @@ -1,4 +0,0 @@ -GL_NV_texture_expand_normal -http://www.opengl.org/registry/specs/NV/texture_expand_normal.txt -GL_NV_texture_expand_normal - GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F diff --git a/Externals/GLew/auto/extensions/GL_NV_texture_rectangle b/Externals/GLew/auto/extensions/GL_NV_texture_rectangle deleted file mode 100644 index 4da2762c44..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texture_rectangle +++ /dev/null @@ -1,7 +0,0 @@ -GL_NV_texture_rectangle -http://www.opengl.org/registry/specs/NV/texture_rectangle.txt -GL_NV_texture_rectangle - GL_TEXTURE_RECTANGLE_NV 0x84F5 - GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 - GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 - GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 diff --git a/Externals/GLew/auto/extensions/GL_NV_texture_shader b/Externals/GLew/auto/extensions/GL_NV_texture_shader deleted file mode 100644 index 826db8f6a7..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texture_shader +++ /dev/null @@ -1,76 +0,0 @@ -GL_NV_texture_shader -http://www.opengl.org/registry/specs/NV/texture_shader.txt -GL_NV_texture_shader - GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C - GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D - GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E - GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 - GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA - GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB - GL_DSDT_MAG_INTENSITY_NV 0x86DC - GL_SHADER_CONSISTENT_NV 0x86DD - GL_TEXTURE_SHADER_NV 0x86DE - GL_SHADER_OPERATION_NV 0x86DF - GL_CULL_MODES_NV 0x86E0 - GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 - GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 - GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 - GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 - GL_CONST_EYE_NV 0x86E5 - GL_PASS_THROUGH_NV 0x86E6 - GL_CULL_FRAGMENT_NV 0x86E7 - GL_OFFSET_TEXTURE_2D_NV 0x86E8 - GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 - GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA - GL_DOT_PRODUCT_NV 0x86EC - GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED - GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE - GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 - GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 - GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 - GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 - GL_HILO_NV 0x86F4 - GL_DSDT_NV 0x86F5 - GL_DSDT_MAG_NV 0x86F6 - GL_DSDT_MAG_VIB_NV 0x86F7 - GL_HILO16_NV 0x86F8 - GL_SIGNED_HILO_NV 0x86F9 - GL_SIGNED_HILO16_NV 0x86FA - GL_SIGNED_RGBA_NV 0x86FB - GL_SIGNED_RGBA8_NV 0x86FC - GL_SIGNED_RGB_NV 0x86FE - GL_SIGNED_RGB8_NV 0x86FF - GL_SIGNED_LUMINANCE_NV 0x8701 - GL_SIGNED_LUMINANCE8_NV 0x8702 - GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 - GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 - GL_SIGNED_ALPHA_NV 0x8705 - GL_SIGNED_ALPHA8_NV 0x8706 - GL_SIGNED_INTENSITY_NV 0x8707 - GL_SIGNED_INTENSITY8_NV 0x8708 - GL_DSDT8_NV 0x8709 - GL_DSDT8_MAG8_NV 0x870A - GL_DSDT8_MAG8_INTENSITY8_NV 0x870B - GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C - GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D - GL_HI_SCALE_NV 0x870E - GL_LO_SCALE_NV 0x870F - GL_DS_SCALE_NV 0x8710 - GL_DT_SCALE_NV 0x8711 - GL_MAGNITUDE_SCALE_NV 0x8712 - GL_VIBRANCE_SCALE_NV 0x8713 - GL_HI_BIAS_NV 0x8714 - GL_LO_BIAS_NV 0x8715 - GL_DS_BIAS_NV 0x8716 - GL_DT_BIAS_NV 0x8717 - GL_MAGNITUDE_BIAS_NV 0x8718 - GL_VIBRANCE_BIAS_NV 0x8719 - GL_TEXTURE_BORDER_VALUES_NV 0x871A - GL_TEXTURE_HI_SIZE_NV 0x871B - GL_TEXTURE_LO_SIZE_NV 0x871C - GL_TEXTURE_DS_SIZE_NV 0x871D - GL_TEXTURE_DT_SIZE_NV 0x871E - GL_TEXTURE_MAG_SIZE_NV 0x871F - GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1 - GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3 - GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2 diff --git a/Externals/GLew/auto/extensions/GL_NV_texture_shader2 b/Externals/GLew/auto/extensions/GL_NV_texture_shader2 deleted file mode 100644 index c5cc92d0f6..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texture_shader2 +++ /dev/null @@ -1,31 +0,0 @@ -GL_NV_texture_shader2 -http://www.opengl.org/registry/specs/NV/texture_shader2.txt -GL_NV_texture_shader2 - GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA - GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB - GL_DSDT_MAG_INTENSITY_NV 0x86DC - GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF - GL_HILO_NV 0x86F4 - GL_DSDT_NV 0x86F5 - GL_DSDT_MAG_NV 0x86F6 - GL_DSDT_MAG_VIB_NV 0x86F7 - GL_HILO16_NV 0x86F8 - GL_SIGNED_HILO_NV 0x86F9 - GL_SIGNED_HILO16_NV 0x86FA - GL_SIGNED_RGBA_NV 0x86FB - GL_SIGNED_RGBA8_NV 0x86FC - GL_SIGNED_RGB_NV 0x86FE - GL_SIGNED_RGB8_NV 0x86FF - GL_SIGNED_LUMINANCE_NV 0x8701 - GL_SIGNED_LUMINANCE8_NV 0x8702 - GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 - GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 - GL_SIGNED_ALPHA_NV 0x8705 - GL_SIGNED_ALPHA8_NV 0x8706 - GL_SIGNED_INTENSITY_NV 0x8707 - GL_SIGNED_INTENSITY8_NV 0x8708 - GL_DSDT8_NV 0x8709 - GL_DSDT8_MAG8_NV 0x870A - GL_DSDT8_MAG8_INTENSITY8_NV 0x870B - GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C - GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D diff --git a/Externals/GLew/auto/extensions/GL_NV_texture_shader3 b/Externals/GLew/auto/extensions/GL_NV_texture_shader3 deleted file mode 100644 index 5cc042b0da..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_texture_shader3 +++ /dev/null @@ -1,20 +0,0 @@ -GL_NV_texture_shader3 -http://www.opengl.org/registry/specs/NV/texture_shader3.txt -GL_NV_texture_shader3 - GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 - GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 - GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 - GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 - GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 - GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 - GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 - GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 - GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 - GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 - GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A - GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B - GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C - GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D - GL_HILO8_NV 0x885E - GL_SIGNED_HILO8_NV 0x885F - GL_FORCE_BLUE_TO_ONE_NV 0x8860 diff --git a/Externals/GLew/auto/extensions/GL_NV_transform_feedback b/Externals/GLew/auto/extensions/GL_NV_transform_feedback deleted file mode 100644 index fce47571e8..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_transform_feedback +++ /dev/null @@ -1,39 +0,0 @@ -GL_NV_transform_feedback -http://developer.download.nvidia.com/opengl/specs/GL_NV_transform_feedback.txt -GL_NV_transform_feedback - GL_BACK_PRIMARY_COLOR_NV 0x8C77 - GL_BACK_SECONDARY_COLOR_NV 0x8C78 - GL_TEXTURE_COORD_NV 0x8C79 - GL_CLIP_DISTANCE_NV 0x8C7A - GL_VERTEX_ID_NV 0x8C7B - GL_PRIMITIVE_ID_NV 0x8C7C - GL_GENERIC_ATTRIB_NV 0x8C7D - GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E - GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F - GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 - GL_ACTIVE_VARYINGS_NV 0x8C81 - GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 - GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 - GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 - GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 - GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 - GL_PRIMITIVES_GENERATED_NV 0x8C87 - GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 - GL_RASTERIZER_DISCARD_NV 0x8C89 - GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A - GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B - GL_INTERLEAVED_ATTRIBS_NV 0x8C8C - GL_SEPARATE_ATTRIBS_NV 0x8C8D - GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E - GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F - void glBeginTransformFeedbackNV (GLenum primitiveMode) - void glEndTransformFeedbackNV (void) - void glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode) - void glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) - void glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset) - void glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer) - void glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode) - void glActiveVaryingNV (GLuint program, const GLchar *name) - GLint glGetVaryingLocationNV (GLuint program, const GLchar *name) - void glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) - void glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location) diff --git a/Externals/GLew/auto/extensions/GL_NV_transform_feedback2 b/Externals/GLew/auto/extensions/GL_NV_transform_feedback2 deleted file mode 100644 index 5513687281..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_transform_feedback2 +++ /dev/null @@ -1,14 +0,0 @@ -GL_NV_transform_feedback2 -http://www.opengl.org/registry/specs/NV/transform_feedback2.txt -GL_NV_transform_feedback2 - GL_TRANSFORM_FEEDBACK_NV 0x8E22 - GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 - GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 - GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 - void glBindTransformFeedbackNV (GLenum target, GLuint id) - void glDeleteTransformFeedbacksNV (GLsizei n, const GLuint* ids) - void glDrawTransformFeedbackNV (GLenum mode, GLuint id) - void glGenTransformFeedbacksNV (GLsizei n, GLuint* ids) - GLboolean glIsTransformFeedbackNV (GLuint id) - void glPauseTransformFeedbackNV (void) - void glResumeTransformFeedbackNV (void) diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_array_range b/Externals/GLew/auto/extensions/GL_NV_vertex_array_range deleted file mode 100644 index 32396aa53e..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_array_range +++ /dev/null @@ -1,10 +0,0 @@ -GL_NV_vertex_array_range -http://www.opengl.org/registry/specs/NV/vertex_array_range.txt -GL_NV_vertex_array_range - GL_VERTEX_ARRAY_RANGE_NV 0x851D - GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E - GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F - GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 - GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 - void glFlushVertexArrayRangeNV (void) - void glVertexArrayRangeNV (GLsizei length, void* pointer) diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_array_range2 b/Externals/GLew/auto/extensions/GL_NV_vertex_array_range2 deleted file mode 100644 index 00fa72c899..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_array_range2 +++ /dev/null @@ -1,4 +0,0 @@ -GL_NV_vertex_array_range2 -http://www.opengl.org/registry/specs/NV/vertex_array_range2.txt -GL_NV_vertex_array_range2 - GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_attrib_integer_64bit b/Externals/GLew/auto/extensions/GL_NV_vertex_attrib_integer_64bit deleted file mode 100644 index a34bb362a3..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_attrib_integer_64bit +++ /dev/null @@ -1,24 +0,0 @@ -GL_NV_vertex_attrib_integer_64bit -http://www.opengl.org/registry/specs/NV/vertex_attrib_integer_64bit.txt -GL_NV_vertex_attrib_integer_64bit - GL_INT64_NV 0x140E - GL_UNSIGNED_INT64_NV 0x140F - void glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT* params) - void glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT* params) - void glVertexAttribL1i64NV (GLuint index, GLint64EXT x) - void glVertexAttribL1i64vNV (GLuint index, const GLint64EXT* v) - void glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x) - void glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT* v) - void glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y) - void glVertexAttribL2i64vNV (GLuint index, const GLint64EXT* v) - void glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y) - void glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT* v) - void glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z) - void glVertexAttribL3i64vNV (GLuint index, const GLint64EXT* v) - void glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) - void glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT* v) - void glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) - void glVertexAttribL4i64vNV (GLuint index, const GLint64EXT* v) - void glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) - void glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT* v) - void glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride) diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_buffer_unified_memory b/Externals/GLew/auto/extensions/GL_NV_vertex_buffer_unified_memory deleted file mode 100644 index 474d4f32dd..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_buffer_unified_memory +++ /dev/null @@ -1,37 +0,0 @@ -GL_NV_vertex_buffer_unified_memory -http://www.opengl.org/registry/specs/NV/vertex_buffer_unified_memory.txt -GL_NV_vertex_buffer_unified_memory - GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E - GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F - GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 - GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 - GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 - GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 - GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 - GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 - GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 - GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 - GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 - GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 - GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A - GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B - GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C - GL_COLOR_ARRAY_LENGTH_NV 0x8F2D - GL_INDEX_ARRAY_LENGTH_NV 0x8F2E - GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F - GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 - GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 - GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 - GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 - void glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length) - void glColorFormatNV (GLint size, GLenum type, GLsizei stride) - void glEdgeFlagFormatNV (GLsizei stride) - void glFogCoordFormatNV (GLenum type, GLsizei stride) - void glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT result[]) - void glIndexFormatNV (GLenum type, GLsizei stride) - void glNormalFormatNV (GLenum type, GLsizei stride) - void glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride) - void glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride) - void glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride) - void glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride) - void glVertexFormatNV (GLint size, GLenum type, GLsizei stride) diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_program b/Externals/GLew/auto/extensions/GL_NV_vertex_program deleted file mode 100644 index cb4cc8a972..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_program +++ /dev/null @@ -1,150 +0,0 @@ -GL_NV_vertex_program -http://www.opengl.org/registry/specs/NV/vertex_program.txt -GL_NV_vertex_program - GL_VERTEX_PROGRAM_NV 0x8620 - GL_VERTEX_STATE_PROGRAM_NV 0x8621 - GL_ATTRIB_ARRAY_SIZE_NV 0x8623 - GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 - GL_ATTRIB_ARRAY_TYPE_NV 0x8625 - GL_CURRENT_ATTRIB_NV 0x8626 - GL_PROGRAM_LENGTH_NV 0x8627 - GL_PROGRAM_STRING_NV 0x8628 - GL_MODELVIEW_PROJECTION_NV 0x8629 - GL_IDENTITY_NV 0x862A - GL_INVERSE_NV 0x862B - GL_TRANSPOSE_NV 0x862C - GL_INVERSE_TRANSPOSE_NV 0x862D - GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E - GL_MAX_TRACK_MATRICES_NV 0x862F - GL_MATRIX0_NV 0x8630 - GL_MATRIX1_NV 0x8631 - GL_MATRIX2_NV 0x8632 - GL_MATRIX3_NV 0x8633 - GL_MATRIX4_NV 0x8634 - GL_MATRIX5_NV 0x8635 - GL_MATRIX6_NV 0x8636 - GL_MATRIX7_NV 0x8637 - GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 - GL_CURRENT_MATRIX_NV 0x8641 - GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 - GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 - GL_PROGRAM_PARAMETER_NV 0x8644 - GL_ATTRIB_ARRAY_POINTER_NV 0x8645 - GL_PROGRAM_TARGET_NV 0x8646 - GL_PROGRAM_RESIDENT_NV 0x8647 - GL_TRACK_MATRIX_NV 0x8648 - GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 - GL_VERTEX_PROGRAM_BINDING_NV 0x864A - GL_PROGRAM_ERROR_POSITION_NV 0x864B - GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 - GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 - GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 - GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 - GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 - GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 - GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 - GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 - GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 - GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 - GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A - GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B - GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C - GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D - GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E - GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F - GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 - GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 - GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 - GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 - GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 - GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 - GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 - GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 - GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 - GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 - GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A - GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B - GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C - GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D - GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E - GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F - GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 - GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 - GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 - GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 - GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 - GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 - GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 - GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 - GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 - GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 - GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A - GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B - GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C - GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D - GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E - GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F - GLboolean glAreProgramsResidentNV (GLsizei n, const GLuint* ids, GLboolean *residences) - void glBindProgramNV (GLenum target, GLuint id) - void glDeleteProgramsNV (GLsizei n, const GLuint* ids) - void glExecuteProgramNV (GLenum target, GLuint id, const GLfloat* params) - void glGenProgramsNV (GLsizei n, GLuint* ids) - void glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble* params) - void glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat* params) - void glGetProgramStringNV (GLuint id, GLenum pname, GLubyte* program) - void glGetProgramivNV (GLuint id, GLenum pname, GLint* params) - void glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint* params) - void glGetVertexAttribPointervNV (GLuint index, GLenum pname, GLvoid** pointer) - void glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble* params) - void glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat* params) - void glGetVertexAttribivNV (GLuint index, GLenum pname, GLint* params) - GLboolean glIsProgramNV (GLuint id) - void glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte* program) - void glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble* params) - void glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat* params) - void glProgramParameters4dvNV (GLenum target, GLuint index, GLuint num, const GLdouble* params) - void glProgramParameters4fvNV (GLenum target, GLuint index, GLuint num, const GLfloat* params) - void glRequestResidentProgramsNV (GLsizei n, GLuint* ids) - void glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform) - void glVertexAttrib1dNV (GLuint index, GLdouble x) - void glVertexAttrib1dvNV (GLuint index, const GLdouble* v) - void glVertexAttrib1fNV (GLuint index, GLfloat x) - void glVertexAttrib1fvNV (GLuint index, const GLfloat* v) - void glVertexAttrib1sNV (GLuint index, GLshort x) - void glVertexAttrib1svNV (GLuint index, const GLshort* v) - void glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y) - void glVertexAttrib2dvNV (GLuint index, const GLdouble* v) - void glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y) - void glVertexAttrib2fvNV (GLuint index, const GLfloat* v) - void glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y) - void glVertexAttrib2svNV (GLuint index, const GLshort* v) - void glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z) - void glVertexAttrib3dvNV (GLuint index, const GLdouble* v) - void glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z) - void glVertexAttrib3fvNV (GLuint index, const GLfloat* v) - void glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z) - void glVertexAttrib3svNV (GLuint index, const GLshort* v) - void glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) - void glVertexAttrib4dvNV (GLuint index, const GLdouble* v) - void glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glVertexAttrib4fvNV (GLuint index, const GLfloat* v) - void glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) - void glVertexAttrib4svNV (GLuint index, const GLshort* v) - void glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) - void glVertexAttrib4ubvNV (GLuint index, const GLubyte* v) - void glVertexAttribPointerNV (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer) - void glVertexAttribs1dvNV (GLuint index, GLsizei n, const GLdouble* v) - void glVertexAttribs1fvNV (GLuint index, GLsizei n, const GLfloat* v) - void glVertexAttribs1svNV (GLuint index, GLsizei n, const GLshort* v) - void glVertexAttribs2dvNV (GLuint index, GLsizei n, const GLdouble* v) - void glVertexAttribs2fvNV (GLuint index, GLsizei n, const GLfloat* v) - void glVertexAttribs2svNV (GLuint index, GLsizei n, const GLshort* v) - void glVertexAttribs3dvNV (GLuint index, GLsizei n, const GLdouble* v) - void glVertexAttribs3fvNV (GLuint index, GLsizei n, const GLfloat* v) - void glVertexAttribs3svNV (GLuint index, GLsizei n, const GLshort* v) - void glVertexAttribs4dvNV (GLuint index, GLsizei n, const GLdouble* v) - void glVertexAttribs4fvNV (GLuint index, GLsizei n, const GLfloat* v) - void glVertexAttribs4svNV (GLuint index, GLsizei n, const GLshort* v) - void glVertexAttribs4ubvNV (GLuint index, GLsizei n, const GLubyte* v) diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_program1_1 b/Externals/GLew/auto/extensions/GL_NV_vertex_program1_1 deleted file mode 100644 index 929248ac02..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_program1_1 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_vertex_program1_1 -http://www.opengl.org/registry/specs/NV/vertex_program1_1.txt -GL_NV_vertex_program1_1 diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_program2 b/Externals/GLew/auto/extensions/GL_NV_vertex_program2 deleted file mode 100644 index e80c7a4022..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_program2 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_vertex_program2 -http://www.opengl.org/registry/specs/NV/vertex_program2.txt -GL_NV_vertex_program2 diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_program2_option b/Externals/GLew/auto/extensions/GL_NV_vertex_program2_option deleted file mode 100644 index 1fecc4c040..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_program2_option +++ /dev/null @@ -1,5 +0,0 @@ -GL_NV_vertex_program2_option -http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_vertex_program2_option.txt -GL_NV_vertex_program2_option - GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 - GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_program3 b/Externals/GLew/auto/extensions/GL_NV_vertex_program3 deleted file mode 100644 index 6510e0649c..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_program3 +++ /dev/null @@ -1,4 +0,0 @@ -GL_NV_vertex_program3 -http://www.nvidia.com/dev_content/nvopenglspecs/GL_NV_vertex_program3.txt -GL_NV_vertex_program3 - MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C diff --git a/Externals/GLew/auto/extensions/GL_NV_vertex_program4 b/Externals/GLew/auto/extensions/GL_NV_vertex_program4 deleted file mode 100644 index 7e61b3a95d..0000000000 --- a/Externals/GLew/auto/extensions/GL_NV_vertex_program4 +++ /dev/null @@ -1,3 +0,0 @@ -GL_NV_vertex_program4 -http://developer.download.nvidia.com/opengl/specs/GL_NV_vertex_program4.txt -GL_NV_gpu_program4 diff --git a/Externals/GLew/auto/extensions/GL_OES_byte_coordinates b/Externals/GLew/auto/extensions/GL_OES_byte_coordinates deleted file mode 100644 index cf9d509dec..0000000000 --- a/Externals/GLew/auto/extensions/GL_OES_byte_coordinates +++ /dev/null @@ -1,4 +0,0 @@ -GL_OES_byte_coordinates -http://www.opengl.org/registry/specs/OES/OES_byte_coordinates.txt -GL_OES_byte_coordinates - GL_BYTE 0x1400 diff --git a/Externals/GLew/auto/extensions/GL_OES_compressed_paletted_texture b/Externals/GLew/auto/extensions/GL_OES_compressed_paletted_texture deleted file mode 100644 index d8838389d5..0000000000 --- a/Externals/GLew/auto/extensions/GL_OES_compressed_paletted_texture +++ /dev/null @@ -1,13 +0,0 @@ -GL_OES_compressed_paletted_texture -http://www.opengl.org/registry/specs/OES/OES_compressed_paletted_texture.txt -GL_OES_compressed_paletted_texture - GL_PALETTE4_RGB8_OES 0x8B90 - GL_PALETTE4_RGBA8_OES 0x8B91 - GL_PALETTE4_R5_G6_B5_OES 0x8B92 - GL_PALETTE4_RGBA4_OES 0x8B93 - GL_PALETTE4_RGB5_A1_OES 0x8B94 - GL_PALETTE8_RGB8_OES 0x8B95 - GL_PALETTE8_RGBA8_OES 0x8B96 - GL_PALETTE8_R5_G6_B5_OES 0x8B97 - GL_PALETTE8_RGBA4_OES 0x8B98 - GL_PALETTE8_RGB5_A1_OES 0x8B99 diff --git a/Externals/GLew/auto/extensions/GL_OES_read_format b/Externals/GLew/auto/extensions/GL_OES_read_format deleted file mode 100644 index 08e91a4018..0000000000 --- a/Externals/GLew/auto/extensions/GL_OES_read_format +++ /dev/null @@ -1,5 +0,0 @@ -GL_OES_read_format -http://www.opengl.org/registry/specs/OES/OES_read_format.txt -GL_OES_read_format - GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A - GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B diff --git a/Externals/GLew/auto/extensions/GL_OES_single_precision b/Externals/GLew/auto/extensions/GL_OES_single_precision deleted file mode 100644 index 8702c6dd58..0000000000 --- a/Externals/GLew/auto/extensions/GL_OES_single_precision +++ /dev/null @@ -1,9 +0,0 @@ -GL_OES_single_precision -http://www.opengl.org/registry/specs/OES/OES_single_precision.txt -GL_OES_single_precision - void glClearDepthfOES (GLclampd depth) - void glClipPlanefOES (GLenum plane, const GLfloat* equation) - void glDepthRangefOES (GLclampf n, GLclampf f) - void glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) - void glGetClipPlanefOES (GLenum plane, GLfloat* equation) - void glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) diff --git a/Externals/GLew/auto/extensions/GL_OML_interlace b/Externals/GLew/auto/extensions/GL_OML_interlace deleted file mode 100644 index 384a43b977..0000000000 --- a/Externals/GLew/auto/extensions/GL_OML_interlace +++ /dev/null @@ -1,5 +0,0 @@ -GL_OML_interlace -http://www.opengl.org/registry/specs/OML/interlace.txt -GL_OML_interlace - GL_INTERLACE_OML 0x8980 - GL_INTERLACE_READ_OML 0x8981 diff --git a/Externals/GLew/auto/extensions/GL_OML_resample b/Externals/GLew/auto/extensions/GL_OML_resample deleted file mode 100644 index 6e702bfad6..0000000000 --- a/Externals/GLew/auto/extensions/GL_OML_resample +++ /dev/null @@ -1,9 +0,0 @@ -GL_OML_resample -http://www.opengl.org/registry/specs/OML/resample.txt -GL_OML_resample - GL_PACK_RESAMPLE_OML 0x8984 - GL_UNPACK_RESAMPLE_OML 0x8985 - GL_RESAMPLE_REPLICATE_OML 0x8986 - GL_RESAMPLE_ZERO_FILL_OML 0x8987 - GL_RESAMPLE_AVERAGE_OML 0x8988 - GL_RESAMPLE_DECIMATE_OML 0x8989 diff --git a/Externals/GLew/auto/extensions/GL_OML_subsample b/Externals/GLew/auto/extensions/GL_OML_subsample deleted file mode 100644 index 3406ae777b..0000000000 --- a/Externals/GLew/auto/extensions/GL_OML_subsample +++ /dev/null @@ -1,5 +0,0 @@ -GL_OML_subsample -http://www.opengl.org/registry/specs/OML/subsample.txt -GL_OML_subsample - GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 - GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 diff --git a/Externals/GLew/auto/extensions/GL_PGI_misc_hints b/Externals/GLew/auto/extensions/GL_PGI_misc_hints deleted file mode 100644 index b8e88bd70a..0000000000 --- a/Externals/GLew/auto/extensions/GL_PGI_misc_hints +++ /dev/null @@ -1,23 +0,0 @@ -GL_PGI_misc_hints -http://www.opengl.org/registry/specs/PGI/misc_hints.txt -GL_PGI_misc_hints - GL_PREFER_DOUBLEBUFFER_HINT_PGI 107000 - GL_CONSERVE_MEMORY_HINT_PGI 107005 - GL_RECLAIM_MEMORY_HINT_PGI 107006 - GL_NATIVE_GRAPHICS_HANDLE_PGI 107010 - GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 107011 - GL_NATIVE_GRAPHICS_END_HINT_PGI 107012 - GL_ALWAYS_FAST_HINT_PGI 107020 - GL_ALWAYS_SOFT_HINT_PGI 107021 - GL_ALLOW_DRAW_OBJ_HINT_PGI 107022 - GL_ALLOW_DRAW_WIN_HINT_PGI 107023 - GL_ALLOW_DRAW_FRG_HINT_PGI 107024 - GL_ALLOW_DRAW_MEM_HINT_PGI 107025 - GL_STRICT_DEPTHFUNC_HINT_PGI 107030 - GL_STRICT_LIGHTING_HINT_PGI 107031 - GL_STRICT_SCISSOR_HINT_PGI 107032 - GL_FULL_STIPPLE_HINT_PGI 107033 - GL_CLIP_NEAR_HINT_PGI 107040 - GL_CLIP_FAR_HINT_PGI 107041 - GL_WIDE_LINE_HINT_PGI 107042 - GL_BACK_NORMALS_HINT_PGI 107043 diff --git a/Externals/GLew/auto/extensions/GL_PGI_vertex_hints b/Externals/GLew/auto/extensions/GL_PGI_vertex_hints deleted file mode 100644 index 3550952c71..0000000000 --- a/Externals/GLew/auto/extensions/GL_PGI_vertex_hints +++ /dev/null @@ -1,25 +0,0 @@ -GL_PGI_vertex_hints -http://www.opengl.org/registry/specs/PGI/vertex_hints.txt -GL_PGI_vertex_hints - GL_VERTEX23_BIT_PGI 0x00000004 - GL_VERTEX4_BIT_PGI 0x00000008 - GL_COLOR3_BIT_PGI 0x00010000 - GL_COLOR4_BIT_PGI 0x00020000 - GL_EDGEFLAG_BIT_PGI 0x00040000 - GL_INDEX_BIT_PGI 0x00080000 - GL_MAT_AMBIENT_BIT_PGI 0x00100000 - GL_VERTEX_DATA_HINT_PGI 107050 - GL_VERTEX_CONSISTENT_HINT_PGI 107051 - GL_MATERIAL_SIDE_HINT_PGI 107052 - GL_MAX_VERTEX_HINT_PGI 107053 - GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 - GL_MAT_DIFFUSE_BIT_PGI 0x00400000 - GL_MAT_EMISSION_BIT_PGI 0x00800000 - GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 - GL_MAT_SHININESS_BIT_PGI 0x02000000 - GL_MAT_SPECULAR_BIT_PGI 0x04000000 - GL_NORMAL_BIT_PGI 0x08000000 - GL_TEXCOORD1_BIT_PGI 0x10000000 - GL_TEXCOORD2_BIT_PGI 0x20000000 - GL_TEXCOORD3_BIT_PGI 0x40000000 - GL_TEXCOORD4_BIT_PGI 0x80000000 diff --git a/Externals/GLew/auto/extensions/GL_REND_screen_coordinates b/Externals/GLew/auto/extensions/GL_REND_screen_coordinates deleted file mode 100644 index d4447ea868..0000000000 --- a/Externals/GLew/auto/extensions/GL_REND_screen_coordinates +++ /dev/null @@ -1,5 +0,0 @@ -GL_REND_screen_coordinates -http://www.opengl.org/registry/specs/REND/screen_coordinates.txt -GL_REND_screen_coordinates - GL_SCREEN_COORDINATES_REND 0x8490 - GL_INVERTED_SCREEN_W_REND 0x8491 diff --git a/Externals/GLew/auto/extensions/GL_S3_s3tc b/Externals/GLew/auto/extensions/GL_S3_s3tc deleted file mode 100644 index 1d9d71c5ac..0000000000 --- a/Externals/GLew/auto/extensions/GL_S3_s3tc +++ /dev/null @@ -1,9 +0,0 @@ -GL_S3_s3tc -http://www.opengl.org/registry/specs/S3/s3tc.txt -GL_S3_s3tc - GL_RGB_S3TC 0x83A0 - GL_RGB4_S3TC 0x83A1 - GL_RGBA_S3TC 0x83A2 - GL_RGBA4_S3TC 0x83A3 - GL_RGBA_DXT5_S3TC 0x83A4 - GL_RGBA4_DXT5_S3TC 0x83A5 diff --git a/Externals/GLew/auto/extensions/GL_SGIS_color_range b/Externals/GLew/auto/extensions/GL_SGIS_color_range deleted file mode 100644 index 71d39c5655..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_color_range +++ /dev/null @@ -1,12 +0,0 @@ -GL_SGIS_color_range -http://www.opengl.org/registry/specs/SGIS/color_range.txt -GL_SGIS_color_range - GL_EXTENDED_RANGE_SGIS 0x85A5 - GL_MIN_RED_SGIS 0x85A6 - GL_MAX_RED_SGIS 0x85A7 - GL_MIN_GREEN_SGIS 0x85A8 - GL_MAX_GREEN_SGIS 0x85A9 - GL_MIN_BLUE_SGIS 0x85AA - GL_MAX_BLUE_SGIS 0x85AB - GL_MIN_ALPHA_SGIS 0x85AC - GL_MAX_ALPHA_SGIS 0x85AD diff --git a/Externals/GLew/auto/extensions/GL_SGIS_detail_texture b/Externals/GLew/auto/extensions/GL_SGIS_detail_texture deleted file mode 100644 index 178f7b2a84..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_detail_texture +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIS_detail_texture -http://www.opengl.org/registry/specs/SGIS/detail_texture.txt -GL_SGIS_detail_texture - void glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat* points) - void glGetDetailTexFuncSGIS (GLenum target, GLfloat* points) diff --git a/Externals/GLew/auto/extensions/GL_SGIS_fog_function b/Externals/GLew/auto/extensions/GL_SGIS_fog_function deleted file mode 100644 index 3716d97a11..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_fog_function +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIS_fog_function -http://www.opengl.org/registry/specs/SGIS/fog_func.txt -GL_SGIS_fog_function - void glFogFuncSGIS (GLsizei n, const GLfloat* points) - void glGetFogFuncSGIS (GLfloat* points) diff --git a/Externals/GLew/auto/extensions/GL_SGIS_generate_mipmap b/Externals/GLew/auto/extensions/GL_SGIS_generate_mipmap deleted file mode 100644 index cc7b27be97..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_generate_mipmap +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIS_generate_mipmap -http://www.opengl.org/registry/specs/SGIS/generate_mipmap.txt -GL_SGIS_generate_mipmap - GL_GENERATE_MIPMAP_SGIS 0x8191 - GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 diff --git a/Externals/GLew/auto/extensions/GL_SGIS_multisample b/Externals/GLew/auto/extensions/GL_SGIS_multisample deleted file mode 100644 index 255de640f5..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_multisample +++ /dev/null @@ -1,22 +0,0 @@ -GL_SGIS_multisample -http://www.opengl.org/registry/specs/SGIS/multisample.txt -GL_SGIS_multisample - GL_MULTISAMPLE_SGIS 0x809D - GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E - GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F - GL_SAMPLE_MASK_SGIS 0x80A0 - GL_1PASS_SGIS 0x80A1 - GL_2PASS_0_SGIS 0x80A2 - GL_2PASS_1_SGIS 0x80A3 - GL_4PASS_0_SGIS 0x80A4 - GL_4PASS_1_SGIS 0x80A5 - GL_4PASS_2_SGIS 0x80A6 - GL_4PASS_3_SGIS 0x80A7 - GL_SAMPLE_BUFFERS_SGIS 0x80A8 - GL_SAMPLES_SGIS 0x80A9 - GL_SAMPLE_MASK_VALUE_SGIS 0x80AA - GL_SAMPLE_MASK_INVERT_SGIS 0x80AB - GL_SAMPLE_PATTERN_SGIS 0x80AC - GL_MULTISAMPLE_BIT_EXT 0x20000000 - void glSampleMaskSGIS (GLclampf value, GLboolean invert) - void glSamplePatternSGIS (GLenum pattern) diff --git a/Externals/GLew/auto/extensions/GL_SGIS_pixel_texture b/Externals/GLew/auto/extensions/GL_SGIS_pixel_texture deleted file mode 100644 index 5939eb2438..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_pixel_texture +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIS_pixel_texture -http://www.opengl.org/registry/specs/SGIS/pixel_texture.txt -GL_SGIS_pixel_texture diff --git a/Externals/GLew/auto/extensions/GL_SGIS_point_line_texgen b/Externals/GLew/auto/extensions/GL_SGIS_point_line_texgen deleted file mode 100644 index ccf383d0ca..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_point_line_texgen +++ /dev/null @@ -1,11 +0,0 @@ -GL_SGIS_point_line_texgen -http://www.opengl.org/registry/specs/SGIS/point_line_texgen.txt -GL_SGIS_point_line_texgen - GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 - GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 - GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 - GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 - GL_EYE_POINT_SGIS 0x81F4 - GL_OBJECT_POINT_SGIS 0x81F5 - GL_EYE_LINE_SGIS 0x81F6 - GL_OBJECT_LINE_SGIS 0x81F7 diff --git a/Externals/GLew/auto/extensions/GL_SGIS_sharpen_texture b/Externals/GLew/auto/extensions/GL_SGIS_sharpen_texture deleted file mode 100644 index 3ac1f6aa04..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_sharpen_texture +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIS_sharpen_texture -http://www.opengl.org/registry/specs/SGIS/sharpen_texture.txt -GL_SGIS_sharpen_texture - void glGetSharpenTexFuncSGIS (GLenum target, GLfloat* points) - void glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat* points) diff --git a/Externals/GLew/auto/extensions/GL_SGIS_texture4D b/Externals/GLew/auto/extensions/GL_SGIS_texture4D deleted file mode 100644 index 00bf6a7836..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_texture4D +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIS_texture4D -http://www.opengl.org/registry/specs/SGIS/texture4D.txt -GL_SGIS_texture4D - void glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void* pixels) - void glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void* pixels) diff --git a/Externals/GLew/auto/extensions/GL_SGIS_texture_border_clamp b/Externals/GLew/auto/extensions/GL_SGIS_texture_border_clamp deleted file mode 100644 index d397e7d892..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_texture_border_clamp +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIS_texture_border_clamp -http://www.opengl.org/registry/specs/SGIS/texture_border_clamp.txt -GL_SGIS_texture_border_clamp - GL_CLAMP_TO_BORDER_SGIS 0x812D diff --git a/Externals/GLew/auto/extensions/GL_SGIS_texture_edge_clamp b/Externals/GLew/auto/extensions/GL_SGIS_texture_edge_clamp deleted file mode 100644 index 6b0fe033d7..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_texture_edge_clamp +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIS_texture_edge_clamp -http://www.opengl.org/registry/specs/SGIS/texture_edge_clamp.txt -GL_SGIS_texture_edge_clamp - GL_CLAMP_TO_EDGE_SGIS 0x812F diff --git a/Externals/GLew/auto/extensions/GL_SGIS_texture_filter4 b/Externals/GLew/auto/extensions/GL_SGIS_texture_filter4 deleted file mode 100644 index 49fda19f52..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_texture_filter4 +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIS_texture_filter4 -http://www.opengl.org/registry/specs/SGIS/texture_filter4.txt -GL_SGIS_texture_filter4 - void glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat* weights) - void glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat* weights) diff --git a/Externals/GLew/auto/extensions/GL_SGIS_texture_lod b/Externals/GLew/auto/extensions/GL_SGIS_texture_lod deleted file mode 100644 index c731a5fcb8..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_texture_lod +++ /dev/null @@ -1,7 +0,0 @@ -GL_SGIS_texture_lod -http://www.opengl.org/registry/specs/SGIS/texture_lod.txt -GL_SGIS_texture_lod - GL_TEXTURE_MIN_LOD_SGIS 0x813A - GL_TEXTURE_MAX_LOD_SGIS 0x813B - GL_TEXTURE_BASE_LEVEL_SGIS 0x813C - GL_TEXTURE_MAX_LEVEL_SGIS 0x813D diff --git a/Externals/GLew/auto/extensions/GL_SGIS_texture_select b/Externals/GLew/auto/extensions/GL_SGIS_texture_select deleted file mode 100644 index ba51bc8191..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIS_texture_select +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIS_texture_select -http://www.opengl.org/registry/specs/SGIS/texture_select.txt -GL_SGIS_texture_select diff --git a/Externals/GLew/auto/extensions/GL_SGIX_async b/Externals/GLew/auto/extensions/GL_SGIX_async deleted file mode 100644 index 05f04549af..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_async +++ /dev/null @@ -1,10 +0,0 @@ -GL_SGIX_async -http://www.opengl.org/registry/specs/SGIX/async.txt -GL_SGIX_async - GL_ASYNC_MARKER_SGIX 0x8329 - void glAsyncMarkerSGIX (GLuint marker) - void glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range) - GLint glFinishAsyncSGIX (GLuint* markerp) - GLuint glGenAsyncMarkersSGIX (GLsizei range) - GLboolean glIsAsyncMarkerSGIX (GLuint marker) - GLint glPollAsyncSGIX (GLuint* markerp) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_async_histogram b/Externals/GLew/auto/extensions/GL_SGIX_async_histogram deleted file mode 100644 index ff5b40b937..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_async_histogram +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIX_async_histogram -http://www.opengl.org/registry/specs/SGIX/async_histogram.txt -GL_SGIX_async_histogram - GL_ASYNC_HISTOGRAM_SGIX 0x832C - GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D diff --git a/Externals/GLew/auto/extensions/GL_SGIX_async_pixel b/Externals/GLew/auto/extensions/GL_SGIX_async_pixel deleted file mode 100644 index 7afb9dfc4d..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_async_pixel +++ /dev/null @@ -1,9 +0,0 @@ -GL_SGIX_async_pixel -http://www.opengl.org/registry/specs/SGIX/async_pixel.txt -GL_SGIX_async_pixel - GL_ASYNC_TEX_IMAGE_SGIX 0x835C - GL_ASYNC_DRAW_PIXELS_SGIX 0x835D - GL_ASYNC_READ_PIXELS_SGIX 0x835E - GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F - GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 - GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 diff --git a/Externals/GLew/auto/extensions/GL_SGIX_blend_alpha_minmax b/Externals/GLew/auto/extensions/GL_SGIX_blend_alpha_minmax deleted file mode 100644 index 445112492e..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_blend_alpha_minmax +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIX_blend_alpha_minmax -http://www.opengl.org/registry/specs/SGIX/blend_alpha_minmax.txt -GL_SGIX_blend_alpha_minmax - GL_ALPHA_MIN_SGIX 0x8320 - GL_ALPHA_MAX_SGIX 0x8321 diff --git a/Externals/GLew/auto/extensions/GL_SGIX_clipmap b/Externals/GLew/auto/extensions/GL_SGIX_clipmap deleted file mode 100644 index d46748677b..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_clipmap +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIX_clipmap -http://www.opengl.org/registry/specs/SGIX/clipmap.txt -GL_SGIX_clipmap diff --git a/Externals/GLew/auto/extensions/GL_SGIX_convolution_accuracy b/Externals/GLew/auto/extensions/GL_SGIX_convolution_accuracy deleted file mode 100644 index 064ff2c2a4..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_convolution_accuracy +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_convolution_accuracy -http://www.opengl.org/registry/specs/SGIX/convolution_accuracy.txt -GL_SGIX_convolution_accuracy - GL_CONVOLUTION_HINT_SGIX 0x8316 diff --git a/Externals/GLew/auto/extensions/GL_SGIX_depth_texture b/Externals/GLew/auto/extensions/GL_SGIX_depth_texture deleted file mode 100644 index 5c5914e688..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_depth_texture +++ /dev/null @@ -1,6 +0,0 @@ -GL_SGIX_depth_texture -http://www.opengl.org/registry/specs/SGIX/depth_texture.txt -GL_SGIX_depth_texture - GL_DEPTH_COMPONENT16_SGIX 0x81A5 - GL_DEPTH_COMPONENT24_SGIX 0x81A6 - GL_DEPTH_COMPONENT32_SGIX 0x81A7 diff --git a/Externals/GLew/auto/extensions/GL_SGIX_flush_raster b/Externals/GLew/auto/extensions/GL_SGIX_flush_raster deleted file mode 100644 index 9e62248ad7..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_flush_raster +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_flush_raster -http://www.opengl.org/registry/specs/SGIX/flush_raster.txt -GL_SGIX_flush_raster - void glFlushRasterSGIX (void) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_fog_offset b/Externals/GLew/auto/extensions/GL_SGIX_fog_offset deleted file mode 100644 index da1009ad88..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_fog_offset +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIX_fog_offset -http://www.opengl.org/registry/specs/SGIX/fog_offset.txt -GL_SGIX_fog_offset - GL_FOG_OFFSET_SGIX 0x8198 - GL_FOG_OFFSET_VALUE_SGIX 0x8199 diff --git a/Externals/GLew/auto/extensions/GL_SGIX_fog_texture b/Externals/GLew/auto/extensions/GL_SGIX_fog_texture deleted file mode 100644 index 3da0eda166..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_fog_texture +++ /dev/null @@ -1,7 +0,0 @@ -GL_SGIX_fog_texture -http://www.opengl.org/registry/specs/SGIX/fog_texture.txt -GL_SGIX_fog_texture - GL_TEXTURE_FOG_SGIX 0 - GL_FOG_PATCHY_FACTOR_SGIX 0 - GL_FRAGMENT_FOG_SGIX 0 - void glTextureFogSGIX (GLenum pname) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_fragment_specular_lighting b/Externals/GLew/auto/extensions/GL_SGIX_fragment_specular_lighting deleted file mode 100644 index 35937c9c25..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_fragment_specular_lighting +++ /dev/null @@ -1,20 +0,0 @@ -GL_SGIX_fragment_specular_lighting -http://www.opengl.org/registry/specs/SGIX/fragment_specular_lighting.txt -GL_SGIX_fragment_specular_lighting - void glFragmentColorMaterialSGIX (GLenum face, GLenum mode) - void glFragmentLightModelfSGIX (GLenum pname, GLfloat param) - void glFragmentLightModelfvSGIX (GLenum pname, GLfloat* params) - void glFragmentLightModeliSGIX (GLenum pname, GLint param) - void glFragmentLightModelivSGIX (GLenum pname, GLint* params) - void glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param) - void glFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat* params) - void glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param) - void glFragmentLightivSGIX (GLenum light, GLenum pname, GLint* params) - void glFragmentMaterialfSGIX (GLenum face, GLenum pname, const GLfloat param) - void glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat* params) - void glFragmentMaterialiSGIX (GLenum face, GLenum pname, const GLint param) - void glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint* params) - void glGetFragmentLightfvSGIX (GLenum light, GLenum value, GLfloat* data) - void glGetFragmentLightivSGIX (GLenum light, GLenum value, GLint* data) - void glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat* data) - void glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint* data) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_framezoom b/Externals/GLew/auto/extensions/GL_SGIX_framezoom deleted file mode 100644 index a1569accac..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_framezoom +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_framezoom -http://www.opengl.org/registry/specs/SGIX/framezoom.txt -GL_SGIX_framezoom - void glFrameZoomSGIX (GLint factor) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_interlace b/Externals/GLew/auto/extensions/GL_SGIX_interlace deleted file mode 100644 index 54d351e45b..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_interlace +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_interlace -http://www.opengl.org/registry/specs/SGIX/interlace.txt -GL_SGIX_interlace - GL_INTERLACE_SGIX 0x8094 diff --git a/Externals/GLew/auto/extensions/GL_SGIX_ir_instrument1 b/Externals/GLew/auto/extensions/GL_SGIX_ir_instrument1 deleted file mode 100644 index a6c586e82e..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_ir_instrument1 +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIX_ir_instrument1 -http://www.opengl.org/registry/specs/SGIX/ir_instrument1.txt -GL_SGIX_ir_instrument1 diff --git a/Externals/GLew/auto/extensions/GL_SGIX_list_priority b/Externals/GLew/auto/extensions/GL_SGIX_list_priority deleted file mode 100644 index 187219b7a7..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_list_priority +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIX_list_priority -http://www.opengl.org/registry/specs/SGIX/list_priority.txt -GL_SGIX_list_priority diff --git a/Externals/GLew/auto/extensions/GL_SGIX_pixel_texture b/Externals/GLew/auto/extensions/GL_SGIX_pixel_texture deleted file mode 100644 index 20bab95808..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_pixel_texture +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_pixel_texture -http://www.opengl.org/registry/specs/SGIX/sgix_pixel_texture.txt -GL_SGIX_pixel_texture - void glPixelTexGenSGIX (GLenum mode) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_pixel_texture_bits b/Externals/GLew/auto/extensions/GL_SGIX_pixel_texture_bits deleted file mode 100644 index e550316d42..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_pixel_texture_bits +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIX_pixel_texture_bits -http://www.opengl.org/registry/specs/SGIX/pixel_texture_bits.txt -GL_SGIX_pixel_texture_bits diff --git a/Externals/GLew/auto/extensions/GL_SGIX_reference_plane b/Externals/GLew/auto/extensions/GL_SGIX_reference_plane deleted file mode 100644 index acce07647c..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_reference_plane +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_reference_plane -http://www.opengl.org/registry/specs/SGIX/reference_plane.txt -GL_SGIX_reference_plane - void glReferencePlaneSGIX (const GLdouble* equation) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_resample b/Externals/GLew/auto/extensions/GL_SGIX_resample deleted file mode 100644 index 526e38033d..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_resample +++ /dev/null @@ -1,8 +0,0 @@ -GL_SGIX_resample -http://www.opengl.org/registry/specs/SGIX/resample.txt -GL_SGIX_resample - GL_PACK_RESAMPLE_SGIX 0x842E - GL_UNPACK_RESAMPLE_SGIX 0x842F - GL_RESAMPLE_DECIMATE_SGIX 0x8430 - GL_RESAMPLE_REPLICATE_SGIX 0x8433 - GL_RESAMPLE_ZERO_FILL_SGIX 0x8434 diff --git a/Externals/GLew/auto/extensions/GL_SGIX_shadow b/Externals/GLew/auto/extensions/GL_SGIX_shadow deleted file mode 100644 index 2b34cc83a9..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_shadow +++ /dev/null @@ -1,7 +0,0 @@ -GL_SGIX_shadow -http://oss.sgi.com/projects/ogl-sample/registry/SGIX/shadow.txt -GL_SGIX_shadow - GL_TEXTURE_COMPARE_SGIX 0x819A - GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B - GL_TEXTURE_LEQUAL_R_SGIX 0x819C - GL_TEXTURE_GEQUAL_R_SGIX 0x819D diff --git a/Externals/GLew/auto/extensions/GL_SGIX_shadow_ambient b/Externals/GLew/auto/extensions/GL_SGIX_shadow_ambient deleted file mode 100644 index b3476b1e74..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_shadow_ambient +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_shadow_ambient -http://www.opengl.org/registry/specs/SGIX/shadow_ambient.txt -GL_SGIX_shadow_ambient - GL_SHADOW_AMBIENT_SGIX 0x80BF diff --git a/Externals/GLew/auto/extensions/GL_SGIX_sprite b/Externals/GLew/auto/extensions/GL_SGIX_sprite deleted file mode 100644 index 427a779e23..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_sprite +++ /dev/null @@ -1,7 +0,0 @@ -GL_SGIX_sprite -http://www.opengl.org/registry/specs/SGIX/sprite.txt -GL_SGIX_sprite - void glSpriteParameterfSGIX (GLenum pname, GLfloat param) - void glSpriteParameterfvSGIX (GLenum pname, GLfloat* params) - void glSpriteParameteriSGIX (GLenum pname, GLint param) - void glSpriteParameterivSGIX (GLenum pname, GLint* params) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_tag_sample_buffer b/Externals/GLew/auto/extensions/GL_SGIX_tag_sample_buffer deleted file mode 100644 index e17f53e5c9..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_tag_sample_buffer +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_tag_sample_buffer -http://www.opengl.org/registry/specs/SGIX/tag_sample_buffer.txt -GL_SGIX_tag_sample_buffer - void glTagSampleBufferSGIX (void) diff --git a/Externals/GLew/auto/extensions/GL_SGIX_texture_add_env b/Externals/GLew/auto/extensions/GL_SGIX_texture_add_env deleted file mode 100644 index 19db14cdea..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_texture_add_env +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIX_texture_add_env -http://www.opengl.org/registry/specs/SGIX/texture_env_add.txt -GL_SGIX_texture_add_env diff --git a/Externals/GLew/auto/extensions/GL_SGIX_texture_coordinate_clamp b/Externals/GLew/auto/extensions/GL_SGIX_texture_coordinate_clamp deleted file mode 100644 index cd6862d4b5..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_texture_coordinate_clamp +++ /dev/null @@ -1,6 +0,0 @@ -GL_SGIX_texture_coordinate_clamp -http://www.opengl.org/registry/specs/SGIX/texture_coordinate_clamp.txt -GL_SGIX_texture_coordinate_clamp - GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 - GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A - GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B diff --git a/Externals/GLew/auto/extensions/GL_SGIX_texture_lod_bias b/Externals/GLew/auto/extensions/GL_SGIX_texture_lod_bias deleted file mode 100644 index 2f8dfb608a..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_texture_lod_bias +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIX_texture_lod_bias -http://www.opengl.org/registry/specs/SGIX/texture_lod_bias.txt -GL_SGIX_texture_lod_bias diff --git a/Externals/GLew/auto/extensions/GL_SGIX_texture_multi_buffer b/Externals/GLew/auto/extensions/GL_SGIX_texture_multi_buffer deleted file mode 100644 index 0990319aff..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_texture_multi_buffer +++ /dev/null @@ -1,4 +0,0 @@ -GL_SGIX_texture_multi_buffer -http://www.opengl.org/registry/specs/SGIX/texture_multi_buffer.txt -GL_SGIX_texture_multi_buffer - GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E diff --git a/Externals/GLew/auto/extensions/GL_SGIX_texture_range b/Externals/GLew/auto/extensions/GL_SGIX_texture_range deleted file mode 100644 index 2299caf3d8..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_texture_range +++ /dev/null @@ -1,31 +0,0 @@ -GL_SGIX_texture_range -http://www.opengl.org/registry/specs/SGIX/texture_range.txt -GL_SGIX_texture_range - GL_RGB_SIGNED_SGIX 0x85E0 - GL_RGBA_SIGNED_SGIX 0x85E1 - GL_ALPHA_SIGNED_SGIX 0x85E2 - GL_LUMINANCE_SIGNED_SGIX 0x85E3 - GL_INTENSITY_SIGNED_SGIX 0x85E4 - GL_LUMINANCE_ALPHA_SIGNED_SGIX 0x85E5 - GL_RGB16_SIGNED_SGIX 0x85E6 - GL_RGBA16_SIGNED_SGIX 0x85E7 - GL_ALPHA16_SIGNED_SGIX 0x85E8 - GL_LUMINANCE16_SIGNED_SGIX 0x85E9 - GL_INTENSITY16_SIGNED_SGIX 0x85EA - GL_LUMINANCE16_ALPHA16_SIGNED_SGIX 0x85EB - GL_RGB_EXTENDED_RANGE_SGIX 0x85EC - GL_RGBA_EXTENDED_RANGE_SGIX 0x85ED - GL_ALPHA_EXTENDED_RANGE_SGIX 0x85EE - GL_LUMINANCE_EXTENDED_RANGE_SGIX 0x85EF - GL_INTENSITY_EXTENDED_RANGE_SGIX 0x85F0 - GL_LUMINANCE_ALPHA_EXTENDED_RANGE_SGIX 0x85F1 - GL_RGB16_EXTENDED_RANGE_SGIX 0x85F2 - GL_RGBA16_EXTENDED_RANGE_SGIX 0x85F3 - GL_ALPHA16_EXTENDED_RANGE_SGIX 0x85F4 - GL_LUMINANCE16_EXTENDED_RANGE_SGIX 0x85F5 - GL_INTENSITY16_EXTENDED_RANGE_SGIX 0x85F6 - GL_LUMINANCE16_ALPHA16_EXTENDED_RANGE_SGIX 0x85F7 - GL_MIN_LUMINANCE_SGIS 0x85F8 - GL_MAX_LUMINANCE_SGIS 0x85F9 - GL_MIN_INTENSITY_SGIS 0x85FA - GL_MAX_INTENSITY_SGIS 0x85FB diff --git a/Externals/GLew/auto/extensions/GL_SGIX_texture_scale_bias b/Externals/GLew/auto/extensions/GL_SGIX_texture_scale_bias deleted file mode 100644 index 83ff2ffb02..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_texture_scale_bias +++ /dev/null @@ -1,7 +0,0 @@ -GL_SGIX_texture_scale_bias -http://www.opengl.org/registry/specs/SGIX/texture_scale_bias.txt -GL_SGIX_texture_scale_bias - GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 - GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A - GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B - GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C diff --git a/Externals/GLew/auto/extensions/GL_SGIX_vertex_preclip b/Externals/GLew/auto/extensions/GL_SGIX_vertex_preclip deleted file mode 100644 index 98772553fb..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_vertex_preclip +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIX_vertex_preclip -http://www.opengl.org/registry/specs/SGIX/vertex_preclip.txt -GL_SGIX_vertex_preclip - GL_VERTEX_PRECLIP_SGIX 0x83EE - GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF diff --git a/Externals/GLew/auto/extensions/GL_SGIX_vertex_preclip_hint b/Externals/GLew/auto/extensions/GL_SGIX_vertex_preclip_hint deleted file mode 100644 index 285bded5a2..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_vertex_preclip_hint +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGIX_vertex_preclip_hint -http://www.opengl.org/registry/specs/SGIX/vertex_preclip.txt -GL_SGIX_vertex_preclip_hint - GL_VERTEX_PRECLIP_SGIX 0x83EE - GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF diff --git a/Externals/GLew/auto/extensions/GL_SGIX_ycrcb b/Externals/GLew/auto/extensions/GL_SGIX_ycrcb deleted file mode 100644 index 19e60345bf..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGIX_ycrcb +++ /dev/null @@ -1,3 +0,0 @@ -GL_SGIX_ycrcb -http://www.opengl.org/registry/specs/SGIX/ycrcb.txt -GL_SGIX_ycrcb diff --git a/Externals/GLew/auto/extensions/GL_SGI_color_matrix b/Externals/GLew/auto/extensions/GL_SGI_color_matrix deleted file mode 100644 index 7db7e20eea..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGI_color_matrix +++ /dev/null @@ -1,14 +0,0 @@ -GL_SGI_color_matrix -http://www.opengl.org/registry/specs/SGI/color_matrix.txt -GL_SGI_color_matrix - GL_COLOR_MATRIX_SGI 0x80B1 - GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 - GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 - GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 - GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 - GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 - GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 - GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 - GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 - GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA - GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB diff --git a/Externals/GLew/auto/extensions/GL_SGI_color_table b/Externals/GLew/auto/extensions/GL_SGI_color_table deleted file mode 100644 index 756ba491c7..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGI_color_table +++ /dev/null @@ -1,26 +0,0 @@ -GL_SGI_color_table -http://www.opengl.org/registry/specs/SGI/color_table.txt -GL_SGI_color_table - GL_COLOR_TABLE_SGI 0x80D0 - GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 - GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 - GL_PROXY_COLOR_TABLE_SGI 0x80D3 - GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 - GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 - GL_COLOR_TABLE_SCALE_SGI 0x80D6 - GL_COLOR_TABLE_BIAS_SGI 0x80D7 - GL_COLOR_TABLE_FORMAT_SGI 0x80D8 - GL_COLOR_TABLE_WIDTH_SGI 0x80D9 - GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA - GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB - GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC - GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD - GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE - GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF - void glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat* params) - void glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint* params) - void glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* table) - void glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) - void glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat* params) - void glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint* params) - void glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void* table) diff --git a/Externals/GLew/auto/extensions/GL_SGI_texture_color_table b/Externals/GLew/auto/extensions/GL_SGI_texture_color_table deleted file mode 100644 index 29931705be..0000000000 --- a/Externals/GLew/auto/extensions/GL_SGI_texture_color_table +++ /dev/null @@ -1,5 +0,0 @@ -GL_SGI_texture_color_table -http://www.opengl.org/registry/specs/SGI/texture_color_table.txt -GL_SGI_texture_color_table - GL_TEXTURE_COLOR_TABLE_SGI 0x80BC - GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD diff --git a/Externals/GLew/auto/extensions/GL_SUNX_constant_data b/Externals/GLew/auto/extensions/GL_SUNX_constant_data deleted file mode 100644 index 5fe63c585f..0000000000 --- a/Externals/GLew/auto/extensions/GL_SUNX_constant_data +++ /dev/null @@ -1,6 +0,0 @@ -GL_SUNX_constant_data -http://www.opengl.org/registry/specs/SUNX/constant_data.txt -GL_SUNX_constant_data - GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 - GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 - void glFinishTextureSUNX (void) diff --git a/Externals/GLew/auto/extensions/GL_SUN_convolution_border_modes b/Externals/GLew/auto/extensions/GL_SUN_convolution_border_modes deleted file mode 100644 index 0c6fda8f23..0000000000 --- a/Externals/GLew/auto/extensions/GL_SUN_convolution_border_modes +++ /dev/null @@ -1,4 +0,0 @@ -GL_SUN_convolution_border_modes -http://www.opengl.org/registry/specs/SUN/convolution_border_modes.txt -GL_SUN_convolution_border_modes - GL_WRAP_BORDER_SUN 0x81D4 diff --git a/Externals/GLew/auto/extensions/GL_SUN_global_alpha b/Externals/GLew/auto/extensions/GL_SUN_global_alpha deleted file mode 100644 index d7c527436a..0000000000 --- a/Externals/GLew/auto/extensions/GL_SUN_global_alpha +++ /dev/null @@ -1,13 +0,0 @@ -GL_SUN_global_alpha -http://www.opengl.org/registry/specs/SUN/global_alpha.txt -GL_SUN_global_alpha - GL_GLOBAL_ALPHA_SUN 0x81D9 - GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA - void glGlobalAlphaFactorbSUN (GLbyte factor) - void glGlobalAlphaFactordSUN (GLdouble factor) - void glGlobalAlphaFactorfSUN (GLfloat factor) - void glGlobalAlphaFactoriSUN (GLint factor) - void glGlobalAlphaFactorsSUN (GLshort factor) - void glGlobalAlphaFactorubSUN (GLubyte factor) - void glGlobalAlphaFactoruiSUN (GLuint factor) - void glGlobalAlphaFactorusSUN (GLushort factor) diff --git a/Externals/GLew/auto/extensions/GL_SUN_mesh_array b/Externals/GLew/auto/extensions/GL_SUN_mesh_array deleted file mode 100644 index 28229bf32d..0000000000 --- a/Externals/GLew/auto/extensions/GL_SUN_mesh_array +++ /dev/null @@ -1,5 +0,0 @@ -GL_SUN_mesh_array -http://www.opengl.org/registry/specs/SUN/mesh_array.txt -GL_SUN_mesh_array - GL_QUAD_MESH_SUN 0x8614 - GL_TRIANGLE_MESH_SUN 0x8615 diff --git a/Externals/GLew/auto/extensions/GL_SUN_read_video_pixels b/Externals/GLew/auto/extensions/GL_SUN_read_video_pixels deleted file mode 100644 index faa55f972c..0000000000 --- a/Externals/GLew/auto/extensions/GL_SUN_read_video_pixels +++ /dev/null @@ -1,4 +0,0 @@ -GL_SUN_read_video_pixels -http://wwws.sun.com/software/graphics/opengl/extensions/gl_sun_read_video_pixels.txt -GL_SUN_read_video_pixels - void glReadVideoPixelsSUN (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) diff --git a/Externals/GLew/auto/extensions/GL_SUN_slice_accum b/Externals/GLew/auto/extensions/GL_SUN_slice_accum deleted file mode 100644 index 404237d70f..0000000000 --- a/Externals/GLew/auto/extensions/GL_SUN_slice_accum +++ /dev/null @@ -1,4 +0,0 @@ -GL_SUN_slice_accum -http://www.opengl.org/registry/specs/SUN/slice_accum.txt -GL_SUN_slice_accum - GL_SLICE_ACCUM_SUN 0x85CC diff --git a/Externals/GLew/auto/extensions/GL_SUN_triangle_list b/Externals/GLew/auto/extensions/GL_SUN_triangle_list deleted file mode 100644 index a42af1ff79..0000000000 --- a/Externals/GLew/auto/extensions/GL_SUN_triangle_list +++ /dev/null @@ -1,27 +0,0 @@ -GL_SUN_triangle_list -http://www.opengl.org/registry/specs/SUN/triangle_list.txt -GL_SUN_triangle_list - GL_RESTART_SUN 0x01 - GL_REPLACE_MIDDLE_SUN 0x02 - GL_REPLACE_OLDEST_SUN 0x03 - GL_TRIANGLE_LIST_SUN 0x81D7 - GL_REPLACEMENT_CODE_SUN 0x81D8 - GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 - GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 - GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 - GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 - GL_R1UI_V3F_SUN 0x85C4 - GL_R1UI_C4UB_V3F_SUN 0x85C5 - GL_R1UI_C3F_V3F_SUN 0x85C6 - GL_R1UI_N3F_V3F_SUN 0x85C7 - GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 - GL_R1UI_T2F_V3F_SUN 0x85C9 - GL_R1UI_T2F_N3F_V3F_SUN 0x85CA - GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB - void glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void* pointer) - void glReplacementCodeubSUN (GLubyte code) - void glReplacementCodeubvSUN (const GLubyte* code) - void glReplacementCodeuiSUN (GLuint code) - void glReplacementCodeuivSUN (const GLuint* code) - void glReplacementCodeusSUN (GLushort code) - void glReplacementCodeusvSUN (const GLushort* code) diff --git a/Externals/GLew/auto/extensions/GL_SUN_vertex b/Externals/GLew/auto/extensions/GL_SUN_vertex deleted file mode 100644 index 0111c011a5..0000000000 --- a/Externals/GLew/auto/extensions/GL_SUN_vertex +++ /dev/null @@ -1,43 +0,0 @@ -GL_SUN_vertex -http://www.opengl.org/registry/specs/SUN/vertex.txt -GL_SUN_vertex - void glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) - void glColor3fVertex3fvSUN (const GLfloat* c, const GLfloat *v) - void glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - void glColor4fNormal3fVertex3fvSUN (const GLfloat* c, const GLfloat *n, const GLfloat *v) - void glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y) - void glColor4ubVertex2fvSUN (const GLubyte* c, const GLfloat *v) - void glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) - void glColor4ubVertex3fvSUN (const GLubyte* c, const GLfloat *v) - void glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - void glNormal3fVertex3fvSUN (const GLfloat* n, const GLfloat *v) - void glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) - void glReplacementCodeuiColor3fVertex3fvSUN (const GLuint* rc, const GLfloat *c, const GLfloat *v) - void glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - void glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint* rc, const GLfloat *c, const GLfloat *n, const GLfloat *v) - void glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) - void glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint* rc, const GLubyte *c, const GLfloat *v) - void glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - void glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint* rc, const GLfloat *n, const GLfloat *v) - void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - void glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint* rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) - void glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - void glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint* rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v) - void glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) - void glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint* rc, const GLfloat *tc, const GLfloat *v) - void glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z) - void glReplacementCodeuiVertex3fvSUN (const GLuint* rc, const GLfloat *v) - void glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) - void glTexCoord2fColor3fVertex3fvSUN (const GLfloat* tc, const GLfloat *c, const GLfloat *v) - void glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - void glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat* tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) - void glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) - void glTexCoord2fColor4ubVertex3fvSUN (const GLfloat* tc, const GLubyte *c, const GLfloat *v) - void glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) - void glTexCoord2fNormal3fVertex3fvSUN (const GLfloat* tc, const GLfloat *n, const GLfloat *v) - void glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) - void glTexCoord2fVertex3fvSUN (const GLfloat* tc, const GLfloat *v) - void glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat* tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) - void glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w) - void glTexCoord4fVertex4fvSUN (const GLfloat* tc, const GLfloat *v) diff --git a/Externals/GLew/auto/extensions/GL_WIN_phong_shading b/Externals/GLew/auto/extensions/GL_WIN_phong_shading deleted file mode 100644 index 9faadb86b7..0000000000 --- a/Externals/GLew/auto/extensions/GL_WIN_phong_shading +++ /dev/null @@ -1,5 +0,0 @@ -GL_WIN_phong_shading -http://www.opengl.org/registry/specs/WIN/phong_shading.txt -GL_WIN_phong_shading - GL_PHONG_WIN 0x80EA - GL_PHONG_HINT_WIN 0x80EB diff --git a/Externals/GLew/auto/extensions/GL_WIN_specular_fog b/Externals/GLew/auto/extensions/GL_WIN_specular_fog deleted file mode 100644 index 2cfcd0191b..0000000000 --- a/Externals/GLew/auto/extensions/GL_WIN_specular_fog +++ /dev/null @@ -1,4 +0,0 @@ -GL_WIN_specular_fog -http://www.opengl.org/registry/specs/WIN/specular_fog.txt -GL_WIN_specular_fog - GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC diff --git a/Externals/GLew/auto/extensions/GL_WIN_swap_hint b/Externals/GLew/auto/extensions/GL_WIN_swap_hint deleted file mode 100644 index 6916189eb2..0000000000 --- a/Externals/GLew/auto/extensions/GL_WIN_swap_hint +++ /dev/null @@ -1,4 +0,0 @@ -GL_WIN_swap_hint -http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/glfunc01_16zy.asp -GL_WIN_swap_hint - void glAddSwapHintRectWIN (GLint x, GLint y, GLsizei width, GLsizei height) diff --git a/Externals/GLew/auto/extensions/WGL_3DFX_multisample b/Externals/GLew/auto/extensions/WGL_3DFX_multisample deleted file mode 100644 index f0d91e9986..0000000000 --- a/Externals/GLew/auto/extensions/WGL_3DFX_multisample +++ /dev/null @@ -1,5 +0,0 @@ -WGL_3DFX_multisample -http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt -WGL_3DFX_multisample - WGL_SAMPLE_BUFFERS_3DFX 0x2060 - WGL_SAMPLES_3DFX 0x2061 diff --git a/Externals/GLew/auto/extensions/WGL_3DL_stereo_control b/Externals/GLew/auto/extensions/WGL_3DL_stereo_control deleted file mode 100644 index 88fb1bb4b7..0000000000 --- a/Externals/GLew/auto/extensions/WGL_3DL_stereo_control +++ /dev/null @@ -1,8 +0,0 @@ -WGL_3DL_stereo_control -http://www.opengl.org/registry/specs/3DL/stereo_control.txt -WGL_3DL_stereo_control - WGL_STEREO_EMITTER_ENABLE_3DL 0x2055 - WGL_STEREO_EMITTER_DISABLE_3DL 0x2056 - WGL_STEREO_POLARITY_NORMAL_3DL 0x2057 - WGL_STEREO_POLARITY_INVERT_3DL 0x2058 - BOOL wglSetStereoEmitterState3DL (HDC hDC, UINT uState) diff --git a/Externals/GLew/auto/extensions/WGL_AMD_gpu_association b/Externals/GLew/auto/extensions/WGL_AMD_gpu_association deleted file mode 100644 index 359b9ba3dc..0000000000 --- a/Externals/GLew/auto/extensions/WGL_AMD_gpu_association +++ /dev/null @@ -1,22 +0,0 @@ -WGL_AMD_gpu_association -http://www.opengl.org/registry/specs/AMD/wgl_gpu_association.txt -WGL_AMD_gpu_association - WGL_GPU_VENDOR_AMD 0x1F00 - WGL_GPU_RENDERER_STRING_AMD 0x1F01 - WGL_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 - WGL_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 - WGL_GPU_RAM_AMD 0x21A3 - WGL_GPU_CLOCK_AMD 0x21A4 - WGL_GPU_NUM_PIPES_AMD 0x21A5 - WGL_GPU_NUM_SIMD_AMD 0x21A6 - WGL_GPU_NUM_RB_AMD 0x21A7 - WGL_GPU_NUM_SPI_AMD 0x21A8 - VOID wglBlitContextFramebufferAMD (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) - HGLRC wglCreateAssociatedContextAMD (UINT id) - HGLRC wglCreateAssociatedContextAttribsAMD (UINT id, HGLRC hShareContext, const int* attribList) - BOOL wglDeleteAssociatedContextAMD (HGLRC hglrc) - UINT wglGetContextGPUIDAMD (HGLRC hglrc) - HGLRC wglGetCurrentAssociatedContextAMD (void) - UINT wglGetGPUIDsAMD (UINT maxCount, UINT* ids) - INT wglGetGPUInfoAMD (UINT id, INT property, GLenum dataType, UINT size, void* data) - BOOL wglMakeAssociatedContextCurrentAMD (HGLRC hglrc) diff --git a/Externals/GLew/auto/extensions/WGL_ARB_buffer_region b/Externals/GLew/auto/extensions/WGL_ARB_buffer_region deleted file mode 100644 index 719f648727..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_buffer_region +++ /dev/null @@ -1,11 +0,0 @@ -WGL_ARB_buffer_region -http://www.opengl.org/registry/specs/ARB/wgl_buffer_region.txt -WGL_ARB_buffer_region - WGL_FRONT_COLOR_BUFFER_BIT_ARB 0x00000001 - WGL_BACK_COLOR_BUFFER_BIT_ARB 0x00000002 - WGL_DEPTH_BUFFER_BIT_ARB 0x00000004 - WGL_STENCIL_BUFFER_BIT_ARB 0x00000008 - HANDLE wglCreateBufferRegionARB (HDC hDC, int iLayerPlane, UINT uType) - VOID wglDeleteBufferRegionARB (HANDLE hRegion) - BOOL wglRestoreBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc) - BOOL wglSaveBufferRegionARB (HANDLE hRegion, int x, int y, int width, int height) diff --git a/Externals/GLew/auto/extensions/WGL_ARB_create_context b/Externals/GLew/auto/extensions/WGL_ARB_create_context deleted file mode 100644 index d864772094..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_create_context +++ /dev/null @@ -1,10 +0,0 @@ -WGL_ARB_create_context -http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt -WGL_ARB_create_context - WGL_CONTEXT_DEBUG_BIT_ARB 0x0001 - WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 - WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 - WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 - WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 - WGL_CONTEXT_FLAGS_ARB 0x2094 - HGLRC wglCreateContextAttribsARB (HDC hDC, HGLRC hShareContext, const int* attribList) diff --git a/Externals/GLew/auto/extensions/WGL_ARB_create_context_profile b/Externals/GLew/auto/extensions/WGL_ARB_create_context_profile deleted file mode 100644 index 1b3c10427e..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_create_context_profile +++ /dev/null @@ -1,6 +0,0 @@ -WGL_ARB_create_context_profile -http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt -WGL_ARB_create_context_profile - WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 - WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 - WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 diff --git a/Externals/GLew/auto/extensions/WGL_ARB_extensions_string b/Externals/GLew/auto/extensions/WGL_ARB_extensions_string deleted file mode 100644 index 1c13879c81..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_extensions_string +++ /dev/null @@ -1,4 +0,0 @@ -WGL_ARB_extensions_string -http://www.opengl.org/registry/specs/ARB/wgl_extensions_string.txt -WGL_ARB_extensions_string - const char* wglGetExtensionsStringARB (HDC hdc) diff --git a/Externals/GLew/auto/extensions/WGL_ARB_framebuffer_sRGB b/Externals/GLew/auto/extensions/WGL_ARB_framebuffer_sRGB deleted file mode 100644 index b166c5b74c..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_framebuffer_sRGB +++ /dev/null @@ -1,4 +0,0 @@ -WGL_ARB_framebuffer_sRGB -http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt -WGL_ARB_framebuffer_sRGB - WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 diff --git a/Externals/GLew/auto/extensions/WGL_ARB_make_current_read b/Externals/GLew/auto/extensions/WGL_ARB_make_current_read deleted file mode 100644 index 352f9cf676..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_make_current_read +++ /dev/null @@ -1,7 +0,0 @@ -WGL_ARB_make_current_read -http://www.opengl.org/registry/specs/ARB/wgl_make_current_read.txt -WGL_ARB_make_current_read - HDC wglGetCurrentReadDCARB (VOID) - BOOL wglMakeContextCurrentARB (HDC hDrawDC, HDC hReadDC, HGLRC hglrc) - ERROR_INVALID_PIXEL_TYPE_ARB 0x2043 - ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 diff --git a/Externals/GLew/auto/extensions/WGL_ARB_multisample b/Externals/GLew/auto/extensions/WGL_ARB_multisample deleted file mode 100644 index 8f9f5c3790..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_multisample +++ /dev/null @@ -1,5 +0,0 @@ -WGL_ARB_multisample -http://www.opengl.org/registry/specs/ARB/multisample.txt -WGL_ARB_multisample - WGL_SAMPLE_BUFFERS_ARB 0x2041 - WGL_SAMPLES_ARB 0x2042 diff --git a/Externals/GLew/auto/extensions/WGL_ARB_pbuffer b/Externals/GLew/auto/extensions/WGL_ARB_pbuffer deleted file mode 100644 index fa9f7c9f2f..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_pbuffer +++ /dev/null @@ -1,17 +0,0 @@ -WGL_ARB_pbuffer -http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt -WGL_ARB_pbuffer - WGL_DRAW_TO_PBUFFER_ARB 0x202D - WGL_MAX_PBUFFER_PIXELS_ARB 0x202E - WGL_MAX_PBUFFER_WIDTH_ARB 0x202F - WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 - WGL_PBUFFER_LARGEST_ARB 0x2033 - WGL_PBUFFER_WIDTH_ARB 0x2034 - WGL_PBUFFER_HEIGHT_ARB 0x2035 - WGL_PBUFFER_LOST_ARB 0x2036 - HPBUFFERARB wglCreatePbufferARB (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList) - BOOL wglDestroyPbufferARB (HPBUFFERARB hPbuffer) - HDC wglGetPbufferDCARB (HPBUFFERARB hPbuffer) - BOOL wglQueryPbufferARB (HPBUFFERARB hPbuffer, int iAttribute, int* piValue) - int wglReleasePbufferDCARB (HPBUFFERARB hPbuffer, HDC hDC) - DECLARE_HANDLE(HPBUFFERARB); diff --git a/Externals/GLew/auto/extensions/WGL_ARB_pixel_format b/Externals/GLew/auto/extensions/WGL_ARB_pixel_format deleted file mode 100644 index 553353f127..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_pixel_format +++ /dev/null @@ -1,55 +0,0 @@ -WGL_ARB_pixel_format -http://www.opengl.org/registry/specs/ARB/wgl_pixel_format.txt -WGL_ARB_pixel_format - WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 - WGL_DRAW_TO_WINDOW_ARB 0x2001 - WGL_DRAW_TO_BITMAP_ARB 0x2002 - WGL_ACCELERATION_ARB 0x2003 - WGL_NEED_PALETTE_ARB 0x2004 - WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 - WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 - WGL_SWAP_METHOD_ARB 0x2007 - WGL_NUMBER_OVERLAYS_ARB 0x2008 - WGL_NUMBER_UNDERLAYS_ARB 0x2009 - WGL_TRANSPARENT_ARB 0x200A - WGL_SHARE_DEPTH_ARB 0x200C - WGL_SHARE_STENCIL_ARB 0x200D - WGL_SHARE_ACCUM_ARB 0x200E - WGL_SUPPORT_GDI_ARB 0x200F - WGL_SUPPORT_OPENGL_ARB 0x2010 - WGL_DOUBLE_BUFFER_ARB 0x2011 - WGL_STEREO_ARB 0x2012 - WGL_PIXEL_TYPE_ARB 0x2013 - WGL_COLOR_BITS_ARB 0x2014 - WGL_RED_BITS_ARB 0x2015 - WGL_RED_SHIFT_ARB 0x2016 - WGL_GREEN_BITS_ARB 0x2017 - WGL_GREEN_SHIFT_ARB 0x2018 - WGL_BLUE_BITS_ARB 0x2019 - WGL_BLUE_SHIFT_ARB 0x201A - WGL_ALPHA_BITS_ARB 0x201B - WGL_ALPHA_SHIFT_ARB 0x201C - WGL_ACCUM_BITS_ARB 0x201D - WGL_ACCUM_RED_BITS_ARB 0x201E - WGL_ACCUM_GREEN_BITS_ARB 0x201F - WGL_ACCUM_BLUE_BITS_ARB 0x2020 - WGL_ACCUM_ALPHA_BITS_ARB 0x2021 - WGL_DEPTH_BITS_ARB 0x2022 - WGL_STENCIL_BITS_ARB 0x2023 - WGL_AUX_BUFFERS_ARB 0x2024 - WGL_NO_ACCELERATION_ARB 0x2025 - WGL_GENERIC_ACCELERATION_ARB 0x2026 - WGL_FULL_ACCELERATION_ARB 0x2027 - WGL_SWAP_EXCHANGE_ARB 0x2028 - WGL_SWAP_COPY_ARB 0x2029 - WGL_SWAP_UNDEFINED_ARB 0x202A - WGL_TYPE_RGBA_ARB 0x202B - WGL_TYPE_COLORINDEX_ARB 0x202C - WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 - WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 - WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 - WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A - WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B - BOOL wglChoosePixelFormatARB (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats) - BOOL wglGetPixelFormatAttribfvARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT *pfValues) - BOOL wglGetPixelFormatAttribivARB (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int *piValues) diff --git a/Externals/GLew/auto/extensions/WGL_ARB_pixel_format_float b/Externals/GLew/auto/extensions/WGL_ARB_pixel_format_float deleted file mode 100644 index f45294cafb..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_pixel_format_float +++ /dev/null @@ -1,4 +0,0 @@ -WGL_ARB_pixel_format_float -http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt -WGL_ARB_pixel_format_float - WGL_TYPE_RGBA_FLOAT_ARB 0x21A0 diff --git a/Externals/GLew/auto/extensions/WGL_ARB_render_texture b/Externals/GLew/auto/extensions/WGL_ARB_render_texture deleted file mode 100644 index 7821263ad1..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ARB_render_texture +++ /dev/null @@ -1,39 +0,0 @@ -WGL_ARB_render_texture -http://www.opengl.org/registry/specs/ARB/wgl_render_texture.txt -WGL_ARB_render_texture - WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070 - WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071 - WGL_TEXTURE_FORMAT_ARB 0x2072 - WGL_TEXTURE_TARGET_ARB 0x2073 - WGL_MIPMAP_TEXTURE_ARB 0x2074 - WGL_TEXTURE_RGB_ARB 0x2075 - WGL_TEXTURE_RGBA_ARB 0x2076 - WGL_NO_TEXTURE_ARB 0x2077 - WGL_TEXTURE_CUBE_MAP_ARB 0x2078 - WGL_TEXTURE_1D_ARB 0x2079 - WGL_TEXTURE_2D_ARB 0x207A - WGL_MIPMAP_LEVEL_ARB 0x207B - WGL_CUBE_MAP_FACE_ARB 0x207C - WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D - WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E - WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F - WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080 - WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081 - WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082 - WGL_FRONT_LEFT_ARB 0x2083 - WGL_FRONT_RIGHT_ARB 0x2084 - WGL_BACK_LEFT_ARB 0x2085 - WGL_BACK_RIGHT_ARB 0x2086 - WGL_AUX0_ARB 0x2087 - WGL_AUX1_ARB 0x2088 - WGL_AUX2_ARB 0x2089 - WGL_AUX3_ARB 0x208A - WGL_AUX4_ARB 0x208B - WGL_AUX5_ARB 0x208C - WGL_AUX6_ARB 0x208D - WGL_AUX7_ARB 0x208E - WGL_AUX8_ARB 0x208F - WGL_AUX9_ARB 0x2090 - BOOL wglBindTexImageARB (HPBUFFERARB hPbuffer, int iBuffer) - BOOL wglReleaseTexImageARB (HPBUFFERARB hPbuffer, int iBuffer) - BOOL wglSetPbufferAttribARB (HPBUFFERARB hPbuffer, const int* piAttribList) diff --git a/Externals/GLew/auto/extensions/WGL_ATI_pixel_format_float b/Externals/GLew/auto/extensions/WGL_ATI_pixel_format_float deleted file mode 100644 index ba6f51a32a..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ATI_pixel_format_float +++ /dev/null @@ -1,6 +0,0 @@ -WGL_ATI_pixel_format_float -http://www.opengl.org/registry/specs/ATI/pixel_format_float.txt -WGL_ATI_pixel_format_float - WGL_TYPE_RGBA_FLOAT_ATI 0x21A0 - GL_RGBA_FLOAT_MODE_ATI 0x8820 - GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 diff --git a/Externals/GLew/auto/extensions/WGL_ATI_render_texture_rectangle b/Externals/GLew/auto/extensions/WGL_ATI_render_texture_rectangle deleted file mode 100644 index 55df114d31..0000000000 --- a/Externals/GLew/auto/extensions/WGL_ATI_render_texture_rectangle +++ /dev/null @@ -1,4 +0,0 @@ -WGL_ATI_render_texture_rectangle - -WGL_ATI_render_texture_rectangle - WGL_TEXTURE_RECTANGLE_ATI 0x21A5 diff --git a/Externals/GLew/auto/extensions/WGL_EXT_depth_float b/Externals/GLew/auto/extensions/WGL_EXT_depth_float deleted file mode 100644 index f8f3efed67..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_depth_float +++ /dev/null @@ -1,4 +0,0 @@ -WGL_EXT_depth_float -http://www.opengl.org/registry/specs/EXT/wgl_depth_float.txt -WGL_EXT_depth_float - WGL_DEPTH_FLOAT_EXT 0x2040 diff --git a/Externals/GLew/auto/extensions/WGL_EXT_display_color_table b/Externals/GLew/auto/extensions/WGL_EXT_display_color_table deleted file mode 100644 index 4de4a3d690..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_display_color_table +++ /dev/null @@ -1,7 +0,0 @@ -WGL_EXT_display_color_table -http://www.opengl.org/registry/specs/EXT/wgl_display_color_table.txt -WGL_EXT_display_color_table - GLboolean wglBindDisplayColorTableEXT (GLushort id) - GLboolean wglCreateDisplayColorTableEXT (GLushort id) - void wglDestroyDisplayColorTableEXT (GLushort id) - GLboolean wglLoadDisplayColorTableEXT (GLushort* table, GLuint length) diff --git a/Externals/GLew/auto/extensions/WGL_EXT_extensions_string b/Externals/GLew/auto/extensions/WGL_EXT_extensions_string deleted file mode 100644 index 1f0cda0f1f..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_extensions_string +++ /dev/null @@ -1,4 +0,0 @@ -WGL_EXT_extensions_string -http://www.opengl.org/registry/specs/EXT/wgl_extensions_string.txt -WGL_EXT_extensions_string - const char* wglGetExtensionsStringEXT (void) diff --git a/Externals/GLew/auto/extensions/WGL_EXT_framebuffer_sRGB b/Externals/GLew/auto/extensions/WGL_EXT_framebuffer_sRGB deleted file mode 100644 index e4a40322fd..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_framebuffer_sRGB +++ /dev/null @@ -1,4 +0,0 @@ -WGL_EXT_framebuffer_sRGB -http://developer.download.nvidia.com/opengl/specs/GL_EXT_framebuffer_sRGB.txt -WGL_EXT_framebuffer_sRGB - WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9 diff --git a/Externals/GLew/auto/extensions/WGL_EXT_make_current_read b/Externals/GLew/auto/extensions/WGL_EXT_make_current_read deleted file mode 100644 index d92c307cfd..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_make_current_read +++ /dev/null @@ -1,6 +0,0 @@ -WGL_EXT_make_current_read -http://www.opengl.org/registry/specs/EXT/wgl_make_current_read.txt -WGL_EXT_make_current_read - HDC wglGetCurrentReadDCEXT (VOID) - BOOL wglMakeContextCurrentEXT (HDC hDrawDC, HDC hReadDC, HGLRC hglrc) - ERROR_INVALID_PIXEL_TYPE_EXT 0x2043 diff --git a/Externals/GLew/auto/extensions/WGL_EXT_multisample b/Externals/GLew/auto/extensions/WGL_EXT_multisample deleted file mode 100644 index e419a3312f..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_multisample +++ /dev/null @@ -1,5 +0,0 @@ -WGL_EXT_multisample -http://www.opengl.org/registry/specs/EXT/wgl_multisample.txt -WGL_EXT_multisample - WGL_SAMPLE_BUFFERS_EXT 0x2041 - WGL_SAMPLES_EXT 0x2042 diff --git a/Externals/GLew/auto/extensions/WGL_EXT_pbuffer b/Externals/GLew/auto/extensions/WGL_EXT_pbuffer deleted file mode 100644 index d32a950382..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_pbuffer +++ /dev/null @@ -1,18 +0,0 @@ -WGL_EXT_pbuffer -http://www.opengl.org/registry/specs/EXT/wgl_pbuffer.txt -WGL_EXT_pbuffer - WGL_DRAW_TO_PBUFFER_EXT 0x202D - WGL_MAX_PBUFFER_PIXELS_EXT 0x202E - WGL_MAX_PBUFFER_WIDTH_EXT 0x202F - WGL_MAX_PBUFFER_HEIGHT_EXT 0x2030 - WGL_OPTIMAL_PBUFFER_WIDTH_EXT 0x2031 - WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 0x2032 - WGL_PBUFFER_LARGEST_EXT 0x2033 - WGL_PBUFFER_WIDTH_EXT 0x2034 - WGL_PBUFFER_HEIGHT_EXT 0x2035 - HPBUFFEREXT wglCreatePbufferEXT (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList) - BOOL wglDestroyPbufferEXT (HPBUFFEREXT hPbuffer) - HDC wglGetPbufferDCEXT (HPBUFFEREXT hPbuffer) - BOOL wglQueryPbufferEXT (HPBUFFEREXT hPbuffer, int iAttribute, int* piValue) - int wglReleasePbufferDCEXT (HPBUFFEREXT hPbuffer, HDC hDC) - DECLARE_HANDLE(HPBUFFEREXT); diff --git a/Externals/GLew/auto/extensions/WGL_EXT_pixel_format b/Externals/GLew/auto/extensions/WGL_EXT_pixel_format deleted file mode 100644 index 6b189332fa..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_pixel_format +++ /dev/null @@ -1,51 +0,0 @@ -WGL_EXT_pixel_format -http://www.opengl.org/registry/specs/EXT/wgl_pixel_format.txt -WGL_EXT_pixel_format - WGL_NUMBER_PIXEL_FORMATS_EXT 0x2000 - WGL_DRAW_TO_WINDOW_EXT 0x2001 - WGL_DRAW_TO_BITMAP_EXT 0x2002 - WGL_ACCELERATION_EXT 0x2003 - WGL_NEED_PALETTE_EXT 0x2004 - WGL_NEED_SYSTEM_PALETTE_EXT 0x2005 - WGL_SWAP_LAYER_BUFFERS_EXT 0x2006 - WGL_SWAP_METHOD_EXT 0x2007 - WGL_NUMBER_OVERLAYS_EXT 0x2008 - WGL_NUMBER_UNDERLAYS_EXT 0x2009 - WGL_TRANSPARENT_EXT 0x200A - WGL_TRANSPARENT_VALUE_EXT 0x200B - WGL_SHARE_DEPTH_EXT 0x200C - WGL_SHARE_STENCIL_EXT 0x200D - WGL_SHARE_ACCUM_EXT 0x200E - WGL_SUPPORT_GDI_EXT 0x200F - WGL_SUPPORT_OPENGL_EXT 0x2010 - WGL_DOUBLE_BUFFER_EXT 0x2011 - WGL_STEREO_EXT 0x2012 - WGL_PIXEL_TYPE_EXT 0x2013 - WGL_COLOR_BITS_EXT 0x2014 - WGL_RED_BITS_EXT 0x2015 - WGL_RED_SHIFT_EXT 0x2016 - WGL_GREEN_BITS_EXT 0x2017 - WGL_GREEN_SHIFT_EXT 0x2018 - WGL_BLUE_BITS_EXT 0x2019 - WGL_BLUE_SHIFT_EXT 0x201A - WGL_ALPHA_BITS_EXT 0x201B - WGL_ALPHA_SHIFT_EXT 0x201C - WGL_ACCUM_BITS_EXT 0x201D - WGL_ACCUM_RED_BITS_EXT 0x201E - WGL_ACCUM_GREEN_BITS_EXT 0x201F - WGL_ACCUM_BLUE_BITS_EXT 0x2020 - WGL_ACCUM_ALPHA_BITS_EXT 0x2021 - WGL_DEPTH_BITS_EXT 0x2022 - WGL_STENCIL_BITS_EXT 0x2023 - WGL_AUX_BUFFERS_EXT 0x2024 - WGL_NO_ACCELERATION_EXT 0x2025 - WGL_GENERIC_ACCELERATION_EXT 0x2026 - WGL_FULL_ACCELERATION_EXT 0x2027 - WGL_SWAP_EXCHANGE_EXT 0x2028 - WGL_SWAP_COPY_EXT 0x2029 - WGL_SWAP_UNDEFINED_EXT 0x202A - WGL_TYPE_RGBA_EXT 0x202B - WGL_TYPE_COLORINDEX_EXT 0x202C - BOOL wglChoosePixelFormatEXT (HDC hdc, const int* piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats) - BOOL wglGetPixelFormatAttribfvEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, FLOAT *pfValues) - BOOL wglGetPixelFormatAttribivEXT (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int* piAttributes, int *piValues) diff --git a/Externals/GLew/auto/extensions/WGL_EXT_pixel_format_packed_float b/Externals/GLew/auto/extensions/WGL_EXT_pixel_format_packed_float deleted file mode 100644 index 30925fc5da..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_pixel_format_packed_float +++ /dev/null @@ -1,4 +0,0 @@ -WGL_EXT_pixel_format_packed_float -http://developer.download.nvidia.com/opengl/specs/GL_EXT_packed_float.txt -WGL_EXT_pixel_format_packed_float - WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8 diff --git a/Externals/GLew/auto/extensions/WGL_EXT_swap_control b/Externals/GLew/auto/extensions/WGL_EXT_swap_control deleted file mode 100644 index c3d63f5181..0000000000 --- a/Externals/GLew/auto/extensions/WGL_EXT_swap_control +++ /dev/null @@ -1,5 +0,0 @@ -WGL_EXT_swap_control -http://www.opengl.org/registry/specs/EXT/wgl_swap_control.txt -WGL_EXT_swap_control - int wglGetSwapIntervalEXT (void) - BOOL wglSwapIntervalEXT (int interval) diff --git a/Externals/GLew/auto/extensions/WGL_I3D_digital_video_control b/Externals/GLew/auto/extensions/WGL_I3D_digital_video_control deleted file mode 100644 index 6dff1d3f62..0000000000 --- a/Externals/GLew/auto/extensions/WGL_I3D_digital_video_control +++ /dev/null @@ -1,9 +0,0 @@ -WGL_I3D_digital_video_control -http://www.opengl.org/registry/specs/I3D/wgl_digital_video_control.txt -WGL_I3D_digital_video_control - WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050 - WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 0x2051 - WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 0x2052 - WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 0x2053 - BOOL wglGetDigitalVideoParametersI3D (HDC hDC, int iAttribute, int* piValue) - BOOL wglSetDigitalVideoParametersI3D (HDC hDC, int iAttribute, const int* piValue) diff --git a/Externals/GLew/auto/extensions/WGL_I3D_gamma b/Externals/GLew/auto/extensions/WGL_I3D_gamma deleted file mode 100644 index 6df2a59ca3..0000000000 --- a/Externals/GLew/auto/extensions/WGL_I3D_gamma +++ /dev/null @@ -1,9 +0,0 @@ -WGL_I3D_gamma -http://www.opengl.org/registry/specs/I3D/wgl_gamma.txt -WGL_I3D_gamma - WGL_GAMMA_TABLE_SIZE_I3D 0x204E - WGL_GAMMA_EXCLUDE_DESKTOP_I3D 0x204F - BOOL wglGetGammaTableI3D (HDC hDC, int iEntries, USHORT* puRed, USHORT *puGreen, USHORT *puBlue) - BOOL wglGetGammaTableParametersI3D (HDC hDC, int iAttribute, int* piValue) - BOOL wglSetGammaTableI3D (HDC hDC, int iEntries, const USHORT* puRed, const USHORT *puGreen, const USHORT *puBlue) - BOOL wglSetGammaTableParametersI3D (HDC hDC, int iAttribute, const int* piValue) diff --git a/Externals/GLew/auto/extensions/WGL_I3D_genlock b/Externals/GLew/auto/extensions/WGL_I3D_genlock deleted file mode 100644 index ef6a7aa28f..0000000000 --- a/Externals/GLew/auto/extensions/WGL_I3D_genlock +++ /dev/null @@ -1,24 +0,0 @@ -WGL_I3D_genlock -http://www.opengl.org/registry/specs/I3D/wgl_genlock.txt -WGL_I3D_genlock - WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 0x2044 - WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 0x2045 - WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 0x2046 - WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 0x2047 - WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 0x2048 - WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049 - WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 0x204A - WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 0x204B - WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 0x204C - BOOL wglDisableGenlockI3D (HDC hDC) - BOOL wglEnableGenlockI3D (HDC hDC) - BOOL wglGenlockSampleRateI3D (HDC hDC, UINT uRate) - BOOL wglGenlockSourceDelayI3D (HDC hDC, UINT uDelay) - BOOL wglGenlockSourceEdgeI3D (HDC hDC, UINT uEdge) - BOOL wglGenlockSourceI3D (HDC hDC, UINT uSource) - BOOL wglGetGenlockSampleRateI3D (HDC hDC, UINT* uRate) - BOOL wglGetGenlockSourceDelayI3D (HDC hDC, UINT* uDelay) - BOOL wglGetGenlockSourceEdgeI3D (HDC hDC, UINT* uEdge) - BOOL wglGetGenlockSourceI3D (HDC hDC, UINT* uSource) - BOOL wglIsEnabledGenlockI3D (HDC hDC, BOOL* pFlag) - BOOL wglQueryGenlockMaxSourceDelayI3D (HDC hDC, UINT* uMaxLineDelay, UINT *uMaxPixelDelay) diff --git a/Externals/GLew/auto/extensions/WGL_I3D_image_buffer b/Externals/GLew/auto/extensions/WGL_I3D_image_buffer deleted file mode 100644 index fa4a66db9c..0000000000 --- a/Externals/GLew/auto/extensions/WGL_I3D_image_buffer +++ /dev/null @@ -1,9 +0,0 @@ -WGL_I3D_image_buffer -http://www.opengl.org/registry/specs/I3D/wgl_image_buffer.txt -WGL_I3D_image_buffer - WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 0x00000001 - WGL_IMAGE_BUFFER_LOCK_I3D 0x00000002 - BOOL wglAssociateImageBufferEventsI3D (HDC hdc, HANDLE* pEvent, LPVOID *pAddress, DWORD *pSize, UINT count) - LPVOID wglCreateImageBufferI3D (HDC hDC, DWORD dwSize, UINT uFlags) - BOOL wglDestroyImageBufferI3D (HDC hDC, LPVOID pAddress) - BOOL wglReleaseImageBufferEventsI3D (HDC hdc, LPVOID* pAddress, UINT count) diff --git a/Externals/GLew/auto/extensions/WGL_I3D_swap_frame_lock b/Externals/GLew/auto/extensions/WGL_I3D_swap_frame_lock deleted file mode 100644 index 76cf91f9c3..0000000000 --- a/Externals/GLew/auto/extensions/WGL_I3D_swap_frame_lock +++ /dev/null @@ -1,7 +0,0 @@ -WGL_I3D_swap_frame_lock -http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_lock.txt -WGL_I3D_swap_frame_lock - BOOL wglDisableFrameLockI3D (VOID) - BOOL wglEnableFrameLockI3D (VOID) - BOOL wglIsEnabledFrameLockI3D (BOOL* pFlag) - BOOL wglQueryFrameLockMasterI3D (BOOL* pFlag) diff --git a/Externals/GLew/auto/extensions/WGL_I3D_swap_frame_usage b/Externals/GLew/auto/extensions/WGL_I3D_swap_frame_usage deleted file mode 100644 index 59546a55e5..0000000000 --- a/Externals/GLew/auto/extensions/WGL_I3D_swap_frame_usage +++ /dev/null @@ -1,7 +0,0 @@ -WGL_I3D_swap_frame_usage -http://www.opengl.org/registry/specs/I3D/wgl_swap_frame_usage.txt -WGL_I3D_swap_frame_usage - BOOL wglBeginFrameTrackingI3D (void) - BOOL wglEndFrameTrackingI3D (void) - BOOL wglGetFrameUsageI3D (float* pUsage) - BOOL wglQueryFrameTrackingI3D (DWORD* pFrameCount, DWORD *pMissedFrames, float *pLastMissedUsage) diff --git a/Externals/GLew/auto/extensions/WGL_NV_copy_image b/Externals/GLew/auto/extensions/WGL_NV_copy_image deleted file mode 100644 index 8b2a91910b..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_copy_image +++ /dev/null @@ -1,4 +0,0 @@ -WGL_NV_copy_image -http://www.opengl.org/registry/specs/NV/copy_image.txt -WGL_NV_copy_image - BOOL wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) diff --git a/Externals/GLew/auto/extensions/WGL_NV_float_buffer b/Externals/GLew/auto/extensions/WGL_NV_float_buffer deleted file mode 100644 index 508e82ee85..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_float_buffer +++ /dev/null @@ -1,12 +0,0 @@ -WGL_NV_float_buffer -http://www.opengl.org/registry/specs/NV/float_buffer.txt -WGL_NV_float_buffer - WGL_FLOAT_COMPONENTS_NV 0x20B0 - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1 - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2 - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3 - WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4 - WGL_TEXTURE_FLOAT_R_NV 0x20B5 - WGL_TEXTURE_FLOAT_RG_NV 0x20B6 - WGL_TEXTURE_FLOAT_RGB_NV 0x20B7 - WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8 diff --git a/Externals/GLew/auto/extensions/WGL_NV_gpu_affinity b/Externals/GLew/auto/extensions/WGL_NV_gpu_affinity deleted file mode 100644 index f722204cd7..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_gpu_affinity +++ /dev/null @@ -1,12 +0,0 @@ -WGL_NV_gpu_affinity -http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt -WGL_NV_gpu_affinity - WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV 0x20D0 - WGL_ERROR_MISSING_AFFINITY_MASK_NV 0x20D1 - BOOL wglEnumGpusNV (UINT iGpuIndex, HGPUNV *phGpu) - BOOL wglEnumGpuDevicesNV (HGPUNV hGpu, UINT iDeviceIndex, PGPU_DEVICE lpGpuDevice) - HDC wglCreateAffinityDCNV (const HGPUNV *phGpuList) - BOOL wglEnumGpusFromAffinityDCNV (HDC hAffinityDC, UINT iGpuIndex, HGPUNV *hGpu) - BOOL wglDeleteDCNV (HDC hdc) - DECLARE_HANDLE(HGPUNV); - typedef struct _GPU_DEVICE { DWORD cb; CHAR DeviceName[32]; CHAR DeviceString[128]; DWORD Flags; RECT rcVirtualScreen; } GPU_DEVICE, *PGPU_DEVICE; diff --git a/Externals/GLew/auto/extensions/WGL_NV_present_video b/Externals/GLew/auto/extensions/WGL_NV_present_video deleted file mode 100644 index 4e62467984..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_present_video +++ /dev/null @@ -1,8 +0,0 @@ -WGL_NV_present_video -http://www.opengl.org/registry/specs/NV/present_video.txt -WGL_NV_present_video - WGL_NUM_VIDEO_SLOTS_NV 0x20F0 - BOOL wglBindVideoDeviceNV (HDC hDc, unsigned int uVideoSlot, HVIDEOOUTPUTDEVICENV hVideoDevice, const int* piAttribList) - int wglEnumerateVideoDevicesNV (HDC hDc, HVIDEOOUTPUTDEVICENV* phDeviceList) - BOOL wglQueryCurrentContextNV (int iAttribute, int* piValue) - DECLARE_HANDLE(HVIDEOOUTPUTDEVICENV); diff --git a/Externals/GLew/auto/extensions/WGL_NV_render_depth_texture b/Externals/GLew/auto/extensions/WGL_NV_render_depth_texture deleted file mode 100644 index c2e359af44..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_render_depth_texture +++ /dev/null @@ -1,9 +0,0 @@ -WGL_NV_render_depth_texture -http://www.opengl.org/registry/specs/NV/render_depth_texture.txt -WGL_NV_render_depth_texture - WGL_NO_TEXTURE_ARB 0x2077 - WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3 - WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4 - WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5 - WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6 - WGL_DEPTH_COMPONENT_NV 0x20A7 diff --git a/Externals/GLew/auto/extensions/WGL_NV_render_texture_rectangle b/Externals/GLew/auto/extensions/WGL_NV_render_texture_rectangle deleted file mode 100644 index ada7e7ef5f..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_render_texture_rectangle +++ /dev/null @@ -1,6 +0,0 @@ -WGL_NV_render_texture_rectangle -http://www.opengl.org/registry/specs/NV/render_texture_rectangle.txt -WGL_NV_render_texture_rectangle - WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0 - WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1 - WGL_TEXTURE_RECTANGLE_NV 0x20A2 diff --git a/Externals/GLew/auto/extensions/WGL_NV_swap_group b/Externals/GLew/auto/extensions/WGL_NV_swap_group deleted file mode 100644 index c114a4954c..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_swap_group +++ /dev/null @@ -1,9 +0,0 @@ -WGL_NV_swap_group -http://www.opengl.org/registry/specs/NV/wgl_swap_group.txt -WGL_NV_swap_group - BOOL wglBindSwapBarrierNV (GLuint group, GLuint barrier) - BOOL wglJoinSwapGroupNV (HDC hDC, GLuint group) - BOOL wglQueryFrameCountNV (HDC hDC, GLuint* count) - BOOL wglQueryMaxSwapGroupsNV (HDC hDC, GLuint* maxGroups, GLuint *maxBarriers) - BOOL wglQuerySwapGroupNV (HDC hDC, GLuint* group, GLuint *barrier) - BOOL wglResetFrameCountNV (HDC hDC) diff --git a/Externals/GLew/auto/extensions/WGL_NV_vertex_array_range b/Externals/GLew/auto/extensions/WGL_NV_vertex_array_range deleted file mode 100644 index ca22d31a3e..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_vertex_array_range +++ /dev/null @@ -1,5 +0,0 @@ -WGL_NV_vertex_array_range -http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt -WGL_NV_vertex_array_range - void * wglAllocateMemoryNV (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority) - void wglFreeMemoryNV (void *pointer) diff --git a/Externals/GLew/auto/extensions/WGL_NV_video_output b/Externals/GLew/auto/extensions/WGL_NV_video_output deleted file mode 100644 index 87f243f649..0000000000 --- a/Externals/GLew/auto/extensions/WGL_NV_video_output +++ /dev/null @@ -1,23 +0,0 @@ -WGL_NV_video_output -http://www.opengl.org/registry/specs/NV/wgl_video_out.txt -WGL_NV_video_output - WGL_BIND_TO_VIDEO_RGB_NV 0x20C0 - WGL_BIND_TO_VIDEO_RGBA_NV 0x20C1 - WGL_BIND_TO_VIDEO_RGB_AND_DEPTH_NV 0x20C2 - WGL_VIDEO_OUT_COLOR_NV 0x20C3 - WGL_VIDEO_OUT_ALPHA_NV 0x20C4 - WGL_VIDEO_OUT_DEPTH_NV 0x20C5 - WGL_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 - WGL_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 - WGL_VIDEO_OUT_FRAME 0x20C8 - WGL_VIDEO_OUT_FIELD_1 0x20C9 - WGL_VIDEO_OUT_FIELD_2 0x20CA - WGL_VIDEO_OUT_STACKED_FIELDS_1_2 0x20CB - WGL_VIDEO_OUT_STACKED_FIELDS_2_1 0x20CC - BOOL wglBindVideoImageNV (HPVIDEODEV hVideoDevice, HPBUFFERARB hPbuffer, int iVideoBuffer) - BOOL wglGetVideoDeviceNV (HDC hDC, int numDevices, HPVIDEODEV* hVideoDevice) - BOOL wglGetVideoInfoNV (HPVIDEODEV hpVideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo) - BOOL wglReleaseVideoDeviceNV (HPVIDEODEV hVideoDevice) - BOOL wglReleaseVideoImageNV (HPBUFFERARB hPbuffer, int iVideoBuffer) - BOOL wglSendPbufferToVideoNV (HPBUFFERARB hPbuffer, int iBufferType, unsigned long* pulCounterPbuffer, BOOL bBlock) - DECLARE_HANDLE(HPVIDEODEV); diff --git a/Externals/GLew/auto/extensions/WGL_OML_sync_control b/Externals/GLew/auto/extensions/WGL_OML_sync_control deleted file mode 100644 index d3265c8c7d..0000000000 --- a/Externals/GLew/auto/extensions/WGL_OML_sync_control +++ /dev/null @@ -1,9 +0,0 @@ -WGL_OML_sync_control -http://www.opengl.org/registry/specs/OML/wgl_sync_control.txt -WGL_OML_sync_control - BOOL wglGetMscRateOML (HDC hdc, INT32* numerator, INT32 *denominator) - BOOL wglGetSyncValuesOML (HDC hdc, INT64* ust, INT64 *msc, INT64 *sbc) - INT64 wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder) - INT64 wglSwapLayerBuffersMscOML (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder) - BOOL wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64* ust, INT64 *msc, INT64 *sbc) - BOOL wglWaitForSbcOML (HDC hdc, INT64 target_sbc, INT64* ust, INT64 *msc, INT64 *sbc) diff --git a/Externals/GLew/auto/lib/OpenGL/Spec.pm b/Externals/GLew/auto/lib/OpenGL/Spec.pm deleted file mode 100644 index 1311b394dd..0000000000 --- a/Externals/GLew/auto/lib/OpenGL/Spec.pm +++ /dev/null @@ -1,202 +0,0 @@ -package OpenGL::Spec; - -# A very simple task further complicated by the fact that some people -# can't read, others use legacy Operating Systems, and others don't give -# a damn about using a halfway decent text editor. -# -# The code to parse the _template_ is so simple and straightforward... -# yet the code to parse the real spec files is this mess. - -my %typemap = ( - bitfield => "GLbitfield", - boolean => "GLboolean", - # fsck up in EXT_vertex_array - Boolean => "GLboolean", - byte => "GLbyte", - clampd => "GLclampd", - clampf => "GLclampf", - double => "GLdouble", - enum => "GLenum", - # Intel fsck up - Glenum => "GLenum", - float => "GLfloat", - half => "GLuint", - int => "GLint", - short => "GLshort", - sizei => "GLsizei", - ubyte => "GLubyte", - uint => "GLuint", - ushort => "GLushort", - DMbuffer => "void *", - - # ARB VBO introduces these - sizeiptrARB => "GLsizeiptrARB", - intptrARB => "GLintptrARB", - - # ARB shader objects introduces these, charARB is at least 8 bits, - # handleARB is at least 32 bits - charARB => "GLcharARB", - handleARB => "GLhandleARB", - - # GLX 1.3 defines new types which might not be available at compile time - #GLXFBConfig => "void*", - #GLXFBConfigID => "XID", - #GLXContextID => "XID", - #GLXWindow => "XID", - #GLXPbuffer => "XID", - - # Weird stuff for some SGIX extension - #GLXFBConfigSGIX => "void*", - #GLXFBConfigIDSGIX => "XID", -); - -my %void_typemap = ( - void => "GLvoid", -); - -my $section_re = qr{^[A-Z]}; -my $function_re = qr{^(.+) ([a-z][a-z0-9_]*) \((.+)\)$}i; -my $token_re = qr{^([A-Z0-9][A-Z0-9_]*):?\s+((?:0x)?[0-9A-F]+)(.*)$}; -my $prefix_re = qr{^(?:AGL | GLX | WGL)_}x; -my $eofnc_re = qr{ \);?$ | ^$ }x; -my $function_re = qr{^(.+) ([a-z][a-z0-9_]*) \((.+)\)$}i; -my $prefix_re = qr{^(?:gl | agl | wgl | glX)}x; -my $types_re = __compile_wordlist_cap(keys %typemap); -my $voidtype_re = __compile_wordlist_cap(keys %void_typemap); - -sub new($) -{ - my $class = shift; - my $self = { section => {} }; - $self->{filename} = shift; - local $/; - open(my $fh, "<$self->{filename}") or die "Can't open $self->{filename}"; - my $content = <$fh>; - my $section; - my $s = $self->{section}; - - $content =~ s{[ \t]+$}{}mg; - # Join lines that end with a word-character and ones that *begin* - # with one - $content =~ s{(\w)\n(\w)}{$1 $2}sg; - - foreach (split /\n/, $content) - { - if (/$section_re/) - { - chomp; - s/^Name String$/Name Strings/; # Fix common mistake - $section = $_; - $s->{$section} = ""; - } - elsif (defined $section and exists $s->{$section}) - { - s{^\s+}{}mg; # Remove leading whitespace - $s->{$section} .= $_ . "\n"; - } - } - - $s->{$_} =~ s{(?:^\n+|\n+$)}{}s foreach keys %$s; - - bless $self, $class; -} - -sub sections() -{ - my $self = shift; - keys %{$self->{section}}; -} - -sub name() -{ - my $self = shift; - $self->{section}->{Name}; -} - -sub name_strings() -{ - my $self = shift; - split("\n", $self->{section}->{"Name Strings"}); -} - -sub tokens() -{ - my $self = shift; - my %tokens = (); - foreach (split /\n/, $self->{section}->{"New Tokens"}) - { - next unless /$token_re/; - my ($name, $value) = ($1, $2); - $name =~ s{^}{GL_} unless $name =~ /$prefix_re/; - $tokens{$name} = $value; - } - - return %tokens; -} - -sub functions() -{ - my $self = shift; - my %functions = (); - my @fnc = (); - - foreach (split /\n/, $self->{section}->{"New Procedures and Functions"}) - { - push @fnc, $_ unless ($_ eq "" or $_ eq "None"); - - next unless /$eofnc_re/; - - if (__normalize_proto(@fnc) =~ /$function_re/) - { - my ($return, $name, $parms) = ($1, $2, $3); - if (!__ignore_function($name, $extname)) - { - $name =~ s/^/gl/ unless $name =~ /$prefix_re/; - if ($name =~ /^gl/ && $name !~ /^glX/) - { - $return =~ s/$types_re/$typemap{$1}/g; - $return =~ s/$voidtype_re/$void_typemap{$1}/g; - $parms =~ s/$types_re/$typemap{$1}/g; - $parms =~ s/$voidtype_re/$void_typemap{$1}/g; - } - $functions{$name} = { - rtype => $return, - parms => $parms, - }; - } - } - @fnc = (); - } - - return %functions; -} - -sub __normalize_proto -{ - local $_ = join(" ", @_); - s/\s+/ /g; # multiple whitespace -> single space - s/\s*\(\s*/ \(/; # exactly one space before ( and none after - s/\s*\)\s*/\)/; # no after before or after ) - s/\s*\*([a-zA-Z])/\* $1/; # "* identifier" XXX: g missing? - s/\*wgl/\* wgl/; # "* wgl" XXX: why doesn't the - s/\*glX/\* glX/; # "* glX" previous re catch this? - s/\.\.\./void/; # ... -> void - s/;$//; # remove ; at the end of the line - return $_; -} - -sub __ignore_function -{ - return 0; -} - -sub __compile_regex -{ - my $regex = join('', @_); - return qr/$regex/ -} - -sub __compile_wordlist_cap -{ - __compile_regex('\b(', join('|', @_), ')\b'); -} diff --git a/Externals/GLew/auto/src/footer.html b/Externals/GLew/auto/src/footer.html deleted file mode 100644 index 3adb9c14cb..0000000000 --- a/Externals/GLew/auto/src/footer.html +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/Externals/GLew/auto/src/glew.rc b/Externals/GLew/auto/src/glew.rc deleted file mode 100644 index 5674cc9cd5..0000000000 --- a/Externals/GLew/auto/src/glew.rc +++ /dev/null @@ -1,77 +0,0 @@ - -#include - -#ifdef GLEW_MX -# ifdef GLEW_STATIC -# ifdef _DEBUG -# define FILENAME "glew32mxsd.dll" -# else -# define FILENAME "glew32mxs.dll" -# endif -# else -# ifdef _DEBUG -# define FILENAME "glew32mxd.dll" -# else -# define FILENAME "glew32mx.dll" -# endif -# endif -#else -# ifdef GLEW_STATIC -# ifdef _DEBUG -# define FILENAME "glew32sd.dll" -# else -# define FILENAME "glew32s.dll" -# endif -# else -# ifdef _DEBUG -# define FILENAME "glew32d.dll" -# else -# define FILENAME "glew32.dll" -# endif -# endif -#endif - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// -VS_VERSION_INFO VERSIONINFO -FILEVERSION GLEW_MAJOR, GLEW_MINOR, GLEW_MICRO, 0 -PRODUCTVERSION GLEW_MAJOR, GLEW_MINOR, GLEW_MICRO, 0 -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG -FILEFLAGS VS_FF_DEBUG -#else -FILEFLAGS 0x0L -#endif -FILEOS VOS__WINDOWS32 -#ifdef GLEW_STATIC -FILETYPE VFT_STATIC_LIB -#else -FILETYPE VFT_DLL -#endif -FILESUBTYPE VFT2_UNKNOWN -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "The OpenGL Extension Wrangler Library\r\nCopyright (C) 2002-2008, Milan Ikits \r\nCopyright (C) 2002-2008, Marcelo E. Magallon \r\nCopyright (C) 2002, Lev Povalahev\r\nAll rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without \r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, \r\n this list of conditions and the following disclaimer.\r\n* Redistributions in binary form must reproduce the above copyright notice, \r\n this list of conditions and the following disclaimer in the documentation \r\n and/or other materials provided with the distribution.\r\n* The name of the author may be used to endorse or promote products \r\n derived from this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ''AS IS'' \r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\nTHE POSSIBILITY OF SUCH DAMAGE.\r\n\r\n\r\nMesa 3-D graphics library\r\n\r\nVersion: 7.0\r\n\r\nCopyright (C) 1999-2007 Brian Paul All Rights Reserved.\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a\r\ncopy of this software and associated documentation files (the ''Software''),\r\nto deal in the Software without restriction, including without limitation\r\nthe rights to use, copy, modify, merge, publish, distribute, sublicense,\r\nand/or sell copies of the Software, and to permit persons to whom the\r\nSoftware is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included\r\nin all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r\nBRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\nAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n\r\n\r\nCopyright (c) 2007 The Khronos Group Inc.\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a\r\ncopy of this software and/or associated documentation files (the\r\n''Materials''), to deal in the Materials without restriction, including\r\nwithout limitation the rights to use, copy, modify, merge, publish,\r\ndistribute, sublicense, and/or sell copies of the Materials, and to\r\npermit persons to whom the Materials are furnished to do so, subject to\r\nthe following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included\r\nin all copies or substantial portions of the Materials.\r\n\r\nTHE MATERIALS ARE PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\nMATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.\0" - VALUE "CompanyName", "\0" - VALUE "FileDescription", "The OpenGL Extension Wrangler Library\0" - VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0" - VALUE "InternalName", "GLEW\0" - VALUE "LegalCopyright", " 2002-2008 Milan Ikits & Marcelo Magallon\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", FILENAME "\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "The OpenGL Extension Wrangler Library\0" - VALUE "ProductVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/Externals/GLew/auto/src/glew_head.c b/Externals/GLew/auto/src/glew_head.c deleted file mode 100644 index 19afd9386e..0000000000 --- a/Externals/GLew/auto/src/glew_head.c +++ /dev/null @@ -1,207 +0,0 @@ -#include -#if defined(_WIN32) -# include -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) -# include -#endif - -/* - * Define glewGetContext and related helper macros. - */ -#ifdef GLEW_MX -# define glewGetContext() ctx -# ifdef _WIN32 -# define GLEW_CONTEXT_ARG_DEF_INIT GLEWContext* ctx -# define GLEW_CONTEXT_ARG_VAR_INIT ctx -# define wglewGetContext() ctx -# define WGLEW_CONTEXT_ARG_DEF_INIT WGLEWContext* ctx -# define WGLEW_CONTEXT_ARG_DEF_LIST WGLEWContext* ctx -# else /* _WIN32 */ -# define GLEW_CONTEXT_ARG_DEF_INIT void -# define GLEW_CONTEXT_ARG_VAR_INIT -# define glxewGetContext() ctx -# define GLXEW_CONTEXT_ARG_DEF_INIT void -# define GLXEW_CONTEXT_ARG_DEF_LIST GLXEWContext* ctx -# endif /* _WIN32 */ -# define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx -#else /* GLEW_MX */ -# define GLEW_CONTEXT_ARG_DEF_INIT void -# define GLEW_CONTEXT_ARG_VAR_INIT -# define GLEW_CONTEXT_ARG_DEF_LIST void -# define WGLEW_CONTEXT_ARG_DEF_INIT void -# define WGLEW_CONTEXT_ARG_DEF_LIST void -# define GLXEW_CONTEXT_ARG_DEF_INIT void -# define GLXEW_CONTEXT_ARG_DEF_LIST void -#endif /* GLEW_MX */ - -#if defined(__APPLE__) -#include -#include -#include - -#ifdef MAC_OS_X_VERSION_10_3 - -#include - -void* NSGLGetProcAddress (const GLubyte *name) -{ - static void* image = NULL; - if (NULL == image) - { - image = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", RTLD_LAZY); - } - return image ? dlsym(image, (const char*)name) : NULL; -} -#else - -#include - -void* NSGLGetProcAddress (const GLubyte *name) -{ - static const struct mach_header* image = NULL; - NSSymbol symbol; - char* symbolName; - if (NULL == image) - { - image = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", NSADDIMAGE_OPTION_RETURN_ON_ERROR); - } - /* prepend a '_' for the Unix C symbol mangling convention */ - symbolName = malloc(strlen((const char*)name) + 2); - strcpy(symbolName+1, (const char*)name); - symbolName[0] = '_'; - symbol = NULL; - /* if (NSIsSymbolNameDefined(symbolName)) - symbol = NSLookupAndBindSymbol(symbolName); */ - symbol = image ? NSLookupSymbolInImage(image, symbolName, NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR) : NULL; - free(symbolName); - return symbol ? NSAddressOfSymbol(symbol) : NULL; -} -#endif /* MAC_OS_X_VERSION_10_3 */ -#endif /* __APPLE__ */ - -#if defined(__sgi) || defined (__sun) -#include -#include -#include - -void* dlGetProcAddress (const GLubyte* name) -{ - static void* h = NULL; - static void* gpa; - - if (h == NULL) - { - if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL; - gpa = dlsym(h, "glXGetProcAddress"); - } - - if (gpa != NULL) - return ((void*(*)(const GLubyte*))gpa)(name); - else - return dlsym(h, (const char*)name); -} -#endif /* __sgi || __sun */ - -/* - * Define glewGetProcAddress. - */ -#if defined(_WIN32) -# define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name) -#else -# if defined(__APPLE__) -# define glewGetProcAddress(name) NSGLGetProcAddress(name) -# else -# if defined(__sgi) || defined(__sun) -# define glewGetProcAddress(name) dlGetProcAddress(name) -# else /* __linux */ -# define glewGetProcAddress(name) (*glXGetProcAddressARB)(name) -# endif -# endif -#endif - -/* - * Define GLboolean const cast. - */ -#define CONST_CAST(x) (*(GLboolean*)&x) - -/* - * GLEW, just like OpenGL or GLU, does not rely on the standard C library. - * These functions implement the functionality required in this file. - */ -static GLuint _glewStrLen (const GLubyte* s) -{ - GLuint i=0; - if (s == NULL) return 0; - while (s[i] != '\0') i++; - return i; -} - -static GLuint _glewStrCLen (const GLubyte* s, GLubyte c) -{ - GLuint i=0; - if (s == NULL) return 0; - while (s[i] != '\0' && s[i] != c) i++; - return (s[i] == '\0' || s[i] == c) ? i : 0; -} - -static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n) -{ - GLuint i=0; - if(a == NULL || b == NULL) - return (a == NULL && b == NULL && n == 0) ? GL_TRUE : GL_FALSE; - while (i < n && a[i] != '\0' && b[i] != '\0' && a[i] == b[i]) i++; - return i == n ? GL_TRUE : GL_FALSE; -} - -static GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t')) - { - (*a)++; - (*na)--; - } - if(*na >= nb) - { - GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; - if(i == nb) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} - -static GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - if(*na >= nb) - { - GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; - if(i == nb) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} - -static GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - if(*na >= nb) - { - GLuint i=0; - while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++; - if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t')) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} diff --git a/Externals/GLew/auto/src/glew_head.h b/Externals/GLew/auto/src/glew_head.h deleted file mode 100644 index ed49f50c38..0000000000 --- a/Externals/GLew/auto/src/glew_head.h +++ /dev/null @@ -1,1073 +0,0 @@ -#ifndef __glew_h__ -#define __glew_h__ -#define __GLEW_H__ - -#if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H) -#error gl.h included before glew.h -#endif -#if defined(__glext_h_) || defined(__GLEXT_H_) -#error glext.h included before glew.h -#endif -#if defined(__gl_ATI_h_) -#error glATI.h included before glew.h -#endif - -#define __gl_h_ -#define __GL_H__ -#define __X_GL_H -#define __glext_h_ -#define __GLEXT_H_ -#define __gl_ATI_h_ - -#if defined(_WIN32) - -/* - * GLEW does not include to avoid name space pollution. - * GL needs GLAPI and GLAPIENTRY, GLU needs APIENTRY, CALLBACK, and wchar_t - * defined properly. - */ -/* */ -#ifndef APIENTRY -#define GLEW_APIENTRY_DEFINED -# if defined(__MINGW32__) || defined(__CYGWIN__) -# define APIENTRY __stdcall -# elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) -# define APIENTRY __stdcall -# else -# define APIENTRY -# endif -#endif -#ifndef GLAPI -# if defined(__MINGW32__) || defined(__CYGWIN__) -# define GLAPI extern -# endif -#endif -/* */ -#ifndef CALLBACK -#define GLEW_CALLBACK_DEFINED -# if defined(__MINGW32__) || defined(__CYGWIN__) -# define CALLBACK __attribute__ ((__stdcall__)) -# elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS) -# define CALLBACK __stdcall -# else -# define CALLBACK -# endif -#endif -/* and */ -#ifndef WINGDIAPI -#define GLEW_WINGDIAPI_DEFINED -#define WINGDIAPI __declspec(dllimport) -#endif -/* */ -#if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED) -typedef unsigned short wchar_t; -# define _WCHAR_T_DEFINED -#endif -/* */ -#if !defined(_W64) -# if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300 -# define _W64 __w64 -# else -# define _W64 -# endif -#endif -#if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) -# ifdef _WIN64 -typedef __int64 ptrdiff_t; -# else -typedef _W64 int ptrdiff_t; -# endif -# define _PTRDIFF_T_DEFINED -# define _PTRDIFF_T_ -#endif - -#ifndef GLAPI -# if defined(__MINGW32__) || defined(__CYGWIN__) -# define GLAPI extern -# else -# define GLAPI WINGDIAPI -# endif -#endif - -#ifndef GLAPIENTRY -#define GLAPIENTRY APIENTRY -#endif - -/* - * GLEW_STATIC needs to be set when using the static version. - * GLEW_BUILD is set when building the DLL version. - */ -#ifdef GLEW_STATIC -# define GLEWAPI extern -#else -# ifdef GLEW_BUILD -# define GLEWAPI extern __declspec(dllexport) -# else -# define GLEWAPI extern __declspec(dllimport) -# endif -#endif - -#else /* _UNIX */ - -/* - * Needed for ptrdiff_t in turn needed by VBO. This is defined by ISO - * C. On my system, this amounts to _3 lines_ of included code, all of - * them pretty much harmless. If you know of a way of detecting 32 vs - * 64 _targets_ at compile time you are free to replace this with - * something that's portable. For now, _this_ is the portable solution. - * (mem, 2004-01-04) - */ - -#include - -/* SGI MIPSPro doesn't like stdint.h in C++ mode */ - -#if defined(__sgi) && !defined(__GNUC__) -#include -#else -#include -#endif - -#define GLEW_APIENTRY_DEFINED -#define APIENTRY -#define GLEWAPI extern - -/* */ -#ifndef GLAPI -#define GLAPI extern -#endif -#ifndef GLAPIENTRY -#define GLAPIENTRY -#endif - -#endif /* _WIN32 */ - -#ifdef __cplusplus -extern "C" { -#endif - -/* ----------------------------- GL_VERSION_1_1 ---------------------------- */ - -#ifndef GL_VERSION_1_1 -#define GL_VERSION_1_1 1 - -typedef unsigned int GLenum; -typedef unsigned int GLbitfield; -typedef unsigned int GLuint; -typedef int GLint; -typedef int GLsizei; -typedef unsigned char GLboolean; -typedef signed char GLbyte; -typedef short GLshort; -typedef unsigned char GLubyte; -typedef unsigned short GLushort; -typedef unsigned long GLulong; -typedef float GLfloat; -typedef float GLclampf; -typedef double GLdouble; -typedef double GLclampd; -typedef void GLvoid; -#if defined(_MSC_VER) -# if _MSC_VER < 1400 -typedef __int64 GLint64EXT; -typedef unsigned __int64 GLuint64EXT; -# else -typedef signed long long GLint64EXT; -typedef unsigned long long GLuint64EXT; -# endif -#else -# if defined(__MINGW32__) || defined(__CYGWIN__) -#include -# endif -typedef int64_t GLint64EXT; -typedef uint64_t GLuint64EXT; -#endif -typedef GLint64EXT GLint64; -typedef GLuint64EXT GLuint64; -typedef struct __GLsync *GLsync; - -#define GL_ACCUM 0x0100 -#define GL_LOAD 0x0101 -#define GL_RETURN 0x0102 -#define GL_MULT 0x0103 -#define GL_ADD 0x0104 -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_CURRENT_BIT 0x00000001 -#define GL_POINT_BIT 0x00000002 -#define GL_LINE_BIT 0x00000004 -#define GL_POLYGON_BIT 0x00000008 -#define GL_POLYGON_STIPPLE_BIT 0x00000010 -#define GL_PIXEL_MODE_BIT 0x00000020 -#define GL_LIGHTING_BIT 0x00000040 -#define GL_FOG_BIT 0x00000080 -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_ACCUM_BUFFER_BIT 0x00000200 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_VIEWPORT_BIT 0x00000800 -#define GL_TRANSFORM_BIT 0x00001000 -#define GL_ENABLE_BIT 0x00002000 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_HINT_BIT 0x00008000 -#define GL_EVAL_BIT 0x00010000 -#define GL_LIST_BIT 0x00020000 -#define GL_TEXTURE_BIT 0x00040000 -#define GL_SCISSOR_BIT 0x00080000 -#define GL_ALL_ATTRIB_BITS 0x000fffff -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_QUADS 0x0007 -#define GL_QUAD_STRIP 0x0008 -#define GL_POLYGON 0x0009 -#define GL_ZERO 0 -#define GL_ONE 1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_TRUE 1 -#define GL_FALSE 0 -#define GL_CLIP_PLANE0 0x3000 -#define GL_CLIP_PLANE1 0x3001 -#define GL_CLIP_PLANE2 0x3002 -#define GL_CLIP_PLANE3 0x3003 -#define GL_CLIP_PLANE4 0x3004 -#define GL_CLIP_PLANE5 0x3005 -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_2_BYTES 0x1407 -#define GL_3_BYTES 0x1408 -#define GL_4_BYTES 0x1409 -#define GL_DOUBLE 0x140A -#define GL_NONE 0 -#define GL_FRONT_LEFT 0x0400 -#define GL_FRONT_RIGHT 0x0401 -#define GL_BACK_LEFT 0x0402 -#define GL_BACK_RIGHT 0x0403 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_LEFT 0x0406 -#define GL_RIGHT 0x0407 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_AUX0 0x0409 -#define GL_AUX1 0x040A -#define GL_AUX2 0x040B -#define GL_AUX3 0x040C -#define GL_NO_ERROR 0 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_STACK_OVERFLOW 0x0503 -#define GL_STACK_UNDERFLOW 0x0504 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_2D 0x0600 -#define GL_3D 0x0601 -#define GL_3D_COLOR 0x0602 -#define GL_3D_COLOR_TEXTURE 0x0603 -#define GL_4D_COLOR_TEXTURE 0x0604 -#define GL_PASS_THROUGH_TOKEN 0x0700 -#define GL_POINT_TOKEN 0x0701 -#define GL_LINE_TOKEN 0x0702 -#define GL_POLYGON_TOKEN 0x0703 -#define GL_BITMAP_TOKEN 0x0704 -#define GL_DRAW_PIXEL_TOKEN 0x0705 -#define GL_COPY_PIXEL_TOKEN 0x0706 -#define GL_LINE_RESET_TOKEN 0x0707 -#define GL_EXP 0x0800 -#define GL_EXP2 0x0801 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_COEFF 0x0A00 -#define GL_ORDER 0x0A01 -#define GL_DOMAIN 0x0A02 -#define GL_CURRENT_COLOR 0x0B00 -#define GL_CURRENT_INDEX 0x0B01 -#define GL_CURRENT_NORMAL 0x0B02 -#define GL_CURRENT_TEXTURE_COORDS 0x0B03 -#define GL_CURRENT_RASTER_COLOR 0x0B04 -#define GL_CURRENT_RASTER_INDEX 0x0B05 -#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 -#define GL_CURRENT_RASTER_POSITION 0x0B07 -#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 -#define GL_CURRENT_RASTER_DISTANCE 0x0B09 -#define GL_POINT_SMOOTH 0x0B10 -#define GL_POINT_SIZE 0x0B11 -#define GL_POINT_SIZE_RANGE 0x0B12 -#define GL_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_LINE_SMOOTH 0x0B20 -#define GL_LINE_WIDTH 0x0B21 -#define GL_LINE_WIDTH_RANGE 0x0B22 -#define GL_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_LINE_STIPPLE 0x0B24 -#define GL_LINE_STIPPLE_PATTERN 0x0B25 -#define GL_LINE_STIPPLE_REPEAT 0x0B26 -#define GL_LIST_MODE 0x0B30 -#define GL_MAX_LIST_NESTING 0x0B31 -#define GL_LIST_BASE 0x0B32 -#define GL_LIST_INDEX 0x0B33 -#define GL_POLYGON_MODE 0x0B40 -#define GL_POLYGON_SMOOTH 0x0B41 -#define GL_POLYGON_STIPPLE 0x0B42 -#define GL_EDGE_FLAG 0x0B43 -#define GL_CULL_FACE 0x0B44 -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_LIGHTING 0x0B50 -#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 -#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 -#define GL_LIGHT_MODEL_AMBIENT 0x0B53 -#define GL_SHADE_MODEL 0x0B54 -#define GL_COLOR_MATERIAL_FACE 0x0B55 -#define GL_COLOR_MATERIAL_PARAMETER 0x0B56 -#define GL_COLOR_MATERIAL 0x0B57 -#define GL_FOG 0x0B60 -#define GL_FOG_INDEX 0x0B61 -#define GL_FOG_DENSITY 0x0B62 -#define GL_FOG_START 0x0B63 -#define GL_FOG_END 0x0B64 -#define GL_FOG_MODE 0x0B65 -#define GL_FOG_COLOR 0x0B66 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_TEST 0x0B71 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_ACCUM_CLEAR_VALUE 0x0B80 -#define GL_STENCIL_TEST 0x0B90 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_MATRIX_MODE 0x0BA0 -#define GL_NORMALIZE 0x0BA1 -#define GL_VIEWPORT 0x0BA2 -#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 -#define GL_PROJECTION_STACK_DEPTH 0x0BA4 -#define GL_TEXTURE_STACK_DEPTH 0x0BA5 -#define GL_MODELVIEW_MATRIX 0x0BA6 -#define GL_PROJECTION_MATRIX 0x0BA7 -#define GL_TEXTURE_MATRIX 0x0BA8 -#define GL_ATTRIB_STACK_DEPTH 0x0BB0 -#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 -#define GL_ALPHA_TEST 0x0BC0 -#define GL_ALPHA_TEST_FUNC 0x0BC1 -#define GL_ALPHA_TEST_REF 0x0BC2 -#define GL_DITHER 0x0BD0 -#define GL_BLEND_DST 0x0BE0 -#define GL_BLEND_SRC 0x0BE1 -#define GL_BLEND 0x0BE2 -#define GL_LOGIC_OP_MODE 0x0BF0 -#define GL_INDEX_LOGIC_OP 0x0BF1 -#define GL_COLOR_LOGIC_OP 0x0BF2 -#define GL_AUX_BUFFERS 0x0C00 -#define GL_DRAW_BUFFER 0x0C01 -#define GL_READ_BUFFER 0x0C02 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_INDEX_CLEAR_VALUE 0x0C20 -#define GL_INDEX_WRITEMASK 0x0C21 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_INDEX_MODE 0x0C30 -#define GL_RGBA_MODE 0x0C31 -#define GL_DOUBLEBUFFER 0x0C32 -#define GL_STEREO 0x0C33 -#define GL_RENDER_MODE 0x0C40 -#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 -#define GL_POINT_SMOOTH_HINT 0x0C51 -#define GL_LINE_SMOOTH_HINT 0x0C52 -#define GL_POLYGON_SMOOTH_HINT 0x0C53 -#define GL_FOG_HINT 0x0C54 -#define GL_TEXTURE_GEN_S 0x0C60 -#define GL_TEXTURE_GEN_T 0x0C61 -#define GL_TEXTURE_GEN_R 0x0C62 -#define GL_TEXTURE_GEN_Q 0x0C63 -#define GL_PIXEL_MAP_I_TO_I 0x0C70 -#define GL_PIXEL_MAP_S_TO_S 0x0C71 -#define GL_PIXEL_MAP_I_TO_R 0x0C72 -#define GL_PIXEL_MAP_I_TO_G 0x0C73 -#define GL_PIXEL_MAP_I_TO_B 0x0C74 -#define GL_PIXEL_MAP_I_TO_A 0x0C75 -#define GL_PIXEL_MAP_R_TO_R 0x0C76 -#define GL_PIXEL_MAP_G_TO_G 0x0C77 -#define GL_PIXEL_MAP_B_TO_B 0x0C78 -#define GL_PIXEL_MAP_A_TO_A 0x0C79 -#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 -#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 -#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 -#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 -#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 -#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 -#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 -#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 -#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 -#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 -#define GL_UNPACK_SWAP_BYTES 0x0CF0 -#define GL_UNPACK_LSB_FIRST 0x0CF1 -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_SWAP_BYTES 0x0D00 -#define GL_PACK_LSB_FIRST 0x0D01 -#define GL_PACK_ROW_LENGTH 0x0D02 -#define GL_PACK_SKIP_ROWS 0x0D03 -#define GL_PACK_SKIP_PIXELS 0x0D04 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_MAP_COLOR 0x0D10 -#define GL_MAP_STENCIL 0x0D11 -#define GL_INDEX_SHIFT 0x0D12 -#define GL_INDEX_OFFSET 0x0D13 -#define GL_RED_SCALE 0x0D14 -#define GL_RED_BIAS 0x0D15 -#define GL_ZOOM_X 0x0D16 -#define GL_ZOOM_Y 0x0D17 -#define GL_GREEN_SCALE 0x0D18 -#define GL_GREEN_BIAS 0x0D19 -#define GL_BLUE_SCALE 0x0D1A -#define GL_BLUE_BIAS 0x0D1B -#define GL_ALPHA_SCALE 0x0D1C -#define GL_ALPHA_BIAS 0x0D1D -#define GL_DEPTH_SCALE 0x0D1E -#define GL_DEPTH_BIAS 0x0D1F -#define GL_MAX_EVAL_ORDER 0x0D30 -#define GL_MAX_LIGHTS 0x0D31 -#define GL_MAX_CLIP_PLANES 0x0D32 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_PIXEL_MAP_TABLE 0x0D34 -#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 -#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 -#define GL_MAX_NAME_STACK_DEPTH 0x0D37 -#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 -#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_INDEX_BITS 0x0D51 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_ALPHA_BITS 0x0D55 -#define GL_DEPTH_BITS 0x0D56 -#define GL_STENCIL_BITS 0x0D57 -#define GL_ACCUM_RED_BITS 0x0D58 -#define GL_ACCUM_GREEN_BITS 0x0D59 -#define GL_ACCUM_BLUE_BITS 0x0D5A -#define GL_ACCUM_ALPHA_BITS 0x0D5B -#define GL_NAME_STACK_DEPTH 0x0D70 -#define GL_AUTO_NORMAL 0x0D80 -#define GL_MAP1_COLOR_4 0x0D90 -#define GL_MAP1_INDEX 0x0D91 -#define GL_MAP1_NORMAL 0x0D92 -#define GL_MAP1_TEXTURE_COORD_1 0x0D93 -#define GL_MAP1_TEXTURE_COORD_2 0x0D94 -#define GL_MAP1_TEXTURE_COORD_3 0x0D95 -#define GL_MAP1_TEXTURE_COORD_4 0x0D96 -#define GL_MAP1_VERTEX_3 0x0D97 -#define GL_MAP1_VERTEX_4 0x0D98 -#define GL_MAP2_COLOR_4 0x0DB0 -#define GL_MAP2_INDEX 0x0DB1 -#define GL_MAP2_NORMAL 0x0DB2 -#define GL_MAP2_TEXTURE_COORD_1 0x0DB3 -#define GL_MAP2_TEXTURE_COORD_2 0x0DB4 -#define GL_MAP2_TEXTURE_COORD_3 0x0DB5 -#define GL_MAP2_TEXTURE_COORD_4 0x0DB6 -#define GL_MAP2_VERTEX_3 0x0DB7 -#define GL_MAP2_VERTEX_4 0x0DB8 -#define GL_MAP1_GRID_DOMAIN 0x0DD0 -#define GL_MAP1_GRID_SEGMENTS 0x0DD1 -#define GL_MAP2_GRID_DOMAIN 0x0DD2 -#define GL_MAP2_GRID_SEGMENTS 0x0DD3 -#define GL_TEXTURE_1D 0x0DE0 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 -#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 -#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 -#define GL_SELECTION_BUFFER_POINTER 0x0DF3 -#define GL_SELECTION_BUFFER_SIZE 0x0DF4 -#define GL_TEXTURE_WIDTH 0x1000 -#define GL_TEXTURE_HEIGHT 0x1001 -#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 -#define GL_TEXTURE_BORDER_COLOR 0x1004 -#define GL_TEXTURE_BORDER 0x1005 -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 -#define GL_LIGHT0 0x4000 -#define GL_LIGHT1 0x4001 -#define GL_LIGHT2 0x4002 -#define GL_LIGHT3 0x4003 -#define GL_LIGHT4 0x4004 -#define GL_LIGHT5 0x4005 -#define GL_LIGHT6 0x4006 -#define GL_LIGHT7 0x4007 -#define GL_AMBIENT 0x1200 -#define GL_DIFFUSE 0x1201 -#define GL_SPECULAR 0x1202 -#define GL_POSITION 0x1203 -#define GL_SPOT_DIRECTION 0x1204 -#define GL_SPOT_EXPONENT 0x1205 -#define GL_SPOT_CUTOFF 0x1206 -#define GL_CONSTANT_ATTENUATION 0x1207 -#define GL_LINEAR_ATTENUATION 0x1208 -#define GL_QUADRATIC_ATTENUATION 0x1209 -#define GL_COMPILE 0x1300 -#define GL_COMPILE_AND_EXECUTE 0x1301 -#define GL_CLEAR 0x1500 -#define GL_AND 0x1501 -#define GL_AND_REVERSE 0x1502 -#define GL_COPY 0x1503 -#define GL_AND_INVERTED 0x1504 -#define GL_NOOP 0x1505 -#define GL_XOR 0x1506 -#define GL_OR 0x1507 -#define GL_NOR 0x1508 -#define GL_EQUIV 0x1509 -#define GL_INVERT 0x150A -#define GL_OR_REVERSE 0x150B -#define GL_COPY_INVERTED 0x150C -#define GL_OR_INVERTED 0x150D -#define GL_NAND 0x150E -#define GL_SET 0x150F -#define GL_EMISSION 0x1600 -#define GL_SHININESS 0x1601 -#define GL_AMBIENT_AND_DIFFUSE 0x1602 -#define GL_COLOR_INDEXES 0x1603 -#define GL_MODELVIEW 0x1700 -#define GL_PROJECTION 0x1701 -#define GL_TEXTURE 0x1702 -#define GL_COLOR 0x1800 -#define GL_DEPTH 0x1801 -#define GL_STENCIL 0x1802 -#define GL_COLOR_INDEX 0x1900 -#define GL_STENCIL_INDEX 0x1901 -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_RED 0x1903 -#define GL_GREEN 0x1904 -#define GL_BLUE 0x1905 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_BITMAP 0x1A00 -#define GL_POINT 0x1B00 -#define GL_LINE 0x1B01 -#define GL_FILL 0x1B02 -#define GL_RENDER 0x1C00 -#define GL_FEEDBACK 0x1C01 -#define GL_SELECT 0x1C02 -#define GL_FLAT 0x1D00 -#define GL_SMOOTH 0x1D01 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 -#define GL_S 0x2000 -#define GL_T 0x2001 -#define GL_R 0x2002 -#define GL_Q 0x2003 -#define GL_MODULATE 0x2100 -#define GL_DECAL 0x2101 -#define GL_TEXTURE_ENV_MODE 0x2200 -#define GL_TEXTURE_ENV_COLOR 0x2201 -#define GL_TEXTURE_ENV 0x2300 -#define GL_EYE_LINEAR 0x2400 -#define GL_OBJECT_LINEAR 0x2401 -#define GL_SPHERE_MAP 0x2402 -#define GL_TEXTURE_GEN_MODE 0x2500 -#define GL_OBJECT_PLANE 0x2501 -#define GL_EYE_PLANE 0x2502 -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_CLAMP 0x2900 -#define GL_REPEAT 0x2901 -#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 -#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 -#define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_POINT 0x2A01 -#define GL_POLYGON_OFFSET_LINE 0x2A02 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_ALPHA4 0x803B -#define GL_ALPHA8 0x803C -#define GL_ALPHA12 0x803D -#define GL_ALPHA16 0x803E -#define GL_LUMINANCE4 0x803F -#define GL_LUMINANCE8 0x8040 -#define GL_LUMINANCE12 0x8041 -#define GL_LUMINANCE16 0x8042 -#define GL_LUMINANCE4_ALPHA4 0x8043 -#define GL_LUMINANCE6_ALPHA2 0x8044 -#define GL_LUMINANCE8_ALPHA8 0x8045 -#define GL_LUMINANCE12_ALPHA4 0x8046 -#define GL_LUMINANCE12_ALPHA12 0x8047 -#define GL_LUMINANCE16_ALPHA16 0x8048 -#define GL_INTENSITY 0x8049 -#define GL_INTENSITY4 0x804A -#define GL_INTENSITY8 0x804B -#define GL_INTENSITY12 0x804C -#define GL_INTENSITY16 0x804D -#define GL_R3_G3_B2 0x2A10 -#define GL_RGB4 0x804F -#define GL_RGB5 0x8050 -#define GL_RGB8 0x8051 -#define GL_RGB10 0x8052 -#define GL_RGB12 0x8053 -#define GL_RGB16 0x8054 -#define GL_RGBA2 0x8055 -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGBA8 0x8058 -#define GL_RGB10_A2 0x8059 -#define GL_RGBA12 0x805A -#define GL_RGBA16 0x805B -#define GL_TEXTURE_RED_SIZE 0x805C -#define GL_TEXTURE_GREEN_SIZE 0x805D -#define GL_TEXTURE_BLUE_SIZE 0x805E -#define GL_TEXTURE_ALPHA_SIZE 0x805F -#define GL_TEXTURE_LUMINANCE_SIZE 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE 0x8061 -#define GL_PROXY_TEXTURE_1D 0x8063 -#define GL_PROXY_TEXTURE_2D 0x8064 -#define GL_TEXTURE_PRIORITY 0x8066 -#define GL_TEXTURE_RESIDENT 0x8067 -#define GL_TEXTURE_BINDING_1D 0x8068 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_VERTEX_ARRAY 0x8074 -#define GL_NORMAL_ARRAY 0x8075 -#define GL_COLOR_ARRAY 0x8076 -#define GL_INDEX_ARRAY 0x8077 -#define GL_TEXTURE_COORD_ARRAY 0x8078 -#define GL_EDGE_FLAG_ARRAY 0x8079 -#define GL_VERTEX_ARRAY_SIZE 0x807A -#define GL_VERTEX_ARRAY_TYPE 0x807B -#define GL_VERTEX_ARRAY_STRIDE 0x807C -#define GL_NORMAL_ARRAY_TYPE 0x807E -#define GL_NORMAL_ARRAY_STRIDE 0x807F -#define GL_COLOR_ARRAY_SIZE 0x8081 -#define GL_COLOR_ARRAY_TYPE 0x8082 -#define GL_COLOR_ARRAY_STRIDE 0x8083 -#define GL_INDEX_ARRAY_TYPE 0x8085 -#define GL_INDEX_ARRAY_STRIDE 0x8086 -#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A -#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C -#define GL_VERTEX_ARRAY_POINTER 0x808E -#define GL_NORMAL_ARRAY_POINTER 0x808F -#define GL_COLOR_ARRAY_POINTER 0x8090 -#define GL_INDEX_ARRAY_POINTER 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 -#define GL_V2F 0x2A20 -#define GL_V3F 0x2A21 -#define GL_C4UB_V2F 0x2A22 -#define GL_C4UB_V3F 0x2A23 -#define GL_C3F_V3F 0x2A24 -#define GL_N3F_V3F 0x2A25 -#define GL_C4F_N3F_V3F 0x2A26 -#define GL_T2F_V3F 0x2A27 -#define GL_T4F_V4F 0x2A28 -#define GL_T2F_C4UB_V3F 0x2A29 -#define GL_T2F_C3F_V3F 0x2A2A -#define GL_T2F_N3F_V3F 0x2A2B -#define GL_T2F_C4F_N3F_V3F 0x2A2C -#define GL_T4F_C4F_N3F_V4F 0x2A2D -#define GL_LOGIC_OP GL_INDEX_LOGIC_OP -#define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT -#define GL_COLOR_INDEX1_EXT 0x80E2 -#define GL_COLOR_INDEX2_EXT 0x80E3 -#define GL_COLOR_INDEX4_EXT 0x80E4 -#define GL_COLOR_INDEX8_EXT 0x80E5 -#define GL_COLOR_INDEX12_EXT 0x80E6 -#define GL_COLOR_INDEX16_EXT 0x80E7 - -GLAPI void GLAPIENTRY glAccum (GLenum op, GLfloat value); -GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref); -GLAPI GLboolean GLAPIENTRY glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences); -GLAPI void GLAPIENTRY glArrayElement (GLint i); -GLAPI void GLAPIENTRY glBegin (GLenum mode); -GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture); -GLAPI void GLAPIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); -GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); -GLAPI void GLAPIENTRY glCallList (GLuint list); -GLAPI void GLAPIENTRY glCallLists (GLsizei n, GLenum type, const GLvoid *lists); -GLAPI void GLAPIENTRY glClear (GLbitfield mask); -GLAPI void GLAPIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -GLAPI void GLAPIENTRY glClearDepth (GLclampd depth); -GLAPI void GLAPIENTRY glClearIndex (GLfloat c); -GLAPI void GLAPIENTRY glClearStencil (GLint s); -GLAPI void GLAPIENTRY glClipPlane (GLenum plane, const GLdouble *equation); -GLAPI void GLAPIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue); -GLAPI void GLAPIENTRY glColor3bv (const GLbyte *v); -GLAPI void GLAPIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue); -GLAPI void GLAPIENTRY glColor3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue); -GLAPI void GLAPIENTRY glColor3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glColor3i (GLint red, GLint green, GLint blue); -GLAPI void GLAPIENTRY glColor3iv (const GLint *v); -GLAPI void GLAPIENTRY glColor3s (GLshort red, GLshort green, GLshort blue); -GLAPI void GLAPIENTRY glColor3sv (const GLshort *v); -GLAPI void GLAPIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue); -GLAPI void GLAPIENTRY glColor3ubv (const GLubyte *v); -GLAPI void GLAPIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue); -GLAPI void GLAPIENTRY glColor3uiv (const GLuint *v); -GLAPI void GLAPIENTRY glColor3us (GLushort red, GLushort green, GLushort blue); -GLAPI void GLAPIENTRY glColor3usv (const GLushort *v); -GLAPI void GLAPIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); -GLAPI void GLAPIENTRY glColor4bv (const GLbyte *v); -GLAPI void GLAPIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); -GLAPI void GLAPIENTRY glColor4dv (const GLdouble *v); -GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI void GLAPIENTRY glColor4fv (const GLfloat *v); -GLAPI void GLAPIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha); -GLAPI void GLAPIENTRY glColor4iv (const GLint *v); -GLAPI void GLAPIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha); -GLAPI void GLAPIENTRY glColor4sv (const GLshort *v); -GLAPI void GLAPIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); -GLAPI void GLAPIENTRY glColor4ubv (const GLubyte *v); -GLAPI void GLAPIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha); -GLAPI void GLAPIENTRY glColor4uiv (const GLuint *v); -GLAPI void GLAPIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha); -GLAPI void GLAPIENTRY glColor4usv (const GLushort *v); -GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GLAPI void GLAPIENTRY glColorMaterial (GLenum face, GLenum mode); -GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); -GLAPI void GLAPIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border); -GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GLAPI void GLAPIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void GLAPIENTRY glCullFace (GLenum mode); -GLAPI void GLAPIENTRY glDeleteLists (GLuint list, GLsizei range); -GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); -GLAPI void GLAPIENTRY glDepthFunc (GLenum func); -GLAPI void GLAPIENTRY glDepthMask (GLboolean flag); -GLAPI void GLAPIENTRY glDepthRange (GLclampd zNear, GLclampd zFar); -GLAPI void GLAPIENTRY glDisable (GLenum cap); -GLAPI void GLAPIENTRY glDisableClientState (GLenum array); -GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); -GLAPI void GLAPIENTRY glDrawBuffer (GLenum mode); -GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); -GLAPI void GLAPIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glEdgeFlag (GLboolean flag); -GLAPI void GLAPIENTRY glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glEdgeFlagv (const GLboolean *flag); -GLAPI void GLAPIENTRY glEnable (GLenum cap); -GLAPI void GLAPIENTRY glEnableClientState (GLenum array); -GLAPI void GLAPIENTRY glEnd (void); -GLAPI void GLAPIENTRY glEndList (void); -GLAPI void GLAPIENTRY glEvalCoord1d (GLdouble u); -GLAPI void GLAPIENTRY glEvalCoord1dv (const GLdouble *u); -GLAPI void GLAPIENTRY glEvalCoord1f (GLfloat u); -GLAPI void GLAPIENTRY glEvalCoord1fv (const GLfloat *u); -GLAPI void GLAPIENTRY glEvalCoord2d (GLdouble u, GLdouble v); -GLAPI void GLAPIENTRY glEvalCoord2dv (const GLdouble *u); -GLAPI void GLAPIENTRY glEvalCoord2f (GLfloat u, GLfloat v); -GLAPI void GLAPIENTRY glEvalCoord2fv (const GLfloat *u); -GLAPI void GLAPIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2); -GLAPI void GLAPIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); -GLAPI void GLAPIENTRY glEvalPoint1 (GLint i); -GLAPI void GLAPIENTRY glEvalPoint2 (GLint i, GLint j); -GLAPI void GLAPIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer); -GLAPI void GLAPIENTRY glFinish (void); -GLAPI void GLAPIENTRY glFlush (void); -GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glFogi (GLenum pname, GLint param); -GLAPI void GLAPIENTRY glFogiv (GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glFrontFace (GLenum mode); -GLAPI void GLAPIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -GLAPI GLuint GLAPIENTRY glGenLists (GLsizei range); -GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures); -GLAPI void GLAPIENTRY glGetBooleanv (GLenum pname, GLboolean *params); -GLAPI void GLAPIENTRY glGetClipPlane (GLenum plane, GLdouble *equation); -GLAPI void GLAPIENTRY glGetDoublev (GLenum pname, GLdouble *params); -GLAPI GLenum GLAPIENTRY glGetError (void); -GLAPI void GLAPIENTRY glGetFloatv (GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetLightiv (GLenum light, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble *v); -GLAPI void GLAPIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat *v); -GLAPI void GLAPIENTRY glGetMapiv (GLenum target, GLenum query, GLint *v); -GLAPI void GLAPIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetPixelMapfv (GLenum map, GLfloat *values); -GLAPI void GLAPIENTRY glGetPixelMapuiv (GLenum map, GLuint *values); -GLAPI void GLAPIENTRY glGetPixelMapusv (GLenum map, GLushort *values); -GLAPI void GLAPIENTRY glGetPointerv (GLenum pname, GLvoid* *params); -GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask); -GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name); -GLAPI void GLAPIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params); -GLAPI void GLAPIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); -GLAPI void GLAPIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); -GLAPI void GLAPIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); -GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode); -GLAPI void GLAPIENTRY glIndexMask (GLuint mask); -GLAPI void GLAPIENTRY glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glIndexd (GLdouble c); -GLAPI void GLAPIENTRY glIndexdv (const GLdouble *c); -GLAPI void GLAPIENTRY glIndexf (GLfloat c); -GLAPI void GLAPIENTRY glIndexfv (const GLfloat *c); -GLAPI void GLAPIENTRY glIndexi (GLint c); -GLAPI void GLAPIENTRY glIndexiv (const GLint *c); -GLAPI void GLAPIENTRY glIndexs (GLshort c); -GLAPI void GLAPIENTRY glIndexsv (const GLshort *c); -GLAPI void GLAPIENTRY glIndexub (GLubyte c); -GLAPI void GLAPIENTRY glIndexubv (const GLubyte *c); -GLAPI void GLAPIENTRY glInitNames (void); -GLAPI void GLAPIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer); -GLAPI GLboolean GLAPIENTRY glIsEnabled (GLenum cap); -GLAPI GLboolean GLAPIENTRY glIsList (GLuint list); -GLAPI GLboolean GLAPIENTRY glIsTexture (GLuint texture); -GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glLightModeli (GLenum pname, GLint param); -GLAPI void GLAPIENTRY glLightModeliv (GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glLighti (GLenum light, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glLightiv (GLenum light, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glLineStipple (GLint factor, GLushort pattern); -GLAPI void GLAPIENTRY glLineWidth (GLfloat width); -GLAPI void GLAPIENTRY glListBase (GLuint base); -GLAPI void GLAPIENTRY glLoadIdentity (void); -GLAPI void GLAPIENTRY glLoadMatrixd (const GLdouble *m); -GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m); -GLAPI void GLAPIENTRY glLoadName (GLuint name); -GLAPI void GLAPIENTRY glLogicOp (GLenum opcode); -GLAPI void GLAPIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); -GLAPI void GLAPIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); -GLAPI void GLAPIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); -GLAPI void GLAPIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); -GLAPI void GLAPIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2); -GLAPI void GLAPIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2); -GLAPI void GLAPIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); -GLAPI void GLAPIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); -GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glMateriali (GLenum face, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glMatrixMode (GLenum mode); -GLAPI void GLAPIENTRY glMultMatrixd (const GLdouble *m); -GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m); -GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode); -GLAPI void GLAPIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz); -GLAPI void GLAPIENTRY glNormal3bv (const GLbyte *v); -GLAPI void GLAPIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz); -GLAPI void GLAPIENTRY glNormal3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); -GLAPI void GLAPIENTRY glNormal3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glNormal3i (GLint nx, GLint ny, GLint nz); -GLAPI void GLAPIENTRY glNormal3iv (const GLint *v); -GLAPI void GLAPIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz); -GLAPI void GLAPIENTRY glNormal3sv (const GLshort *v); -GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -GLAPI void GLAPIENTRY glPassThrough (GLfloat token); -GLAPI void GLAPIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat *values); -GLAPI void GLAPIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint *values); -GLAPI void GLAPIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort *values); -GLAPI void GLAPIENTRY glPixelStoref (GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param); -GLAPI void GLAPIENTRY glPixelTransferf (GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glPixelTransferi (GLenum pname, GLint param); -GLAPI void GLAPIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor); -GLAPI void GLAPIENTRY glPointSize (GLfloat size); -GLAPI void GLAPIENTRY glPolygonMode (GLenum face, GLenum mode); -GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units); -GLAPI void GLAPIENTRY glPolygonStipple (const GLubyte *mask); -GLAPI void GLAPIENTRY glPopAttrib (void); -GLAPI void GLAPIENTRY glPopClientAttrib (void); -GLAPI void GLAPIENTRY glPopMatrix (void); -GLAPI void GLAPIENTRY glPopName (void); -GLAPI void GLAPIENTRY glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities); -GLAPI void GLAPIENTRY glPushAttrib (GLbitfield mask); -GLAPI void GLAPIENTRY glPushClientAttrib (GLbitfield mask); -GLAPI void GLAPIENTRY glPushMatrix (void); -GLAPI void GLAPIENTRY glPushName (GLuint name); -GLAPI void GLAPIENTRY glRasterPos2d (GLdouble x, GLdouble y); -GLAPI void GLAPIENTRY glRasterPos2dv (const GLdouble *v); -GLAPI void GLAPIENTRY glRasterPos2f (GLfloat x, GLfloat y); -GLAPI void GLAPIENTRY glRasterPos2fv (const GLfloat *v); -GLAPI void GLAPIENTRY glRasterPos2i (GLint x, GLint y); -GLAPI void GLAPIENTRY glRasterPos2iv (const GLint *v); -GLAPI void GLAPIENTRY glRasterPos2s (GLshort x, GLshort y); -GLAPI void GLAPIENTRY glRasterPos2sv (const GLshort *v); -GLAPI void GLAPIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glRasterPos3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glRasterPos3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glRasterPos3i (GLint x, GLint y, GLint z); -GLAPI void GLAPIENTRY glRasterPos3iv (const GLint *v); -GLAPI void GLAPIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z); -GLAPI void GLAPIENTRY glRasterPos3sv (const GLshort *v); -GLAPI void GLAPIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void GLAPIENTRY glRasterPos4dv (const GLdouble *v); -GLAPI void GLAPIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void GLAPIENTRY glRasterPos4fv (const GLfloat *v); -GLAPI void GLAPIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w); -GLAPI void GLAPIENTRY glRasterPos4iv (const GLint *v); -GLAPI void GLAPIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void GLAPIENTRY glRasterPos4sv (const GLshort *v); -GLAPI void GLAPIENTRY glReadBuffer (GLenum mode); -GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); -GLAPI void GLAPIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); -GLAPI void GLAPIENTRY glRectdv (const GLdouble *v1, const GLdouble *v2); -GLAPI void GLAPIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); -GLAPI void GLAPIENTRY glRectfv (const GLfloat *v1, const GLfloat *v2); -GLAPI void GLAPIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2); -GLAPI void GLAPIENTRY glRectiv (const GLint *v1, const GLint *v2); -GLAPI void GLAPIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2); -GLAPI void GLAPIENTRY glRectsv (const GLshort *v1, const GLshort *v2); -GLAPI GLint GLAPIENTRY glRenderMode (GLenum mode); -GLAPI void GLAPIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI void GLAPIENTRY glSelectBuffer (GLsizei size, GLuint *buffer); -GLAPI void GLAPIENTRY glShadeModel (GLenum mode); -GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); -GLAPI void GLAPIENTRY glStencilMask (GLuint mask); -GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -GLAPI void GLAPIENTRY glTexCoord1d (GLdouble s); -GLAPI void GLAPIENTRY glTexCoord1dv (const GLdouble *v); -GLAPI void GLAPIENTRY glTexCoord1f (GLfloat s); -GLAPI void GLAPIENTRY glTexCoord1fv (const GLfloat *v); -GLAPI void GLAPIENTRY glTexCoord1i (GLint s); -GLAPI void GLAPIENTRY glTexCoord1iv (const GLint *v); -GLAPI void GLAPIENTRY glTexCoord1s (GLshort s); -GLAPI void GLAPIENTRY glTexCoord1sv (const GLshort *v); -GLAPI void GLAPIENTRY glTexCoord2d (GLdouble s, GLdouble t); -GLAPI void GLAPIENTRY glTexCoord2dv (const GLdouble *v); -GLAPI void GLAPIENTRY glTexCoord2f (GLfloat s, GLfloat t); -GLAPI void GLAPIENTRY glTexCoord2fv (const GLfloat *v); -GLAPI void GLAPIENTRY glTexCoord2i (GLint s, GLint t); -GLAPI void GLAPIENTRY glTexCoord2iv (const GLint *v); -GLAPI void GLAPIENTRY glTexCoord2s (GLshort s, GLshort t); -GLAPI void GLAPIENTRY glTexCoord2sv (const GLshort *v); -GLAPI void GLAPIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r); -GLAPI void GLAPIENTRY glTexCoord3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r); -GLAPI void GLAPIENTRY glTexCoord3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glTexCoord3i (GLint s, GLint t, GLint r); -GLAPI void GLAPIENTRY glTexCoord3iv (const GLint *v); -GLAPI void GLAPIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r); -GLAPI void GLAPIENTRY glTexCoord3sv (const GLshort *v); -GLAPI void GLAPIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q); -GLAPI void GLAPIENTRY glTexCoord4dv (const GLdouble *v); -GLAPI void GLAPIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q); -GLAPI void GLAPIENTRY glTexCoord4fv (const GLfloat *v); -GLAPI void GLAPIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q); -GLAPI void GLAPIENTRY glTexCoord4iv (const GLint *v); -GLAPI void GLAPIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q); -GLAPI void GLAPIENTRY glTexCoord4sv (const GLshort *v); -GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param); -GLAPI void GLAPIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble *params); -GLAPI void GLAPIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); -GLAPI void GLAPIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); -GLAPI void GLAPIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); -GLAPI void GLAPIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); -GLAPI void GLAPIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -GLAPI void GLAPIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glVertex2d (GLdouble x, GLdouble y); -GLAPI void GLAPIENTRY glVertex2dv (const GLdouble *v); -GLAPI void GLAPIENTRY glVertex2f (GLfloat x, GLfloat y); -GLAPI void GLAPIENTRY glVertex2fv (const GLfloat *v); -GLAPI void GLAPIENTRY glVertex2i (GLint x, GLint y); -GLAPI void GLAPIENTRY glVertex2iv (const GLint *v); -GLAPI void GLAPIENTRY glVertex2s (GLshort x, GLshort y); -GLAPI void GLAPIENTRY glVertex2sv (const GLshort *v); -GLAPI void GLAPIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z); -GLAPI void GLAPIENTRY glVertex3dv (const GLdouble *v); -GLAPI void GLAPIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z); -GLAPI void GLAPIENTRY glVertex3fv (const GLfloat *v); -GLAPI void GLAPIENTRY glVertex3i (GLint x, GLint y, GLint z); -GLAPI void GLAPIENTRY glVertex3iv (const GLint *v); -GLAPI void GLAPIENTRY glVertex3s (GLshort x, GLshort y, GLshort z); -GLAPI void GLAPIENTRY glVertex3sv (const GLshort *v); -GLAPI void GLAPIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI void GLAPIENTRY glVertex4dv (const GLdouble *v); -GLAPI void GLAPIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI void GLAPIENTRY glVertex4fv (const GLfloat *v); -GLAPI void GLAPIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w); -GLAPI void GLAPIENTRY glVertex4iv (const GLint *v); -GLAPI void GLAPIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI void GLAPIENTRY glVertex4sv (const GLshort *v); -GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); - -#define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1) - -#endif /* GL_VERSION_1_1 */ - -/* ---------------------------------- GLU ---------------------------------- */ - -/* this is where we can safely include GLU */ -#if defined(__APPLE__) && defined(__MACH__) -#include -#else -#include -#endif - diff --git a/Externals/GLew/auto/src/glew_init_gl.c b/Externals/GLew/auto/src/glew_init_gl.c deleted file mode 100644 index ff7d5a8efe..0000000000 --- a/Externals/GLew/auto/src/glew_init_gl.c +++ /dev/null @@ -1,70 +0,0 @@ -/* ------------------------------------------------------------------------- */ - -/* - * Search for name in the extensions string. Use of strstr() - * is not sufficient because extension names can be prefixes of - * other extension names. Could use strtok() but the constant - * string returned by glGetString might be in read-only memory. - */ -GLboolean glewGetExtension (const char* name) -{ - GLubyte* p; - GLubyte* end; - GLuint len = _glewStrLen((const GLubyte*)name); - p = (GLubyte*)glGetString(GL_EXTENSIONS); - if (0 == p) return GL_FALSE; - end = p + _glewStrLen(p); - while (p < end) - { - GLuint n = _glewStrCLen(p, ' '); - if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE; - p += n+1; - } - return GL_FALSE; -} - -/* ------------------------------------------------------------------------- */ - -#ifndef GLEW_MX -static -#endif -GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST) -{ - const GLubyte* s; - GLuint dot; - GLint major, minor; - /* query opengl version */ - s = glGetString(GL_VERSION); - dot = _glewStrCLen(s, '.'); - if (dot == 0) - return GLEW_ERROR_NO_GL_VERSION; - - major = s[dot-1]-'0'; - minor = s[dot+1]-'0'; - - if (minor < 0 || minor > 9) - minor = 0; - if (major<0 || major>9) - return GLEW_ERROR_NO_GL_VERSION; - - - if (major == 1 && minor == 0) - { - return GLEW_ERROR_GL_VERSION_10_ONLY; - } - else - { - CONST_CAST(GLEW_VERSION_4_0) = ( major > 4 ) || ( major == 4 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_3_0) = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_2_1) = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_2_0) = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_5) = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_4) = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_3) = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_2) = GLEW_VERSION_1_3 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE; - CONST_CAST(GLEW_VERSION_1_1) = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE; - } - /* initialize extensions */ diff --git a/Externals/GLew/auto/src/glew_init_glx.c b/Externals/GLew/auto/src/glew_init_glx.c deleted file mode 100644 index c66e24c632..0000000000 --- a/Externals/GLew/auto/src/glew_init_glx.c +++ /dev/null @@ -1,52 +0,0 @@ -/* ------------------------------------------------------------------------ */ - -GLboolean glxewGetExtension (const char* name) -{ - GLubyte* p; - GLubyte* end; - GLuint len; - - if (glXGetCurrentDisplay == NULL) return GL_FALSE; - len = _glewStrLen((const GLubyte*)name); - p = (GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS); - if (0 == p) return GL_FALSE; - end = p + _glewStrLen(p); - while (p < end) - { - GLuint n = _glewStrCLen(p, ' '); - if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE; - p += n+1; - } - return GL_FALSE; -} - -GLenum glxewContextInit (GLXEW_CONTEXT_ARG_DEF_LIST) -{ - int major, minor; - /* initialize core GLX 1.2 */ - if (_glewInit_GLX_VERSION_1_2(GLEW_CONTEXT_ARG_VAR_INIT)) return GLEW_ERROR_GLX_VERSION_11_ONLY; - /* initialize flags */ - CONST_CAST(GLXEW_VERSION_1_0) = GL_TRUE; - CONST_CAST(GLXEW_VERSION_1_1) = GL_TRUE; - CONST_CAST(GLXEW_VERSION_1_2) = GL_TRUE; - CONST_CAST(GLXEW_VERSION_1_3) = GL_TRUE; - CONST_CAST(GLXEW_VERSION_1_4) = GL_TRUE; - /* query GLX version */ - glXQueryVersion(glXGetCurrentDisplay(), &major, &minor); - if (major == 1 && minor <= 3) - { - switch (minor) - { - case 3: - CONST_CAST(GLXEW_VERSION_1_4) = GL_FALSE; - break; - case 2: - CONST_CAST(GLXEW_VERSION_1_4) = GL_FALSE; - CONST_CAST(GLXEW_VERSION_1_3) = GL_FALSE; - break; - default: - return GLEW_ERROR_GLX_VERSION_11_ONLY; - break; - } - } - /* initialize extensions */ diff --git a/Externals/GLew/auto/src/glew_init_tail.c b/Externals/GLew/auto/src/glew_init_tail.c deleted file mode 100644 index 678b91cd8e..0000000000 --- a/Externals/GLew/auto/src/glew_init_tail.c +++ /dev/null @@ -1,56 +0,0 @@ -/* ------------------------------------------------------------------------ */ - -const GLubyte* glewGetErrorString (GLenum error) -{ - static const GLubyte* _glewErrorString[] = - { - (const GLubyte*)"No error", - (const GLubyte*)"Missing GL version", - (const GLubyte*)"GL 1.1 and up are not supported", - (const GLubyte*)"GLX 1.2 and up are not supported", - (const GLubyte*)"Unknown error" - }; - const int max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1; - return _glewErrorString[(int)error > max_error ? max_error : (int)error]; -} - -const GLubyte* glewGetString (GLenum name) -{ - static const GLubyte* _glewString[] = - { - (const GLubyte*)NULL, - (const GLubyte*)"GLEW_VERSION_STRING", - (const GLubyte*)"GLEW_VERSION_MAJOR_STRING", - (const GLubyte*)"GLEW_VERSION_MINOR_STRING", - (const GLubyte*)"GLEW_VERSION_MICRO_STRING" - }; - const int max_string = sizeof(_glewString)/sizeof(*_glewString) - 1; - return _glewString[(int)name > max_string ? 0 : (int)name]; -} - -/* ------------------------------------------------------------------------ */ - -GLboolean glewExperimental = GL_FALSE; - -#if !defined(GLEW_MX) - -#if defined(_WIN32) -extern GLenum wglewContextInit (void); -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */ -extern GLenum glxewContextInit (void); -#endif /* _WIN32 */ - -GLenum glewInit () -{ - GLenum r; - if ( (r = glewContextInit()) ) return r; -#if defined(_WIN32) - return wglewContextInit(); -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */ - return glxewContextInit(); -#else - return r; -#endif /* _WIN32 */ -} - -#endif /* !GLEW_MX */ diff --git a/Externals/GLew/auto/src/glew_init_wgl.c b/Externals/GLew/auto/src/glew_init_wgl.c deleted file mode 100644 index e66de427b1..0000000000 --- a/Externals/GLew/auto/src/glew_init_wgl.c +++ /dev/null @@ -1,36 +0,0 @@ -/* ------------------------------------------------------------------------- */ - -static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL; -static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL; - -GLboolean wglewGetExtension (const char* name) -{ - GLubyte* p; - GLubyte* end; - GLuint len = _glewStrLen((const GLubyte*)name); - if (_wglewGetExtensionsStringARB == NULL) - if (_wglewGetExtensionsStringEXT == NULL) - return GL_FALSE; - else - p = (GLubyte*)_wglewGetExtensionsStringEXT(); - else - p = (GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC()); - if (0 == p) return GL_FALSE; - end = p + _glewStrLen(p); - while (p < end) - { - GLuint n = _glewStrCLen(p, ' '); - if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE; - p += n+1; - } - return GL_FALSE; -} - -GLenum wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST) -{ - GLboolean crippled; - /* find wgl extension string query functions */ - _wglewGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB"); - _wglewGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT"); - /* initialize extensions */ - crippled = _wglewGetExtensionsStringARB == NULL && _wglewGetExtensionsStringEXT == NULL; diff --git a/Externals/GLew/auto/src/glew_license.h b/Externals/GLew/auto/src/glew_license.h deleted file mode 100644 index 5c3e781f71..0000000000 --- a/Externals/GLew/auto/src/glew_license.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -** The OpenGL Extension Wrangler Library -** Copyright (C) 2002-2008, Milan Ikits -** Copyright (C) 2002-2008, Marcelo E. Magallon -** Copyright (C) 2002, Lev Povalahev -** All rights reserved. -** -** Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are met: -** -** * Redistributions of source code must retain the above copyright notice, -** this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright notice, -** this list of conditions and the following disclaimer in the documentation -** and/or other materials provided with the distribution. -** * The name of the author may be used to endorse or promote products -** derived from this software without specific prior written permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -** THE POSSIBILITY OF SUCH DAMAGE. -*/ - diff --git a/Externals/GLew/auto/src/glew_str_glx.c b/Externals/GLew/auto/src/glew_str_glx.c deleted file mode 100644 index 7c31405754..0000000000 --- a/Externals/GLew/auto/src/glew_str_glx.c +++ /dev/null @@ -1,21 +0,0 @@ - } - ret = (len == 0); - } - return ret; -} - -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) - -#if defined(GLEW_MX) -GLboolean glxewContextIsSupported (GLXEWContext* ctx, const char* name) -#else -GLboolean glxewIsSupported (const char* name) -#endif -{ - GLubyte* pos = (GLubyte*)name; - GLuint len = _glewStrLen(pos); - GLboolean ret = GL_TRUE; - while (ret && len > 0) - { - if(_glewStrSame1(&pos, &len, (const GLubyte*)"GLX_", 4)) - { diff --git a/Externals/GLew/auto/src/glew_str_head.c b/Externals/GLew/auto/src/glew_str_head.c deleted file mode 100644 index 1f3ddf20c4..0000000000 --- a/Externals/GLew/auto/src/glew_str_head.c +++ /dev/null @@ -1,13 +0,0 @@ -#ifdef GLEW_MX -GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name) -#else -GLboolean glewIsSupported (const char* name) -#endif -{ - GLubyte* pos = (GLubyte*)name; - GLuint len = _glewStrLen(pos); - GLboolean ret = GL_TRUE; - while (ret && len > 0) - { - if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3)) - { diff --git a/Externals/GLew/auto/src/glew_str_tail.c b/Externals/GLew/auto/src/glew_str_tail.c deleted file mode 100644 index caa95727d3..0000000000 --- a/Externals/GLew/auto/src/glew_str_tail.c +++ /dev/null @@ -1,7 +0,0 @@ - } - ret = (len == 0); - } - return ret; -} - -#endif /* _WIN32 */ diff --git a/Externals/GLew/auto/src/glew_str_wgl.c b/Externals/GLew/auto/src/glew_str_wgl.c deleted file mode 100644 index 2398075bda..0000000000 --- a/Externals/GLew/auto/src/glew_str_wgl.c +++ /dev/null @@ -1,21 +0,0 @@ - } - ret = (len == 0); - } - return ret; -} - -#if defined(_WIN32) - -#if defined(GLEW_MX) -GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name) -#else -GLboolean wglewIsSupported (const char* name) -#endif -{ - GLubyte* pos = (GLubyte*)name; - GLuint len = _glewStrLen(pos); - GLboolean ret = GL_TRUE; - while (ret && len > 0) - { - if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4)) - { diff --git a/Externals/GLew/auto/src/glew_tail.h b/Externals/GLew/auto/src/glew_tail.h deleted file mode 100644 index 647c4cfe52..0000000000 --- a/Externals/GLew/auto/src/glew_tail.h +++ /dev/null @@ -1,74 +0,0 @@ -/* ------------------------------------------------------------------------- */ - -/* error codes */ -#define GLEW_OK 0 -#define GLEW_NO_ERROR 0 -#define GLEW_ERROR_NO_GL_VERSION 1 /* missing GL version */ -#define GLEW_ERROR_GL_VERSION_10_ONLY 2 /* GL 1.1 and up are not supported */ -#define GLEW_ERROR_GLX_VERSION_11_ONLY 3 /* GLX 1.2 and up are not supported */ - -/* string codes */ -#define GLEW_VERSION 1 -#define GLEW_VERSION_MAJOR 2 -#define GLEW_VERSION_MINOR 3 -#define GLEW_VERSION_MICRO 4 - -/* API */ -#ifdef GLEW_MX - -typedef struct GLEWContextStruct GLEWContext; -GLEWAPI GLenum glewContextInit (GLEWContext* ctx); -GLEWAPI GLboolean glewContextIsSupported (GLEWContext* ctx, const char* name); - -#define glewInit() glewContextInit(glewGetContext()) -#define glewIsSupported(x) glewContextIsSupported(glewGetContext(), x) -#define glewIsExtensionSupported(x) glewIsSupported(x) - -#define GLEW_GET_VAR(x) (*(const GLboolean*)&(glewGetContext()->x)) -#ifdef _WIN32 -# define GLEW_GET_FUN(x) glewGetContext()->x -#else -# define GLEW_GET_FUN(x) x -#endif - -#else /* GLEW_MX */ - -GLEWAPI GLenum glewInit (); -GLEWAPI GLboolean glewIsSupported (const char* name); -#define glewIsExtensionSupported(x) glewIsSupported(x) - -#define GLEW_GET_VAR(x) (*(const GLboolean*)&x) -#define GLEW_GET_FUN(x) x - -#endif /* GLEW_MX */ - -GLEWAPI GLboolean glewExperimental; -GLEWAPI GLboolean glewGetExtension (const char* name); -GLEWAPI const GLubyte* glewGetErrorString (GLenum error); -GLEWAPI const GLubyte* glewGetString (GLenum name); - -#ifdef __cplusplus -} -#endif - -#ifdef GLEW_APIENTRY_DEFINED -#undef GLEW_APIENTRY_DEFINED -#undef APIENTRY -#undef GLAPIENTRY -#define GLAPIENTRY -#endif - -#ifdef GLEW_CALLBACK_DEFINED -#undef GLEW_CALLBACK_DEFINED -#undef CALLBACK -#endif - -#ifdef GLEW_WINGDIAPI_DEFINED -#undef GLEW_WINGDIAPI_DEFINED -#undef WINGDIAPI -#endif - -#undef GLAPI -/* #undef GLEWAPI */ - -#endif /* __glew_h__ */ diff --git a/Externals/GLew/auto/src/glew_utils.c b/Externals/GLew/auto/src/glew_utils.c deleted file mode 100644 index 85fb57f758..0000000000 --- a/Externals/GLew/auto/src/glew_utils.c +++ /dev/null @@ -1,162 +0,0 @@ -/* -** The OpenGL Extension Wrangler Library -** Copyright (C) 2002-2008, Milan Ikits -** Copyright (C) 2002-2008, Marcelo E. Magallon -** Copyright (C) 2002, Lev Povalahev -** All rights reserved. -** -** Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are met: -** -** * Redistributions of source code must retain the above copyright notice, -** this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright notice, -** this list of conditions and the following disclaimer in the documentation -** and/or other materials provided with the distribution. -** * The name of the author may be used to endorse or promote products -** derived from this software without specific prior written permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -** THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#include -#if defined(_WIN32) -# include -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) -# include -#endif - -#include "glew_utils.h" - -#if defined(__APPLE__) -#include -#include -#include - -void* NSGLGetProcAddress (const GLubyte *name) -{ - NSSymbol symbol; - char* symbolName; - /* prepend a '_' for the Unix C symbol mangling convention */ - symbolName = malloc(strlen((const char*)name) + 2); - strcpy(symbolName+1, (const char*)name); - symbolName[0] = '_'; - symbol = NULL; - if (NSIsSymbolNameDefined(symbolName)) - symbol = NSLookupAndBindSymbol(symbolName); - free(symbolName); - return symbol ? NSAddressOfSymbol(symbol) : NULL; -} -#endif /* __APPLE__ */ - -#if defined(__sgi) || defined (__sun) -#include -#include -#include - -void* dlGetProcAddress (const GLubyte* name) -{ - static void* h = NULL; - static void* gpa; - - if (h == NULL) - { - if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL; - gpa = dlsym(h, "glXGetProcAddress"); - } - - if (gpa != NULL) - return ((void*(*)(const GLubyte*))gpa)(name); - else - return dlsym(h, (const char*)name); -} -#endif /* __sgi || __sun */ - -/* - * GLEW, just like OpenGL or GLU, does not rely on the standard C library. - * These functions implement the functionality required in this file. - */ - -GLuint _glewStrLen (const GLubyte* s) -{ - GLuint i=0; - while (s+i != NULL && s[i] != '\0') i++; - return i; -} - -GLuint _glewStrCLen (const GLubyte* s, GLubyte c) -{ - GLuint i=0; - while (s+i != NULL && s[i] != '\0' && s[i] != c) i++; - return i; -} - -GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n) -{ - GLuint i=0; - while (i < n && a+i != NULL && b+i != NULL && a[i] == b[i]) i++; - return i == n ? GL_TRUE : GL_FALSE; -} - -GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t')) - { - *a++; - *na--; - } - if(*na >= nb) - { - GLuint i=0; - while (i < nb && *a+i != NULL && b+i != NULL && *a[i] == b[i]) i++; - if(i == nb) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} - -GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - if(*na >= nb) - { - GLuint i=0; - while (i < nb && *a+i != NULL && b+i != NULL && *a[i] == b[i]) i++; - if(i == nb) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} - -GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) -{ - if(*na >= nb) - { - GLuint i=0; - while (i < nb && *a+i != NULL && b+i != NULL && *a[i] == b[i]) i++; - if (i == nb && (*na == nb || *a[i] == ' ' || *a[i] == '\n' || *a[i] == '\r' || *a[i] == '\t')) - { - *a = *a + nb; - *na = *na - nb; - return GL_TRUE; - } - } - return GL_FALSE; -} diff --git a/Externals/GLew/auto/src/glew_utils.h b/Externals/GLew/auto/src/glew_utils.h deleted file mode 100644 index 006023050c..0000000000 --- a/Externals/GLew/auto/src/glew_utils.h +++ /dev/null @@ -1,101 +0,0 @@ -/* -** The OpenGL Extension Wrangler Library -** Copyright (C) 2002-2008, Milan Ikits -** Copyright (C) 2002-2008, Marcelo E. Magallon -** Copyright (C) 2002, Lev Povalahev -** All rights reserved. -** -** Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are met: -** -** * Redistributions of source code must retain the above copyright notice, -** this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright notice, -** this list of conditions and the following disclaimer in the documentation -** and/or other materials provided with the distribution. -** * The name of the author may be used to endorse or promote products -** derived from this software without specific prior written permission. -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -** THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef __glew_utils_h__ -#define __glew_utils_h__ - -#include -#if defined(_WIN32) -# include -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) -# include -#endif - -/* - * Define glewGetContext and related helper macros. - */ -#ifdef GLEW_MX -# define glewGetContext() ctx -# ifdef _WIN32 -# define GLEW_CONTEXT_ARG_DEF_INIT GLEWContext* ctx -# define GLEW_CONTEXT_ARG_VAR_INIT ctx -# define wglewGetContext() ctx -# define WGLEW_CONTEXT_ARG_DEF_INIT WGLEWContext* ctx -# define WGLEW_CONTEXT_ARG_DEF_LIST WGLEWContext* ctx -# else /* _WIN32 */ -# define GLEW_CONTEXT_ARG_DEF_INIT void -# define GLEW_CONTEXT_ARG_VAR_INIT -# define glxewGetContext() ctx -# define GLXEW_CONTEXT_ARG_DEF_INIT void -# define GLXEW_CONTEXT_ARG_DEF_LIST GLXEWContext* ctx -# endif /* _WIN32 */ -# define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx -#else /* GLEW_MX */ -# define GLEW_CONTEXT_ARG_DEF_INIT void -# define GLEW_CONTEXT_ARG_VAR_INIT -# define GLEW_CONTEXT_ARG_DEF_LIST void -# define WGLEW_CONTEXT_ARG_DEF_INIT void -# define WGLEW_CONTEXT_ARG_DEF_LIST void -# define GLXEW_CONTEXT_ARG_DEF_INIT void -# define GLXEW_CONTEXT_ARG_DEF_LIST void -#endif /* GLEW_MX */ - -/* - * Define glewGetProcAddress. - */ -#if defined(_WIN32) -# define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name) -#else -# if defined(__APPLE__) - extern void* NSGLGetProcAddress (const GLubyte* name); -# define glewGetProcAddress(name) NSGLGetProcAddress(name) -# else -# if defined(__sgi) || defined(__sun) - extern void* dlGetProcAddress (const GLubyte* name); -# define glewGetProcAddress(name) dlGetProcAddress(name) -# else /* __linux */ -# define glewGetProcAddress(name) (*glXGetProcAddressARB)(name) -# endif -# endif -#endif - -/* - * GLEW, just like OpenGL or GLU, does not rely on the standard C library. - * These functions implement the string processing functionality required in the library. - */ -extern GLuint _glewStrLen (const GLubyte* s); -extern GLuint _glewStrCLen (const GLubyte* s, GLubyte c); -extern GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n); -extern GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb); -extern GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb); -extern GLboolean _glewStrSame3 (GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb) - -#endif /* __glew_utils_h__ */ diff --git a/Externals/GLew/auto/src/glewinfo.rc b/Externals/GLew/auto/src/glewinfo.rc deleted file mode 100644 index 60b001dfdb..0000000000 --- a/Externals/GLew/auto/src/glewinfo.rc +++ /dev/null @@ -1,57 +0,0 @@ - -#include - -#ifdef GLEW_MX -# ifdef _DEBUG -# define FILENAME "glewinfo-mxd.exe" -# else -# define FILENAME "glewinfo-mx.exe" -# endif -#else -# ifdef _DEBUG -# define FILENAME "glewinfod.exe" -# else -# define FILENAME "glewinfo.exe" -# endif -#endif - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// -VS_VERSION_INFO VERSIONINFO -FILEVERSION GLEW_MAJOR, GLEW_MINOR, GLEW_MICRO, 0 -PRODUCTVERSION GLEW_MAJOR, GLEW_MINOR, GLEW_MICRO, 0 -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG -FILEFLAGS VS_FF_DEBUG -#else -FILEFLAGS 0x0L -#endif -FILEOS VOS__WINDOWS32 -FILETYPE VFT_APP -FILESUBTYPE VFT2_UNKNOWN -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "The OpenGL Extension Wrangler Library\r\nCopyright (C) 2002-2008, Milan Ikits \r\nCopyright (C) 2002-2008, Marcelo E. Magallon \r\nCopyright (C) 2002, Lev Povalahev\r\nAll rights reserved.\r\n \r\nRedistribution and use in source and binary forms, with or without \r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, \r\n this list of conditions and the following disclaimer.\r\n* Redistributions in binary form must reproduce the above copyright notice, \r\n this list of conditions and the following disclaimer in the documentation \r\n and/or other materials provided with the distribution.\r\n* The name of the author may be used to endorse or promote products \r\n derived from this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' \r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\nTHE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nLicense Applicability. Except to the extent portions of this file are\r\nmade subject to an alternative license as permitted in the SGI Free\r\nSoftware License B, Version 1.1 (the 'License'), the contents of this\r\nfile are subject only to the provisions of the License. You may not use\r\nthis file except in compliance with the License. You may obtain a copy\r\nof the License at Silicon Graphics, Inc., attn: Legal Services, 1600\r\nAmphitheatre Parkway, Mountain View, CA 94043-1351, or at:\r\n\r\nhttp://oss.sgi.com/projects/FreeB\r\n\r\nNote that, as provided in the License, the Software is distributed on an\r\n'AS IS' basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS\r\nDISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND\r\nCONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A\r\nPARTICULAR PURPOSE, AND NON-INFRINGEMENT.\r\n\r\nOriginal Code. The Original Code is: OpenGL Sample Implementation,\r\nVersion 1.2.1, released January 26, 2000, developed by Silicon Graphics,\r\nInc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.\r\nCopyright in any portions created by third parties is as indicated\r\nelsewhere herein. All Rights Reserved.\r\n\r\nAdditional Notice Provisions: This software was created using the\r\nOpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has\r\nnot been independently verified as being compliant with the OpenGL(R)\r\nversion 1.2.1 Specification.\0" - VALUE "CompanyName", "\0" - VALUE "FileDescription", "Utility for verifying extension entry points\0" - VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0" - VALUE "InternalName", "glewinfo\0" - VALUE "LegalCopyright", " 2002-2008 Milan Ikits & Marcelo Magallon\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", FILENAME "\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "The OpenGL Extension Wrangler Library\0" - VALUE "ProductVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/Externals/GLew/auto/src/glewinfo_gl.c b/Externals/GLew/auto/src/glewinfo_gl.c deleted file mode 100644 index 9d7835d0b8..0000000000 --- a/Externals/GLew/auto/src/glewinfo_gl.c +++ /dev/null @@ -1,7 +0,0 @@ -/* ------------------------------------------------------------------------ */ - -static void glewInfo (void) -{ -#ifdef GL_VERSION_1_1 - _glewInfo_GL_VERSION_1_1(); -#endif /* GL_VERSION_1_1 */ diff --git a/Externals/GLew/auto/src/glewinfo_glx.c b/Externals/GLew/auto/src/glewinfo_glx.c deleted file mode 100644 index 287d7e1fd1..0000000000 --- a/Externals/GLew/auto/src/glewinfo_glx.c +++ /dev/null @@ -1,6 +0,0 @@ -} - -#else /* _UNIX */ - -static void glxewInfo () -{ diff --git a/Externals/GLew/auto/src/glewinfo_head.c b/Externals/GLew/auto/src/glewinfo_head.c deleted file mode 100644 index e1070c5b32..0000000000 --- a/Externals/GLew/auto/src/glewinfo_head.c +++ /dev/null @@ -1,77 +0,0 @@ -#include -#include -#include -#include -#if defined(_WIN32) -#include -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) -#include -#endif - -static FILE* f; - -#ifdef GLEW_MX -GLEWContext _glewctx; -#define glewGetContext() (&_glewctx) -#ifdef _WIN32 -WGLEWContext _wglewctx; -#define wglewGetContext() (&_wglewctx) -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) -GLXEWContext _glxewctx; -#define glxewGetContext() (&_glxewctx) -#endif -#endif - -#if defined(_WIN32) -GLboolean glewCreateContext (int* pixelformat); -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) -GLboolean glewCreateContext (const char* display, int* visual); -#else -GLboolean glewCreateContext (); -#endif - -#if defined(_WIN32) || !defined(__APPLE__) || defined(GLEW_APPLE_GLX) -GLboolean glewParseArgs (int argc, char** argv, char** display, int* visual); -#endif - -void glewDestroyContext (); - -/* ------------------------------------------------------------------------- */ - -static void glewPrintExt (const char* name, GLboolean def1, GLboolean def2, GLboolean def3) -{ - unsigned int i; - fprintf(f, "\n%s:", name); - for (i=0; i<62-strlen(name); i++) fprintf(f, " "); - fprintf(f, "%s ", def1 ? "OK" : "MISSING"); - if (def1 != def2) - fprintf(f, "[%s] ", def2 ? "OK" : "MISSING"); - if (def1 != def3) - fprintf(f, "[%s]\n", def3 ? "OK" : "MISSING"); - else - fprintf(f, "\n"); - for (i=0; i]\n"); -#else - fprintf(stderr, "Usage: glewinfo [-display ] [-visual ]\n"); -#endif - return 1; - } -#endif - -#if defined(_WIN32) - if (GL_TRUE == glewCreateContext(&visual)) -#elif defined(__APPLE__) && !defined(GLEW_APPLE_GLX) - if (GL_TRUE == glewCreateContext()) -#else - if (GL_TRUE == glewCreateContext(display, &visual)) -#endif - { - fprintf(stderr, "Error: glewCreateContext failed\n"); - glewDestroyContext(); - return 1; - } - glewExperimental = GL_TRUE; -#ifdef GLEW_MX - err = glewContextInit(glewGetContext()); -#ifdef _WIN32 - err = err || wglewContextInit(wglewGetContext()); -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) - err = err || glxewContextInit(glxewGetContext()); -#endif - -#else - err = glewInit(); -#endif - if (GLEW_OK != err) - { - fprintf(stderr, "Error [main]: glewInit failed: %s\n", glewGetErrorString(err)); - glewDestroyContext(); - return 1; - } -#if defined(_WIN32) - f = fopen("glewinfo.txt", "w"); - if (f == NULL) f = stdout; -#else - f = stdout; -#endif - fprintf(f, "---------------------------\n"); - fprintf(f, " GLEW Extension Info\n"); - fprintf(f, "---------------------------\n\n"); - fprintf(f, "GLEW version %s\n", glewGetString(GLEW_VERSION)); -#if defined(_WIN32) - fprintf(f, "Reporting capabilities of pixelformat %d\n", visual); -#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) - fprintf(f, "Reporting capabilities of display %s, visual 0x%x\n", - display == NULL ? getenv("DISPLAY") : display, visual); -#endif - fprintf(f, "Running on a %s from %s\n", - glGetString(GL_RENDERER), glGetString(GL_VENDOR)); - fprintf(f, "OpenGL version %s is supported\n", glGetString(GL_VERSION)); - glewInfo(); -#if defined(_WIN32) - wglewInfo(); -#else - glxewInfo(); -#endif - if (f != stdout) fclose(f); - glewDestroyContext(); - return 0; -} - -/* ------------------------------------------------------------------------ */ - -#if defined(_WIN32) || !defined(__APPLE__) || defined(GLEW_APPLE_GLX) -GLboolean glewParseArgs (int argc, char** argv, char** display, int* visual) -{ - int p = 0; - while (p < argc) - { -#if defined(_WIN32) - if (!strcmp(argv[p], "-pf") || !strcmp(argv[p], "-pixelformat")) - { - if (++p >= argc) return GL_TRUE; - *display = 0; - *visual = strtol(argv[p++], NULL, 0); - } - else - return GL_TRUE; -#else - if (!strcmp(argv[p], "-display")) - { - if (++p >= argc) return GL_TRUE; - *display = argv[p++]; - } - else if (!strcmp(argv[p], "-visual")) - { - if (++p >= argc) return GL_TRUE; - *visual = (int)strtol(argv[p++], NULL, 0); - } - else - return GL_TRUE; -#endif - } - return GL_FALSE; -} -#endif - -/* ------------------------------------------------------------------------ */ - -#if defined(_WIN32) - -HWND wnd = NULL; -HDC dc = NULL; -HGLRC rc = NULL; - -GLboolean glewCreateContext (int* pixelformat) -{ - WNDCLASS wc; - PIXELFORMATDESCRIPTOR pfd; - /* register window class */ - ZeroMemory(&wc, sizeof(WNDCLASS)); - wc.hInstance = GetModuleHandle(NULL); - wc.lpfnWndProc = DefWindowProc; - wc.lpszClassName = "GLEW"; - if (0 == RegisterClass(&wc)) return GL_TRUE; - /* create window */ - wnd = CreateWindow("GLEW", "GLEW", 0, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, - CW_USEDEFAULT, NULL, NULL, GetModuleHandle(NULL), NULL); - if (NULL == wnd) return GL_TRUE; - /* get the device context */ - dc = GetDC(wnd); - if (NULL == dc) return GL_TRUE; - /* find pixel format */ - ZeroMemory(&pfd, sizeof(PIXELFORMATDESCRIPTOR)); - if (*pixelformat == -1) /* find default */ - { - pfd.nSize = sizeof(PIXELFORMATDESCRIPTOR); - pfd.nVersion = 1; - pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL; - *pixelformat = ChoosePixelFormat(dc, &pfd); - if (*pixelformat == 0) return GL_TRUE; - } - /* set the pixel format for the dc */ - if (FALSE == SetPixelFormat(dc, *pixelformat, &pfd)) return GL_TRUE; - /* create rendering context */ - rc = wglCreateContext(dc); - if (NULL == rc) return GL_TRUE; - if (FALSE == wglMakeCurrent(dc, rc)) return GL_TRUE; - return GL_FALSE; -} - -void glewDestroyContext () -{ - if (NULL != rc) wglMakeCurrent(NULL, NULL); - if (NULL != rc) wglDeleteContext(rc); - if (NULL != wnd && NULL != dc) ReleaseDC(wnd, dc); - if (NULL != wnd) DestroyWindow(wnd); - UnregisterClass("GLEW", GetModuleHandle(NULL)); -} - -/* ------------------------------------------------------------------------ */ - -#elif defined(__APPLE__) && !defined(GLEW_APPLE_GLX) - -#include - -AGLContext ctx, octx; - -GLboolean glewCreateContext () -{ - int attrib[] = { AGL_RGBA, AGL_NONE }; - AGLPixelFormat pf; - /*int major, minor; - SetPortWindowPort(wnd); - aglGetVersion(&major, &minor); - fprintf(stderr, "GL %d.%d\n", major, minor);*/ - pf = aglChoosePixelFormat(NULL, 0, attrib); - if (NULL == pf) return GL_TRUE; - ctx = aglCreateContext(pf, NULL); - if (NULL == ctx || AGL_NO_ERROR != aglGetError()) return GL_TRUE; - aglDestroyPixelFormat(pf); - /*aglSetDrawable(ctx, GetWindowPort(wnd));*/ - octx = aglGetCurrentContext(); - if (GL_FALSE == aglSetCurrentContext(ctx)) return GL_TRUE; - return GL_FALSE; -} - -void glewDestroyContext () -{ - aglSetCurrentContext(octx); - if (NULL != ctx) aglDestroyContext(ctx); -} - -/* ------------------------------------------------------------------------ */ - -#else /* __UNIX || (__APPLE__ && GLEW_APPLE_GLX) */ - -Display* dpy = NULL; -XVisualInfo* vi = NULL; -XVisualInfo* vis = NULL; -GLXContext ctx = NULL; -Window wnd = 0; -Colormap cmap = 0; - -GLboolean glewCreateContext (const char* display, int* visual) -{ - int attrib[] = { GLX_RGBA, GLX_DOUBLEBUFFER, None }; - int erb, evb; - XSetWindowAttributes swa; - /* open display */ - dpy = XOpenDisplay(display); - if (NULL == dpy) return GL_TRUE; - /* query for glx */ - if (!glXQueryExtension(dpy, &erb, &evb)) return GL_TRUE; - /* choose visual */ - if (*visual == -1) - { - vi = glXChooseVisual(dpy, DefaultScreen(dpy), attrib); - if (NULL == vi) return GL_TRUE; - *visual = (int)XVisualIDFromVisual(vi->visual); - } - else - { - int n_vis, i; - vis = XGetVisualInfo(dpy, 0, NULL, &n_vis); - for (i=0; iscreen), 0, 0, 1, 1, 1, 0, 0);*/ - cmap = XCreateColormap(dpy, RootWindow(dpy, vi->screen), vi->visual, AllocNone); - swa.border_pixel = 0; - swa.colormap = cmap; - wnd = XCreateWindow(dpy, RootWindow(dpy, vi->screen), - 0, 0, 1, 1, 0, vi->depth, InputOutput, vi->visual, - CWBorderPixel | CWColormap, &swa); - /* make context current */ - if (!glXMakeCurrent(dpy, wnd, ctx)) return GL_TRUE; - return GL_FALSE; -} - -void glewDestroyContext () -{ - if (NULL != dpy && NULL != ctx) glXDestroyContext(dpy, ctx); - if (NULL != dpy && 0 != wnd) XDestroyWindow(dpy, wnd); - if (NULL != dpy && 0 != cmap) XFreeColormap(dpy, cmap); - if (NULL != vis) - XFree(vis); - else if (NULL != vi) - XFree(vi); - if (NULL != dpy) XCloseDisplay(dpy); -} - -#endif /* __UNIX || (__APPLE__ && GLEW_APPLE_GLX) */ diff --git a/Externals/GLew/auto/src/glewinfo_wgl.c b/Externals/GLew/auto/src/glewinfo_wgl.c deleted file mode 100644 index 61f101a090..0000000000 --- a/Externals/GLew/auto/src/glewinfo_wgl.c +++ /dev/null @@ -1,8 +0,0 @@ -} - -/* ------------------------------------------------------------------------ */ - -#ifdef _WIN32 - -static void wglewInfo () -{ diff --git a/Externals/GLew/auto/src/glxew_head.h b/Externals/GLew/auto/src/glxew_head.h deleted file mode 100644 index 16fdfa4126..0000000000 --- a/Externals/GLew/auto/src/glxew_head.h +++ /dev/null @@ -1,106 +0,0 @@ -#ifndef __glxew_h__ -#define __glxew_h__ -#define __GLXEW_H__ - -#ifdef __glxext_h_ -#error glxext.h included before glxew.h -#endif - -#if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__) -#error glx.h included before glxew.h -#endif - -#define __glxext_h_ - -#define GLX_H -#define __GLX_glx_h__ -#define __glx_h__ - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ---------------------------- GLX_VERSION_1_0 --------------------------- */ - -#ifndef GLX_VERSION_1_0 -#define GLX_VERSION_1_0 1 - -#define GLX_USE_GL 1 -#define GLX_BUFFER_SIZE 2 -#define GLX_LEVEL 3 -#define GLX_RGBA 4 -#define GLX_DOUBLEBUFFER 5 -#define GLX_STEREO 6 -#define GLX_AUX_BUFFERS 7 -#define GLX_RED_SIZE 8 -#define GLX_GREEN_SIZE 9 -#define GLX_BLUE_SIZE 10 -#define GLX_ALPHA_SIZE 11 -#define GLX_DEPTH_SIZE 12 -#define GLX_STENCIL_SIZE 13 -#define GLX_ACCUM_RED_SIZE 14 -#define GLX_ACCUM_GREEN_SIZE 15 -#define GLX_ACCUM_BLUE_SIZE 16 -#define GLX_ACCUM_ALPHA_SIZE 17 -#define GLX_BAD_SCREEN 1 -#define GLX_BAD_ATTRIBUTE 2 -#define GLX_NO_EXTENSION 3 -#define GLX_BAD_VISUAL 4 -#define GLX_BAD_CONTEXT 5 -#define GLX_BAD_VALUE 6 -#define GLX_BAD_ENUM 7 - -typedef XID GLXDrawable; -typedef XID GLXPixmap; -#ifdef __sun -typedef struct __glXContextRec *GLXContext; -#else -typedef struct __GLXcontextRec *GLXContext; -#endif - -typedef unsigned int GLXVideoDeviceNV; - -extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase); -extern Bool glXQueryVersion (Display *dpy, int *major, int *minor); -extern int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value); -extern XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList); -extern GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap); -extern void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix); -extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); -extern void glXDestroyContext (Display *dpy, GLXContext ctx); -extern Bool glXIsDirect (Display *dpy, GLXContext ctx); -extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask); -extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx); -extern GLXContext glXGetCurrentContext (void); -extern GLXDrawable glXGetCurrentDrawable (void); -extern void glXWaitGL (void); -extern void glXWaitX (void); -extern void glXSwapBuffers (Display *dpy, GLXDrawable drawable); -extern void glXUseXFont (Font font, int first, int count, int listBase); - -#define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0) - -#endif /* GLX_VERSION_1_0 */ - -/* ---------------------------- GLX_VERSION_1_1 --------------------------- */ - -#ifndef GLX_VERSION_1_1 -#define GLX_VERSION_1_1 - -#define GLX_VENDOR 0x1 -#define GLX_VERSION 0x2 -#define GLX_EXTENSIONS 0x3 - -extern const char* glXQueryExtensionsString (Display *dpy, int screen); -extern const char* glXGetClientString (Display *dpy, int name); -extern const char* glXQueryServerString (Display *dpy, int screen, int name); - -#define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1) - -#endif /* GLX_VERSION_1_1 */ - diff --git a/Externals/GLew/auto/src/glxew_tail.h b/Externals/GLew/auto/src/glxew_tail.h deleted file mode 100644 index 702eb94447..0000000000 --- a/Externals/GLew/auto/src/glxew_tail.h +++ /dev/null @@ -1,30 +0,0 @@ -/* ------------------------------------------------------------------------ */ - -#ifdef GLEW_MX - -typedef struct GLXEWContextStruct GLXEWContext; -extern GLenum glxewContextInit (GLXEWContext* ctx); -extern GLboolean glxewContextIsSupported (GLXEWContext* ctx, const char* name); - -#define glxewInit() glxewContextInit(glxewGetContext()) -#define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x) - -#define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x)) -#define GLXEW_GET_FUN(x) x - -#else /* GLEW_MX */ - -#define GLXEW_GET_VAR(x) (*(const GLboolean*)&x) -#define GLXEW_GET_FUN(x) x - -extern GLboolean glxewIsSupported (const char* name); - -#endif /* GLEW_MX */ - -extern GLboolean glxewGetExtension (const char* name); - -#ifdef __cplusplus -} -#endif - -#endif /* __glxew_h__ */ diff --git a/Externals/GLew/auto/src/header.html b/Externals/GLew/auto/src/header.html deleted file mode 100644 index c33dd3888c..0000000000 --- a/Externals/GLew/auto/src/header.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - diff --git a/Externals/GLew/auto/src/khronos_license.h b/Externals/GLew/auto/src/khronos_license.h deleted file mode 100644 index 420cd72273..0000000000 --- a/Externals/GLew/auto/src/khronos_license.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -** Copyright (c) 2007 The Khronos Group Inc. -** -** Permission is hereby granted, free of charge, to any person obtaining a -** copy of this software and/or associated documentation files (the -** "Materials"), to deal in the Materials without restriction, including -** without limitation the rights to use, copy, modify, merge, publish, -** distribute, sublicense, and/or sell copies of the Materials, and to -** permit persons to whom the Materials are furnished to do so, subject to -** the following conditions: -** -** The above copyright notice and this permission notice shall be included -** in all copies or substantial portions of the Materials. -** -** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. -*/ - diff --git a/Externals/GLew/auto/src/mesa_license.h b/Externals/GLew/auto/src/mesa_license.h deleted file mode 100644 index 3350cca3f0..0000000000 --- a/Externals/GLew/auto/src/mesa_license.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Mesa 3-D graphics library - * Version: 7.0 - * - * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - diff --git a/Externals/GLew/auto/src/visualinfo.rc b/Externals/GLew/auto/src/visualinfo.rc deleted file mode 100644 index 2373944577..0000000000 --- a/Externals/GLew/auto/src/visualinfo.rc +++ /dev/null @@ -1,57 +0,0 @@ - -#include - -#ifdef GLEW_MX -# ifdef _DEBUG -# define FILENAME "visualinfo-mxd.exe" -# else -# define FILENAME "visualinfo-mx.exe" -# endif -#else -# ifdef _DEBUG -# define FILENAME "visualinfod.exe" -# else -# define FILENAME "visualinfo.exe" -# endif -#endif - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// -VS_VERSION_INFO VERSIONINFO -FILEVERSION GLEW_MAJOR, GLEW_MINOR, GLEW_MICRO, 0 -PRODUCTVERSION GLEW_MAJOR, GLEW_MINOR, GLEW_MICRO, 0 -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG -FILEFLAGS VS_FF_DEBUG -#else -FILEFLAGS 0x0L -#endif -FILEOS VOS__WINDOWS32 -FILETYPE VFT_APP -FILESUBTYPE VFT2_UNKNOWN -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "The OpenGL Extension Wrangler Library\r\nCopyright (C) 2002-2008, Milan Ikits \r\nCopyright (C) 2002-2008, Marcelo E. Magallon \r\nCopyright (C) 2002, Lev Povalahev\r\nAll rights reserved.\r\n \r\nRedistribution and use in source and binary forms, with or without \r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, \r\n this list of conditions and the following disclaimer.\r\n* Redistributions in binary form must reproduce the above copyright notice, \r\n this list of conditions and the following disclaimer in the documentation \r\n and/or other materials provided with the distribution.\r\n* The name of the author may be used to endorse or promote products \r\n derived from this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' \r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\nTHE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nLicense Applicability. Except to the extent portions of this file are\r\nmade subject to an alternative license as permitted in the SGI Free\r\nSoftware License B, Version 1.1 (the 'License'), the contents of this\r\nfile are subject only to the provisions of the License. You may not use\r\nthis file except in compliance with the License. You may obtain a copy\r\nof the License at Silicon Graphics, Inc., attn: Legal Services, 1600\r\nAmphitheatre Parkway, Mountain View, CA 94043-1351, or at:\r\n\r\nhttp://oss.sgi.com/projects/FreeB\r\n\r\nNote that, as provided in the License, the Software is distributed on an\r\n'AS IS' basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS\r\nDISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND\r\nCONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A\r\nPARTICULAR PURPOSE, AND NON-INFRINGEMENT.\r\n\r\nOriginal Code. The Original Code is: OpenGL Sample Implementation,\r\nVersion 1.2.1, released January 26, 2000, developed by Silicon Graphics,\r\nInc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.\r\nCopyright in any portions created by third parties is as indicated\r\nelsewhere herein. All Rights Reserved.\r\n\r\nAdditional Notice Provisions: This software was created using the\r\nOpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has\r\nnot been independently verified as being compliant with the OpenGL(R)\r\nversion 1.2.1 Specification.\0" - VALUE "CompanyName", "\0" - VALUE "FileDescription", "Utility for listing pixelformat capabilities\0" - VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0" - VALUE "InternalName", "visualinfo\0" - VALUE "LegalCopyright", " 2002-2008 Milan Ikits & Marcelo Magallon\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", FILENAME "\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "The OpenGL Extension Wrangler Library\0" - VALUE "ProductVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/Externals/GLew/auto/src/wglew_head.h b/Externals/GLew/auto/src/wglew_head.h deleted file mode 100644 index df8850392f..0000000000 --- a/Externals/GLew/auto/src/wglew_head.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef __wglew_h__ -#define __wglew_h__ -#define __WGLEW_H__ - -#ifdef __wglext_h_ -#error wglext.h included before wglew.h -#endif - -#define __wglext_h_ - -#if !defined(WINAPI) -# ifndef WIN32_LEAN_AND_MEAN -# define WIN32_LEAN_AND_MEAN 1 -# endif -#include -# undef WIN32_LEAN_AND_MEAN -#endif - -/* - * GLEW_STATIC needs to be set when using the static version. - * GLEW_BUILD is set when building the DLL version. - */ -#ifdef GLEW_STATIC -# define GLEWAPI extern -#else -# ifdef GLEW_BUILD -# define GLEWAPI extern __declspec(dllexport) -# else -# define GLEWAPI extern __declspec(dllimport) -# endif -#endif - -#ifdef __cplusplus -extern "C" { -#endif - diff --git a/Externals/GLew/auto/src/wglew_tail.h b/Externals/GLew/auto/src/wglew_tail.h deleted file mode 100644 index 7bb9bf8a95..0000000000 --- a/Externals/GLew/auto/src/wglew_tail.h +++ /dev/null @@ -1,32 +0,0 @@ -/* ------------------------------------------------------------------------- */ - -#ifdef GLEW_MX - -typedef struct WGLEWContextStruct WGLEWContext; -GLEWAPI GLenum wglewContextInit (WGLEWContext* ctx); -GLEWAPI GLboolean wglewContextIsSupported (WGLEWContext* ctx, const char* name); - -#define wglewInit() wglewContextInit(wglewGetContext()) -#define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x) - -#define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x)) -#define WGLEW_GET_FUN(x) wglewGetContext()->x - -#else /* GLEW_MX */ - -#define WGLEW_GET_VAR(x) (*(const GLboolean*)&x) -#define WGLEW_GET_FUN(x) x - -GLEWAPI GLboolean wglewIsSupported (const char* name); - -#endif /* GLEW_MX */ - -GLEWAPI GLboolean wglewGetExtension (const char* name); - -#ifdef __cplusplus -} -#endif - -#undef GLEWAPI - -#endif /* __wglew_h__ */ diff --git a/Externals/GLew/build/vc6/Makefile b/Externals/GLew/build/vc6/Makefile deleted file mode 100644 index 9f0ab41c83..0000000000 --- a/Externals/GLew/build/vc6/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -MSDEV := msdev -RM := rm -rf - -default: - $(MSDEV) glew.dsw /make \ - "glew_static - Win32 Release" \ - "glew_shared - Win32 Release" \ - "glewinfo - Win32 Release" \ - "visualinfo - Win32 Release" /build - -mx: - $(MSDEV) glew.dsw /make \ - "glew_static - Win32 Release MX" \ - "glew_shared - Win32 Release MX" \ - "glewinfo - Win32 Release MX" \ - "visualinfo - Win32 Release MX" /build - -debug: - $(MSDEV) glew.dsw /make \ - "glew_static - Win32 Debug" \ - "glew_shared - Win32 Debug" \ - "glewinfo - Win32 Debug" \ - "visualinfo - Win32 Debug" /build - - -clean: - $(MSDEV) glew.dsw /make all /clean - $(RM) static shared *.plg *.ncb *.opt diff --git a/Externals/GLew/build/vc6/glew.dsw b/Externals/GLew/build/vc6/glew.dsw deleted file mode 100644 index c201779eb7..0000000000 --- a/Externals/GLew/build/vc6/glew.dsw +++ /dev/null @@ -1,71 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "glew_shared"=.\glew_shared.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "glew_static"=.\glew_static.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Project: "glewinfo"=.\glewinfo.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name glew_static - End Project Dependency -}}} - -############################################################################### - -Project: "visualinfo"=.\visualinfo.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ - Begin Project Dependency - Project_Dep_Name glew_static - End Project Dependency -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/Externals/GLew/build/vc6/glew.rc b/Externals/GLew/build/vc6/glew.rc deleted file mode 100644 index a806f717ae..0000000000 --- a/Externals/GLew/build/vc6/glew.rc +++ /dev/null @@ -1,77 +0,0 @@ - -#include - -#ifdef GLEW_MX -# ifdef GLEW_STATIC -# ifdef _DEBUG -# define FILENAME "glew32mxsd.dll" -# else -# define FILENAME "glew32mxs.dll" -# endif -# else -# ifdef _DEBUG -# define FILENAME "glew32mxd.dll" -# else -# define FILENAME "glew32mx.dll" -# endif -# endif -#else -# ifdef GLEW_STATIC -# ifdef _DEBUG -# define FILENAME "glew32sd.dll" -# else -# define FILENAME "glew32s.dll" -# endif -# else -# ifdef _DEBUG -# define FILENAME "glew32d.dll" -# else -# define FILENAME "glew32.dll" -# endif -# endif -#endif - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// -VS_VERSION_INFO VERSIONINFO -FILEVERSION 1, 5, 4, 0 -PRODUCTVERSION 1, 5, 4, 0 -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG -FILEFLAGS VS_FF_DEBUG -#else -FILEFLAGS 0x0L -#endif -FILEOS VOS__WINDOWS32 -#ifdef GLEW_STATIC -FILETYPE VFT_STATIC_LIB -#else -FILETYPE VFT_DLL -#endif -FILESUBTYPE VFT2_UNKNOWN -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "The OpenGL Extension Wrangler Library\r\nCopyright (C) 2002-2008, Milan Ikits \r\nCopyright (C) 2002-2008, Marcelo E. Magallon \r\nCopyright (C) 2002, Lev Povalahev\r\nAll rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without \r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, \r\n this list of conditions and the following disclaimer.\r\n* Redistributions in binary form must reproduce the above copyright notice, \r\n this list of conditions and the following disclaimer in the documentation \r\n and/or other materials provided with the distribution.\r\n* The name of the author may be used to endorse or promote products \r\n derived from this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ''AS IS'' \r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\nTHE POSSIBILITY OF SUCH DAMAGE.\r\n\r\n\r\nMesa 3-D graphics library\r\n\r\nVersion: 7.0\r\n\r\nCopyright (C) 1999-2007 Brian Paul All Rights Reserved.\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a\r\ncopy of this software and associated documentation files (the ''Software''),\r\nto deal in the Software without restriction, including without limitation\r\nthe rights to use, copy, modify, merge, publish, distribute, sublicense,\r\nand/or sell copies of the Software, and to permit persons to whom the\r\nSoftware is furnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included\r\nin all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r\nBRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\nAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n\r\n\r\nCopyright (c) 2007 The Khronos Group Inc.\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a\r\ncopy of this software and/or associated documentation files (the\r\n''Materials''), to deal in the Materials without restriction, including\r\nwithout limitation the rights to use, copy, modify, merge, publish,\r\ndistribute, sublicense, and/or sell copies of the Materials, and to\r\npermit persons to whom the Materials are furnished to do so, subject to\r\nthe following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included\r\nin all copies or substantial portions of the Materials.\r\n\r\nTHE MATERIALS ARE PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\nMATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.\0" - VALUE "CompanyName", "\0" - VALUE "FileDescription", "The OpenGL Extension Wrangler Library\0" - VALUE "FileVersion", "1,5,4,0\0" - VALUE "InternalName", "GLEW\0" - VALUE "LegalCopyright", " 2002-2008 Milan Ikits & Marcelo Magallon\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", FILENAME "\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "The OpenGL Extension Wrangler Library\0" - VALUE "ProductVersion", "1,5,4,0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/Externals/GLew/build/vc6/glew_shared.dsp b/Externals/GLew/build/vc6/glew_shared.dsp deleted file mode 100644 index 25278e0731..0000000000 --- a/Externals/GLew/build/vc6/glew_shared.dsp +++ /dev/null @@ -1,184 +0,0 @@ -# Microsoft Developer Studio Project File - Name="glew_shared" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=glew_shared - Win32 Debug MX -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "glew_shared.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "glew_shared.mak" CFG="glew_shared - Win32 Debug MX" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "glew_shared - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "glew_shared - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "glew_shared - Win32 Debug MX" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "glew_shared - Win32 Release MX" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "glew_shared - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../lib" -# PROP Intermediate_Dir "shared/release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GLEW_EXPORTS" /YX /FD /c -# ADD CPP /nologo /W3 /O2 /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_BUILD" /YX /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 opengl32.lib /nologo /dll /pdb:none /machine:I386 /out:"../../bin/glew32.dll" /ignore:4089 -# ADD LINK32 /base:0x62AA0000 - -!ELSEIF "$(CFG)" == "glew_shared - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../lib" -# PROP Intermediate_Dir "shared/debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GLEW_EXPORTS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_BUILD" /YX /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 opengl32.lib /nologo /dll /incremental:no /debug /machine:I386 /out:"../../bin/glew32d.dll" /pdbtype:sept -# SUBTRACT LINK32 /pdb:none -# ADD LINK32 /base:0x62AA0000 - -!ELSEIF "$(CFG)" == "glew_shared - Win32 Debug MX" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "glew_shared___Win32_Debug_MX" -# PROP BASE Intermediate_Dir "glew_shared___Win32_Debug_MX" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../lib" -# PROP Intermediate_Dir "shared/debug-mx" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_BUILD" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_MX" /D "GLEW_BUILD" /YX /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" /d "GLEW_MX" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 opengl32.lib /nologo /dll /incremental:no /pdb:"../../lib/glew32d.pdb" /debug /machine:I386 /out:"../../lib/glew32d.dll" /implib:"../../lib/glew32d.lib" /pdbtype:sept -# SUBTRACT BASE LINK32 /pdb:none -# ADD LINK32 opengl32.lib /nologo /dll /incremental:no /debug /machine:I386 /out:"../../bin/glew32mxd.dll" /pdbtype:sept -# SUBTRACT LINK32 /pdb:none -# ADD LINK32 /base:0x62AA0000 - -!ELSEIF "$(CFG)" == "glew_shared - Win32 Release MX" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "glew_shared___Win32_Release_MX" -# PROP BASE Intermediate_Dir "glew_shared___Win32_Release_MX" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../lib" -# PROP Intermediate_Dir "shared/release-mx" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /O2 /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_BUILD" /YX /FD /c -# ADD CPP /nologo /W3 /O2 /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_MX" /D "GLEW_BUILD" /YX /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" /d "GLEW_MX" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 opengl32.lib /nologo /dll /pdb:none /machine:I386 /out:"../../lib/glew32.dll" /implib:"../../lib/glew32.lib" /ignore:4089 -# ADD LINK32 opengl32.lib /nologo /dll /pdb:none /machine:I386 /out:"../../bin/glew32mx.dll" /ignore:4089 -# ADD LINK32 /base:0x62AA0000 - -!ENDIF - -# Begin Target - -# Name "glew_shared - Win32 Release" -# Name "glew_shared - Win32 Debug" -# Name "glew_shared - Win32 Debug MX" -# Name "glew_shared - Win32 Release MX" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\glew.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\include\GL\glew.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\GL\wglew.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\glew.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/Externals/GLew/build/vc6/glew_static.dsp b/Externals/GLew/build/vc6/glew_static.dsp deleted file mode 100644 index 5bc2851ef0..0000000000 --- a/Externals/GLew/build/vc6/glew_static.dsp +++ /dev/null @@ -1,162 +0,0 @@ -# Microsoft Developer Studio Project File - Name="glew_static" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=glew_static - Win32 Debug MX -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "glew_static.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "glew_static.mak" CFG="glew_static - Win32 Debug MX" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "glew_static - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "glew_static - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE "glew_static - Win32 Debug MX" (based on "Win32 (x86) Static Library") -!MESSAGE "glew_static - Win32 Release MX" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "glew_static - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../lib" -# PROP Intermediate_Dir "static/release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" /d "GLEW_STATIC" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"../../lib/glew32s.lib" - -!ELSEIF "$(CFG)" == "glew_static - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../lib" -# PROP Intermediate_Dir "static/debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" /d "GLEW_STATIC" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo /out:"../../lib/glew32sd.lib" - -!ELSEIF "$(CFG)" == "glew_static - Win32 Debug MX" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "glew_static___Win32_Debug_MX" -# PROP BASE Intermediate_Dir "glew_static___Win32_Debug_MX" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../lib" -# PROP Intermediate_Dir "static/debug-mx" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_MX" /D "GLEW_STATIC" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" /d "GLEW_MX" /d "GLEW_STATIC" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"../../lib/glew32sd.lib" -# ADD LIB32 /nologo /out:"../../lib/glew32mxsd.lib" - -!ELSEIF "$(CFG)" == "glew_static - Win32 Release MX" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "glew_static___Win32_Release_MX" -# PROP BASE Intermediate_Dir "glew_static___Win32_Release_MX" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../lib" -# PROP Intermediate_Dir "static/release-mx" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_MX" /D "GLEW_STATIC" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" /d "GLEW_MX" /d "GLEW_STATIC" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo /out:"../../lib/glew32s.lib" -# ADD LIB32 /nologo /out:"../../lib/glew32mxs.lib" - -!ENDIF - -# Begin Target - -# Name "glew_static - Win32 Release" -# Name "glew_static - Win32 Debug" -# Name "glew_static - Win32 Debug MX" -# Name "glew_static - Win32 Release MX" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\glew.c -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=..\..\include\GL\glew.h -# End Source File -# Begin Source File - -SOURCE=..\..\include\GL\wglew.h -# End Source File -# End Group -# Begin Group "Resources" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\glew.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/Externals/GLew/build/vc6/glewinfo.dsp b/Externals/GLew/build/vc6/glewinfo.dsp deleted file mode 100644 index f75c1fc395..0000000000 --- a/Externals/GLew/build/vc6/glewinfo.dsp +++ /dev/null @@ -1,159 +0,0 @@ -# Microsoft Developer Studio Project File - Name="glewinfo" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=glewinfo - Win32 Debug MX -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "glewinfo.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "glewinfo.mak" CFG="glewinfo - Win32 Debug MX" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "glewinfo - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "glewinfo - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "glewinfo - Win32 Debug MX" (based on "Win32 (x86) Console Application") -!MESSAGE "glewinfo - Win32 Release MX" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "glewinfo - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../bin" -# PROP Intermediate_Dir "static/release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 ../../lib/glew32s.lib opengl32.lib gdi32.lib user32.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "glewinfo - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../bin" -# PROP Intermediate_Dir "static/debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ../../lib/glew32sd.lib opengl32.lib gdi32.lib user32.lib /nologo /subsystem:console /incremental:no /pdb:"static/debug/glewinfod.pdb" /debug /machine:I386 /out:"../../bin/glewinfod.exe" /pdbtype:sept -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "glewinfo - Win32 Debug MX" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "glewinfo___Win32_Debug_MX" -# PROP BASE Intermediate_Dir "glewinfo___Win32_Debug_MX" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../bin" -# PROP Intermediate_Dir "static/debug-mx" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "GLEW_STATIC" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "GLEW_MX" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" /d "GLEW_MX" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 ../../lib/glew32sd.lib opengl32.lib gdi32.lib user32.lib /nologo /subsystem:console /incremental:no /pdb:"static/debug/glewinfod.pdb" /debug /machine:I386 /out:"../../bin/glewinfod.exe" /pdbtype:sept -# SUBTRACT BASE LINK32 /pdb:none -# ADD LINK32 ../../lib/glew32mxsd.lib opengl32.lib gdi32.lib user32.lib /nologo /subsystem:console /incremental:no /pdb:"static/debug/glewinfod.pdb" /debug /machine:I386 /out:"../../bin/glewinfo-mxd.exe" /pdbtype:sept -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "glewinfo - Win32 Release MX" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "glewinfo___Win32_Release_MX" -# PROP BASE Intermediate_Dir "glewinfo___Win32_Release_MX" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../bin" -# PROP Intermediate_Dir "static/release-mx" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_MX" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" /d "GLEW_MX" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 ../../lib/glew32s.lib opengl32.lib gdi32.lib user32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 ../../lib/glew32mxs.lib opengl32.lib gdi32.lib user32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/glewinfo-mx.exe" - -!ENDIF - -# Begin Target - -# Name "glewinfo - Win32 Release" -# Name "glewinfo - Win32 Debug" -# Name "glewinfo - Win32 Debug MX" -# Name "glewinfo - Win32 Release MX" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\glewinfo.c -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\glewinfo.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/Externals/GLew/build/vc6/glewinfo.rc b/Externals/GLew/build/vc6/glewinfo.rc deleted file mode 100644 index e3d3956c92..0000000000 --- a/Externals/GLew/build/vc6/glewinfo.rc +++ /dev/null @@ -1,57 +0,0 @@ - -#include - -#ifdef GLEW_MX -# ifdef _DEBUG -# define FILENAME "glewinfo-mxd.exe" -# else -# define FILENAME "glewinfo-mx.exe" -# endif -#else -# ifdef _DEBUG -# define FILENAME "glewinfod.exe" -# else -# define FILENAME "glewinfo.exe" -# endif -#endif - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// -VS_VERSION_INFO VERSIONINFO -FILEVERSION 1, 5, 4, 0 -PRODUCTVERSION 1, 5, 4, 0 -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG -FILEFLAGS VS_FF_DEBUG -#else -FILEFLAGS 0x0L -#endif -FILEOS VOS__WINDOWS32 -FILETYPE VFT_APP -FILESUBTYPE VFT2_UNKNOWN -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "The OpenGL Extension Wrangler Library\r\nCopyright (C) 2002-2008, Milan Ikits \r\nCopyright (C) 2002-2008, Marcelo E. Magallon \r\nCopyright (C) 2002, Lev Povalahev\r\nAll rights reserved.\r\n \r\nRedistribution and use in source and binary forms, with or without \r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, \r\n this list of conditions and the following disclaimer.\r\n* Redistributions in binary form must reproduce the above copyright notice, \r\n this list of conditions and the following disclaimer in the documentation \r\n and/or other materials provided with the distribution.\r\n* The name of the author may be used to endorse or promote products \r\n derived from this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' \r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\nTHE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nLicense Applicability. Except to the extent portions of this file are\r\nmade subject to an alternative license as permitted in the SGI Free\r\nSoftware License B, Version 1.1 (the 'License'), the contents of this\r\nfile are subject only to the provisions of the License. You may not use\r\nthis file except in compliance with the License. You may obtain a copy\r\nof the License at Silicon Graphics, Inc., attn: Legal Services, 1600\r\nAmphitheatre Parkway, Mountain View, CA 94043-1351, or at:\r\n\r\nhttp://oss.sgi.com/projects/FreeB\r\n\r\nNote that, as provided in the License, the Software is distributed on an\r\n'AS IS' basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS\r\nDISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND\r\nCONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A\r\nPARTICULAR PURPOSE, AND NON-INFRINGEMENT.\r\n\r\nOriginal Code. The Original Code is: OpenGL Sample Implementation,\r\nVersion 1.2.1, released January 26, 2000, developed by Silicon Graphics,\r\nInc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.\r\nCopyright in any portions created by third parties is as indicated\r\nelsewhere herein. All Rights Reserved.\r\n\r\nAdditional Notice Provisions: This software was created using the\r\nOpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has\r\nnot been independently verified as being compliant with the OpenGL(R)\r\nversion 1.2.1 Specification.\0" - VALUE "CompanyName", "\0" - VALUE "FileDescription", "Utility for verifying extension entry points\0" - VALUE "FileVersion", "1,5,4,0\0" - VALUE "InternalName", "glewinfo\0" - VALUE "LegalCopyright", " 2002-2008 Milan Ikits & Marcelo Magallon\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", FILENAME "\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "The OpenGL Extension Wrangler Library\0" - VALUE "ProductVersion", "1,5,4,0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/Externals/GLew/build/vc6/visualinfo.dsp b/Externals/GLew/build/vc6/visualinfo.dsp deleted file mode 100644 index 7a61ee9f88..0000000000 --- a/Externals/GLew/build/vc6/visualinfo.dsp +++ /dev/null @@ -1,159 +0,0 @@ -# Microsoft Developer Studio Project File - Name="visualinfo" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=visualinfo - Win32 Debug MX -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "visualinfo.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "visualinfo.mak" CFG="visualinfo - Win32 Debug MX" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "visualinfo - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "visualinfo - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "visualinfo - Win32 Debug MX" (based on "Win32 (x86) Console Application") -!MESSAGE "visualinfo - Win32 Release MX" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "visualinfo - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../bin" -# PROP Intermediate_Dir "static/release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 ../../lib/glew32s.lib glu32.lib opengl32.lib gdi32.lib user32.lib kernel32.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "visualinfo - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../bin" -# PROP Intermediate_Dir "static/debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 ../../lib/glew32sd.lib glu32.lib opengl32.lib gdi32.lib user32.lib kernel32.lib /nologo /subsystem:console /incremental:no /pdb:"static/debug/visualinfod.pdb" /debug /machine:I386 /out:"../../bin/visualinfod.exe" /pdbtype:sept -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "visualinfo - Win32 Debug MX" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "visualinfo___Win32_Debug_MX" -# PROP BASE Intermediate_Dir "visualinfo___Win32_Debug_MX" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "../../bin" -# PROP Intermediate_Dir "static/debug-mx" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "GLEW_STATIC" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "GLEW_MX" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" /d "GLEW_MX" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 ../../lib/glew32sd.lib glu32.lib opengl32.lib gdi32.lib user32.lib kernel32.lib /nologo /subsystem:console /incremental:no /pdb:"static/debug/visualinfod.pdb" /debug /machine:I386 /out:"../../bin/visualinfod.exe" /pdbtype:sept -# SUBTRACT BASE LINK32 /pdb:none -# ADD LINK32 ../../lib/glew32mxsd.lib glu32.lib opengl32.lib gdi32.lib user32.lib kernel32.lib /nologo /subsystem:console /incremental:no /pdb:"static/debug/visualinfod.pdb" /debug /machine:I386 /out:"../../bin/visualinfo-mxd.exe" /pdbtype:sept -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "visualinfo - Win32 Release MX" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "visualinfo___Win32_Release_MX" -# PROP BASE Intermediate_Dir "visualinfo___Win32_Release_MX" -# PROP BASE Ignore_Export_Lib 0 -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "../../bin" -# PROP Intermediate_Dir "static/release-mx" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_MX" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" /d "GLEW_MX" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 ../../lib/glew32s.lib glu32.lib opengl32.lib gdi32.lib user32.lib kernel32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 ../../lib/glew32mxs.lib glu32.lib opengl32.lib gdi32.lib user32.lib kernel32.lib /nologo /subsystem:console /machine:I386 /out:"../../bin/visualinfo-mx.exe" - -!ENDIF - -# Begin Target - -# Name "visualinfo - Win32 Release" -# Name "visualinfo - Win32 Debug" -# Name "visualinfo - Win32 Debug MX" -# Name "visualinfo - Win32 Release MX" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=..\..\src\visualinfo.c -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\visualinfo.rc -# End Source File -# End Group -# End Target -# End Project diff --git a/Externals/GLew/build/vc6/visualinfo.rc b/Externals/GLew/build/vc6/visualinfo.rc deleted file mode 100644 index 873ce78859..0000000000 --- a/Externals/GLew/build/vc6/visualinfo.rc +++ /dev/null @@ -1,57 +0,0 @@ - -#include - -#ifdef GLEW_MX -# ifdef _DEBUG -# define FILENAME "visualinfo-mxd.exe" -# else -# define FILENAME "visualinfo-mx.exe" -# endif -#else -# ifdef _DEBUG -# define FILENAME "visualinfod.exe" -# else -# define FILENAME "visualinfo.exe" -# endif -#endif - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// -VS_VERSION_INFO VERSIONINFO -FILEVERSION 1, 5, 4, 0 -PRODUCTVERSION 1, 5, 4, 0 -FILEFLAGSMASK VS_FFI_FILEFLAGSMASK -#ifdef _DEBUG -FILEFLAGS VS_FF_DEBUG -#else -FILEFLAGS 0x0L -#endif -FILEOS VOS__WINDOWS32 -FILETYPE VFT_APP -FILESUBTYPE VFT2_UNKNOWN -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904b0" - BEGIN - VALUE "Comments", "The OpenGL Extension Wrangler Library\r\nCopyright (C) 2002-2008, Milan Ikits \r\nCopyright (C) 2002-2008, Marcelo E. Magallon \r\nCopyright (C) 2002, Lev Povalahev\r\nAll rights reserved.\r\n \r\nRedistribution and use in source and binary forms, with or without \r\nmodification, are permitted provided that the following conditions are met:\r\n\r\n* Redistributions of source code must retain the above copyright notice, \r\n this list of conditions and the following disclaimer.\r\n* Redistributions in binary form must reproduce the above copyright notice, \r\n this list of conditions and the following disclaimer in the documentation \r\n and/or other materials provided with the distribution.\r\n* The name of the author may be used to endorse or promote products \r\n derived from this software without specific prior written permission.\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' \r\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\nTHE POSSIBILITY OF SUCH DAMAGE.\r\n\r\nLicense Applicability. Except to the extent portions of this file are\r\nmade subject to an alternative license as permitted in the SGI Free\r\nSoftware License B, Version 1.1 (the 'License'), the contents of this\r\nfile are subject only to the provisions of the License. You may not use\r\nthis file except in compliance with the License. You may obtain a copy\r\nof the License at Silicon Graphics, Inc., attn: Legal Services, 1600\r\nAmphitheatre Parkway, Mountain View, CA 94043-1351, or at:\r\n\r\nhttp://oss.sgi.com/projects/FreeB\r\n\r\nNote that, as provided in the License, the Software is distributed on an\r\n'AS IS' basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS\r\nDISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND\r\nCONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A\r\nPARTICULAR PURPOSE, AND NON-INFRINGEMENT.\r\n\r\nOriginal Code. The Original Code is: OpenGL Sample Implementation,\r\nVersion 1.2.1, released January 26, 2000, developed by Silicon Graphics,\r\nInc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.\r\nCopyright in any portions created by third parties is as indicated\r\nelsewhere herein. All Rights Reserved.\r\n\r\nAdditional Notice Provisions: This software was created using the\r\nOpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has\r\nnot been independently verified as being compliant with the OpenGL(R)\r\nversion 1.2.1 Specification.\0" - VALUE "CompanyName", "\0" - VALUE "FileDescription", "Utility for listing pixelformat capabilities\0" - VALUE "FileVersion", "1,5,4,0\0" - VALUE "InternalName", "visualinfo\0" - VALUE "LegalCopyright", " 2002-2008 Milan Ikits & Marcelo Magallon\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", FILENAME "\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "The OpenGL Extension Wrangler Library\0" - VALUE "ProductVersion", "1,5,4,0\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END diff --git a/Externals/GLew/config/Makefile.cygming b/Externals/GLew/config/Makefile.cygming deleted file mode 100644 index d1d6062dbf..0000000000 --- a/Externals/GLew/config/Makefile.cygming +++ /dev/null @@ -1,22 +0,0 @@ -NAME = glew32 -GLEW_DEST = /usr -BINDIR = /usr/bin -LIBDIR = /usr/lib/mingw -INCDIR = /usr/include/mingw/GL -CC = gcc -mno-cygwin -# use gcc for linking, with ld it does not work -LD = gcc -mno-cygwin -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA = -DGLEW_MX -endif -CFLAGS.SO = -DGLEW_BUILD -LDFLAGS.SO = -shared -Wl,-soname,$(LIB.SONAME) -Wl,--out-implib,lib/$(LIB.DEVLNK) -LDFLAGS.GL = -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32 -LDFLAGS.EXTRA = -L$(LIBDIR) -WARN = -Wall -W -POPT = -O2 -BIN.SUFFIX = .exe -LIB.SONAME = lib$(NAME).dll -LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib -LIB.SHARED = $(NAME).dll -LIB.STATIC = lib$(NAME).a # the static lib will be broken (see CFLAGS.SO) diff --git a/Externals/GLew/config/Makefile.cygwin b/Externals/GLew/config/Makefile.cygwin deleted file mode 100644 index c724e42270..0000000000 --- a/Externals/GLew/config/Makefile.cygwin +++ /dev/null @@ -1,21 +0,0 @@ -NAME = GLEW -GLEW_DEST ?= /usr/X11R6 -CC = cc -# use gcc for linking, with ld it does not work -LD = cc -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA = -DGLEW_MX -endif -LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -LDFLAGS.EXTRA = -L/usr/X11R6/lib -LIBDIR = $(GLEW_DEST)/lib -LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 -LDFLAGS.STATIC = -Wl,-Bstatic -LDFLAGS.DYNAMIC = -Wl,-Bdynamic -WARN = -Wall -W -POPT = -O2 -BIN.SUFFIX = -LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) -LIB.DEVLNK = lib$(NAME).so -LIB.SHARED = lib$(NAME).so.$(SO_VERSION) -LIB.STATIC = lib$(NAME).a diff --git a/Externals/GLew/config/Makefile.darwin b/Externals/GLew/config/Makefile.darwin deleted file mode 100644 index a80acac70d..0000000000 --- a/Externals/GLew/config/Makefile.darwin +++ /dev/null @@ -1,26 +0,0 @@ -NAME = $(GLEW_NAME) -CC = cc -LD = cc -CFLAGS.EXTRA = -no-cpp-precomp -dynamic -fno-common -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA += -DGLEW_MX -endif -PICFLAG = -fPIC -LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED) -LDFLAGS.EXTRA = -ifneq (undefined, $(origin GLEW_APPLE_GLX)) -CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX' -LDFLAGS.GL = -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11 -else -LDFLAGS.GL = -framework AGL -framework OpenGL -endif -LDFLAGS.STATIC = -LDFLAGS.DYNAMIC = -WARN = -Wall -W -POPT = -O2 -BIN.SUFFIX = -LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib -LIB.DEVLNK = lib$(NAME).dylib -LIB.SHARED = lib$(NAME).$(SO_VERSION).dylib -LIB.STATIC = lib$(NAME).a -SHARED_OBJ_EXT = pic_o diff --git a/Externals/GLew/config/Makefile.freebsd b/Externals/GLew/config/Makefile.freebsd deleted file mode 100644 index 3bbc545882..0000000000 --- a/Externals/GLew/config/Makefile.freebsd +++ /dev/null @@ -1,20 +0,0 @@ -NAME = $(GLEW_NAME) -CC = cc -LD = ld -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA = -DGLEW_MX -endif -LDFLAGS.SO = -shared -soname $(LIB.SONAME) -LDFLAGS.EXTRA = -L/usr/X11R6/lib -LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 -LDFLAGS.STATIC = -Wl,-Bstatic -LDFLAGS.DYNAMIC = -Wl,-Bdynamic -CFLAGS.EXTRA += -I/usr/X11R6/include -NAME = GLEW -WARN = -Wall -W -POPT = -O2 -BIN.SUFFIX = -LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) -LIB.DEVLNK = lib$(NAME).so -LIB.SHARED = lib$(NAME).so.$(SO_VERSION) -LIB.STATIC = lib$(NAME).a diff --git a/Externals/GLew/config/Makefile.gnu b/Externals/GLew/config/Makefile.gnu deleted file mode 100644 index 69846ab710..0000000000 --- a/Externals/GLew/config/Makefile.gnu +++ /dev/null @@ -1,21 +0,0 @@ -NAME = $(GLEW_NAME) -CC = cc -LD = cc -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA = -DGLEW_MX -endif -PICFLAG = -fPIC -LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -LDFLAGS.EXTRA = -L/usr/X11R6/lib -LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 -LDFLAGS.STATIC = -Wl,-Bstatic -LDFLAGS.DYNAMIC = -Wl,-Bdynamic -NAME = GLEW -WARN = -Wall -W -POPT = -O2 -BIN.SUFFIX = -LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) -LIB.DEVLNK = lib$(NAME).so -LIB.SHARED = lib$(NAME).so.$(SO_VERSION) -LIB.STATIC = lib$(NAME).a -SHARED_OBJ_EXT = pic_o diff --git a/Externals/GLew/config/Makefile.irix b/Externals/GLew/config/Makefile.irix deleted file mode 100644 index c618224011..0000000000 --- a/Externals/GLew/config/Makefile.irix +++ /dev/null @@ -1,20 +0,0 @@ -NAME = $(GLEW_NAME) -CC = cc -LD = ld -ABI = -64# -n32 -CC += $(ABI) -LD += $(ABI) -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA = -DGLEW_MX -endif -LDFLAGS.SO = -shared -soname $(LIB.SONAME) -LDFLAGS.EXTRA = -LDFLAGS.GL = -lGLU -lGL -lXext -lX11 -NAME = GLEW -WARN = -fullwarn -woff 1110,1498 -POPT = -O2 -OPT:Olimit=0 -BIN.SUFFIX = -LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) -LIB.DEVLNK = lib$(NAME).so -LIB.SHARED = lib$(NAME).so.$(SO_VERSION) -LIB.STATIC = lib$(NAME).a diff --git a/Externals/GLew/config/Makefile.kfreebsd b/Externals/GLew/config/Makefile.kfreebsd deleted file mode 100644 index ace80ff814..0000000000 --- a/Externals/GLew/config/Makefile.kfreebsd +++ /dev/null @@ -1,21 +0,0 @@ -NAME = $(GLEW_NAME) -CC = cc -LD = cc -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA = -DGLEW_MX -endif -PICFLAG = -fPIC -LDFLAGS.SO = -shared -Wl,-soname $(LIB.SONAME) -LDFLAGS.EXTRA = -L/usr/X11R6/lib -LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 -LDFLAGS.STATIC = -Wl,-Bstatic -LDFLAGS.DYNAMIC = -Wl,-Bdynamic -NAME = GLEW -WARN = -Wall -W -POPT = -O2 -BIN.SUFFIX = -LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) -LIB.DEVLNK = lib$(NAME).so -LIB.SHARED = lib$(NAME).so.$(SO_VERSION) -LIB.STATIC = lib$(NAME).a -SHARED_OBJ_EXT = pic_o diff --git a/Externals/GLew/config/Makefile.linux b/Externals/GLew/config/Makefile.linux deleted file mode 100644 index fd8a2d1cb0..0000000000 --- a/Externals/GLew/config/Makefile.linux +++ /dev/null @@ -1,28 +0,0 @@ -NAME = $(GLEW_NAME) -CC = cc -LD = cc -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA = -DGLEW_MX -endif -PICFLAG = -fPIC -LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -M_ARCH ?= $(shell uname -m) -ifeq (x86_64,${M_ARCH}) -LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -LIBDIR = $(GLEW_DEST)/lib64 -else -LDFLAGS.EXTRA = -L/usr/X11R6/lib -LIBDIR = $(GLEW_DEST)/lib -endif -LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 -LDFLAGS.STATIC = -Wl,-Bstatic -LDFLAGS.DYNAMIC = -Wl,-Bdynamic -NAME = GLEW -WARN = -Wall -W -POPT = -O2 -BIN.SUFFIX = -LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) -LIB.DEVLNK = lib$(NAME).so -LIB.SHARED = lib$(NAME).so.$(SO_VERSION) -LIB.STATIC = lib$(NAME).a -SHARED_OBJ_EXT = pic_o diff --git a/Externals/GLew/config/Makefile.mingw b/Externals/GLew/config/Makefile.mingw deleted file mode 100644 index 6b98a44f95..0000000000 --- a/Externals/GLew/config/Makefile.mingw +++ /dev/null @@ -1,19 +0,0 @@ -NAME = glew32 -CC = gcc -# use gcc for linking, with ld it does not work -LD = gcc -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA = -DGLEW_MX -endif -CFLAGS.SO = -DGLEW_BUILD -#LDFLAGS.SO = -shared -soname $(LIB.SONAME) --out-implib lib/$(LIB.DEVLNK) -LDFLAGS.SO = -shared -Wl,-soname,$(LIB.SONAME) -Wl,--out-implib,lib/$(LIB.DEVLNK) -LDFLAGS.GL = -lglu32 -lopengl32 -lgdi32 -luser32 -lkernel32 -LDFLAGS.EXTRA = -L/mingw/lib -WARN = -Wall -W -POPT = -O2 -BIN.SUFFIX = .exe -LIB.SONAME = lib$(NAME).dll -LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib -LIB.SHARED = $(NAME).dll -LIB.STATIC = lib$(NAME).a # the static lib will be broken (see CFLAGS.SO) diff --git a/Externals/GLew/config/Makefile.solaris b/Externals/GLew/config/Makefile.solaris deleted file mode 100644 index d7dfa9c752..0000000000 --- a/Externals/GLew/config/Makefile.solaris +++ /dev/null @@ -1,17 +0,0 @@ -NAME = $(GLEW_NAME) -CC = cc -LD = ld -CFLAGS.EXTRA = -I/usr/openwin/include -ifneq (undefined, $(origin GLEW_MX)) -CFLAGS.EXTRA += -DGLEW_MX -endif -LDFLAGS.SO = -G -LDFLAGS.EXTRA = -L/usr/openwin/lib -LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 -NAME = GLEW -BIN.SUFFIX = -POPT = -xO2 -LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) -LIB.DEVLNK = lib$(NAME).so -LIB.SHARED = lib$(NAME).so.$(SO_VERSION) -LIB.STATIC = lib$(NAME).a diff --git a/Externals/GLew/config/config.guess b/Externals/GLew/config/config.guess deleted file mode 100755 index da83314608..0000000000 --- a/Externals/GLew/config/config.guess +++ /dev/null @@ -1,1561 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. - -timestamp='2009-04-27' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - -trap 'exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a -# compiler to aid in system detection is discouraged as it requires -# temporary files to be created and, as you can see below, it is a -# headache to deal with in a portable fashion. - -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -# Portable tmp directory creation inspired by the Autoconf team. - -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > $dummy.c ; - for c in cc gcc c89 c99 ; do - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in - armeb) machine=armeb-unknown ;; - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - sh5el) machine=sh5le-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - # Debian GNU/NetBSD machines have a different userland, and - # thus, need a distinct triplet. However, they do not need - # kernel version information, so it can be replaced with a - # suitable tag, in the style of linux-gnu. - case "${UNAME_VERSION}" in - Debian*) - release='-gnu' - ;; - *) - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - ;; - esac - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit ;; - *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} - exit ;; - *:ekkoBSD:*:*) - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} - exit ;; - *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} - exit ;; - macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} - exit ;; - *:MirBSD:*:*) - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} - exit ;; - alpha:OSF1:*:*) - case $UNAME_RELEASE in - *4.0) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - ;; - *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` - ;; - esac - # According to Compaq, /usr/sbin/psrinfo has been available on - # OSF/1 and Tru64 systems produced since 1995. I hope that - # covers most systems running today. This code pipes the CPU - # types through head -n 1, so we only detect the type of CPU 0. - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` - case "$ALPHA_CPU_TYPE" in - "EV4 (21064)") - UNAME_MACHINE="alpha" ;; - "EV4.5 (21064)") - UNAME_MACHINE="alpha" ;; - "LCA4 (21066/21068)") - UNAME_MACHINE="alpha" ;; - "EV5 (21164)") - UNAME_MACHINE="alphaev5" ;; - "EV5.6 (21164A)") - UNAME_MACHINE="alphaev56" ;; - "EV5.6 (21164PC)") - UNAME_MACHINE="alphapca56" ;; - "EV5.7 (21164PC)") - UNAME_MACHINE="alphapca57" ;; - "EV6 (21264)") - UNAME_MACHINE="alphaev6" ;; - "EV6.7 (21264A)") - UNAME_MACHINE="alphaev67" ;; - "EV6.8CB (21264C)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8AL (21264B)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8CX (21264D)") - UNAME_MACHINE="alphaev68" ;; - "EV6.9A (21264/EV69A)") - UNAME_MACHINE="alphaev69" ;; - "EV7 (21364)") - UNAME_MACHINE="alphaev7" ;; - "EV7.9 (21364A)") - UNAME_MACHINE="alphaev79" ;; - esac - # A Pn.n version is a patched version. - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit ;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit ;; - *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit ;; - *:z/VM:*:*) - echo s390-ibm-zvmoe - exit ;; - *:OS400:*:*) - echo powerpc-ibm-os400 - exit ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) - echo arm-unknown-riscos - exit ;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit ;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit ;; - DRS?6000:unix:4.0:6*) - echo sparc-icl-nx6 - exit ;; - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) - case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7; exit ;; - esac ;; - s390x:SunOS:*:*) - echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - eval $set_cc_for_build - SUN_ARCH="i386" - # If there is a compiler, see if it is configured for 64-bit objects. - # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. - # This test works for both compilers. - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - SUN_ARCH="x86_64" - fi - fi - echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; - m68k:machten:*:*) - echo m68k-apple-machten${UNAME_RELEASE} - exit ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && - dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && - SYSTEM_NAME=`$dummy $dummyarg` && - { echo "$SYSTEM_NAME"; exit; } - echo mips-mips-riscos${UNAME_RELEASE} - exit ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit ;; - Motorola:*:4.3:PL8-*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] - then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` - then - echo "$SYSTEM_NAME" - else - echo rs6000-ibm-aix3.2.5 - fi - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit ;; - *:AIX:*:[456]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac - fi - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` - test -z "$HP_ARCH" && HP_ARCH=hppa - fi ;; - esac - if [ ${HP_ARCH} = "hppa2.0w" ] - then - eval $set_cc_for_build - - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler - # generating 64-bit code. GNU and HP use different nomenclature: - # - # $ CC_FOR_BUILD=cc ./config.guess - # => hppa2.0w-hp-hpux11.23 - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess - # => hppa64-hp-hpux11.23 - - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep __LP64__ >/dev/null - then - HP_ARCH="hppa2.0w" - else - HP_ARCH="hppa64" - fi - fi - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - echo unknown-hitachi-hiuxwe2 - exit ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - *:UNICOS/mp:*:*) - echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac - exit ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit ;; - *:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit ;; - i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 - exit ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit ;; - *:Interix*:[3456]*) - case ${UNAME_MACHINE} in - x86) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T | authenticamd | genuineintel) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; - IA64) - echo ia64-unknown-interix${UNAME_RELEASE} - exit ;; - esac ;; - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) - echo i${UNAME_MACHINE}-pc-mks - exit ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i586-pc-interix - exit ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-unknown-cygwin - exit ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - *:GNU:*:*) - # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit ;; - *:GNU/*:*:*) - # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu - exit ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit ;; - arm*:Linux:*:*) - eval $set_cc_for_build - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ARM_EABI__ - then - echo ${UNAME_MACHINE}-unknown-linux-gnu - else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi - fi - exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - cris:Linux:*:*) - echo cris-axis-linux-gnu - exit ;; - crisv32:Linux:*:*) - echo crisv32-axis-linux-gnu - exit ;; - frv:Linux:*:*) - echo frv-unknown-linux-gnu - exit ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips64 - #undef mips64el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit ;; - padre:Linux:*:*) - echo sparc-unknown-linux-gnu - exit ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit ;; - sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu - exit ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit ;; - xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" - test x"${LIBC}" != x && { - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit - } - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } - ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit ;; - i*86:syllable:*:*) - echo ${UNAME_MACHINE}-pc-syllable - exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit ;; - i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i586. - # Note: whatever this is, it MUST be the same as what config.sub - # prints for the "djgpp" host, or else GDB configury will decide that - # this is a cross-build. - echo i586-pc-msdosdjgpp - exit ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit ;; - mc68k:UNIX:SYSTEM5:3.51m) - echo m68k-convergent-sysv - exit ;; - M680?0:D-NIX:5.3:*) - echo m68k-diab-dnix - exit ;; - M68*:*:R3V[5678]*:*) - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; - NCR*:*:4.2:* | MPRAS*:*:4.2:*) - OS_REL='.3' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit ;; - i*86:VOS:*:*) - # From Paul.Green@stratus.com. - echo ${UNAME_MACHINE}-stratus-vos - exit ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; - BePC:Haiku:*:*) # Haiku running on Intel PC compatible. - echo i586-pc-haiku - exit ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit ;; - SX-6:SUPER-UX:*:*) - echo sx6-nec-superux${UNAME_RELEASE} - exit ;; - SX-7:SUPER-UX:*:*) - echo sx7-nec-superux${UNAME_RELEASE} - exit ;; - SX-8:SUPER-UX:*:*) - echo sx8-nec-superux${UNAME_RELEASE} - exit ;; - SX-8R:SUPER-UX:*:*) - echo sx8r-nec-superux${UNAME_RELEASE} - exit ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Darwin:*:*) - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - unknown) UNAME_PROCESSOR=powerpc ;; - esac - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} - exit ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit ;; - NSE-?:NONSTOP_KERNEL:*:*) - echo nse-tandem-nsk${UNAME_RELEASE} - exit ;; - NSR-?:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit ;; - SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} - exit ;; - *:DragonFly:*:*) - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit ;; - *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` - case "${UNAME_MACHINE}" in - A*) echo alpha-dec-vms ; exit ;; - I*) echo ia64-dec-vms ; exit ;; - V*) echo vax-dec-vms ; exit ;; - esac ;; - *:XENIX:*:SysV) - echo i386-pc-xenix - exit ;; - i*86:skyos:*:*) - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' - exit ;; - i*86:rdos:*:*) - echo ${UNAME_MACHINE}-pc-rdos - exit ;; - i*86:AROS:*:*) - echo ${UNAME_MACHINE}-pc-aros - exit ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix\n"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - c34*) - echo c34-convex-bsd - exit ;; - c38*) - echo c38-convex-bsd - exit ;; - c4*) - echo c4-convex-bsd - exit ;; - esac -fi - -cat >&2 < in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/Externals/GLew/config/version b/Externals/GLew/config/version deleted file mode 100644 index 42b850fc1f..0000000000 --- a/Externals/GLew/config/version +++ /dev/null @@ -1,7 +0,0 @@ -GLEW_MAJOR = 1 -GLEW_MINOR = 5 -GLEW_MICRO = 4 -GLEW_VERSION = $(GLEW_MAJOR).$(GLEW_MINOR).$(GLEW_MICRO) -GLEW_NAME = GLEW -SO_MAJOR = $(GLEW_MAJOR).$(GLEW_MINOR) -SO_VERSION = $(GLEW_VERSION) diff --git a/Externals/GLew/doc/advanced.html b/Externals/GLew/doc/advanced.html deleted file mode 100644 index 4f722d429e..0000000000 --- a/Externals/GLew/doc/advanced.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

Automatic Code Generation

- -

-Starting from release 1.1.0, the source code and parts of the -documentation are automatically generated from the extension -specifications in a two-step process. In the first step, -specification files from the OpenGL registry are downloaded and -parsed. Skeleton descriptors are created for each extension. These -descriptors contain all necessary information for creating the source -code and documentation in a simple and compact format, including the -name of the extension, url link to the specification, tokens, function -declarations, typedefs and struct definitions. In the second step, -the header files as well as the library and glewinfo source are -generated from the descriptor files. The code generation scripts are -located in the auto subdirectory. -

- -

-The code generation scripts require GNU make, wget, and perl. On -Windows, the simplest way to get access to these tools is to install -Cygwin, but make sure that the -root directory is mounted in binary mode. The makefile in the -auto directory provides the following build targets: -

- -
- - - - - - - - - - - - - - - - -
make    Create the source files from the descriptors. If the -descriptors do not exist, create them from the spec files. If the spec -files do not exist, download them from the OpenGL repository.
make clean    Delete the source files.
make clobber    Delete the source files and the descriptors.
make destroy    Delete the source files, the descriptors, and the spec files.
make custom    Create the source files for the extensions -listed in auto/custom.txt. See "Custom Code -Generation" below for more details.
-
- -

Adding a New Extension

- -

-To add a new extension, create a descriptor file for the extension in -auto/core and rerun the code generation scripts by typing -make clean; make in the auto directory. -

- -

-The format of the descriptor file is given below. Items in -brackets are optional. -

- -

-<Extension Name>
-[<URL of Specification File>]
-    [<Token Name> <Token Value>]
-    [<Token Name> <Token Value>]
-    ...
-    [<Typedef>]
-    [<Typedef>]
-    ...
-    [<Function Signature>]
-    [<Function Signature>]
-    ...
- -

- - - -

-Take a look at one of the files in auto/core for an -example. Note that typedefs and function signatures should not be -terminated with a semicolon. -

- -

Custom Code Generation

-

-Starting from GLEW 1.3.0, it is possible to control which extensions -to include in the libarary by specifying a list in -auto/custom.txt. This is useful when you do not need all the -extensions and would like to reduce the size of the source files. -Type make clean; make custom in the auto directory -to rerun the scripts with the custom list of extensions. -

- -

-For example, the following is the list of extensions needed to get GLEW and the -utilities to compile. -

- -

-WGL_ARB_extensions_string
-WGL_ARB_multisample
-WGL_ARB_pixel_format
-WGL_ARB_pbuffer
-WGL_EXT_extensions_string
-WGL_ATI_pixel_format_float
-WGL_NV_float_buffer
-

- -

Multiple Rendering Contexts (GLEW MX)

- -

Starting with release 1.2.0, thread-safe support for multiple -rendering contexts, possibly with different capabilities, is -available. Since this is not required by most users, it is not added -to the binary releases to maintain compatibility between different -versions. To include multi-context support, you have to do the -following:

-
    -
  1. Compile and use GLEW with the GLEW_MX preprocessor token -defined.
  2. -
  3. For each rendering context, create a GLEWContext object -that will be available as long as the rendering context exists.
  4. -
  5. Define a macro or function called glewGetContext() that -returns a pointer to the GLEWContext object associated with -the rendering context from which OpenGL/WGL/GLX calls are issued. This -dispatch mechanism is primitive, but generic. -
  6. Make sure that you call glewInit() after creating the -GLEWContext object in each rendering context. Note, that the -GLEWContext pointer returned by glewGetContext() has -to reside in global or thread-local memory. -
- -

Note that according to the MSDN -WGL documentation, you have to initialize the entry points for -every rendering context that use pixel formats with different -capabilities For example, the pixel formats provided by the generic -software OpenGL implementation by Microsoft vs. the hardware -accelerated pixel formats have different capabilities. GLEW by -default ignores this requirement, and does not define per-context -entry points (you can however do this using the steps described -above). Assuming a global namespace for the entry points works in -most situations, because typically all hardware accelerated pixel -formats provide the same entry points and capabilities. This means -that unless you use the multi-context version of GLEW, you need to -call glewInit() only once in your program, or more precisely, -once per process.

- -

Separate Namespace

- -

-To avoid name clashes when linking with libraries that include the -same symbols, extension entry points are declared in a separate -namespace (release 1.1.0 and up). This is achieved by aliasing OpenGL -function names to their GLEW equivalents. For instance, -glFancyFunction is simply an alias to -glewFancyFunction. The separate namespace does not effect -token and function pointer definitions. -

- -

Known Issues

- -

-GLEW requires GLX 1.2 for compatibility with GLUT. -

- - -
- - diff --git a/Externals/GLew/doc/basic.html b/Externals/GLew/doc/basic.html deleted file mode 100644 index 0627831070..0000000000 --- a/Externals/GLew/doc/basic.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

Initializing GLEW

-

-First you need to create a valid OpenGL rendering context and call -glewInit() to initialize the extension entry points. If -glewInit() returns GLEW_OK, the initialization -succeeded and you can use the available extensions as well as core -OpenGL functionality. For example: -

- -

-#include <GL/glew.h>
-#include <GL/glut.h>
-...
-glutInit(&argc, argv);
-glutCreateWindow("GLEW Test");
-GLenum err = glewInit();
-if (GLEW_OK != err)
-{
-  /* Problem: glewInit failed, something is seriously wrong. */
-  fprintf(stderr, "Error: %s\n", glewGetErrorString(err));
-  ...
-}
-fprintf(stdout, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
-

- -

Checking for Extensions

- -

-Starting from GLEW 1.1.0, you can find out if a particular extension -is available on your platform by querying globally defined variables -of the form GLEW_{extension_name}: -

- -

-if (GLEW_ARB_vertex_program)
-{
-  /* It is safe to use the ARB_vertex_program extension here. */
-  glGenProgramsARB(...);
-}
-

- -

-In GLEW 1.0.x, a global structure was used for this task. To ensure -binary compatibility between releases, the struct was replaced with a -set of variables. -

- -

-You can also check for core OpenGL functionality. For example, to -see if OpenGL 1.3 is supported, do the following: -

- -

-if (GLEW_VERSION_1_3)
-{
-  /* Yay! OpenGL 1.3 is supported! */
-}
-

- -

-In general, you can check if GLEW_{extension_name} or -GLEW_VERSION_{version} is true or false. -

- -

-It is also possible to perform extension checks from string -input. Starting from the 1.3.0 release, use glewIsSupported -to check if the required core or extension functionality is -available: -

- -

-if (glewIsSupported("GL_VERSION_1_4  GL_ARB_point_sprite"))
-{
-  /* Great, we have OpenGL 1.4 + point sprites. */
-}
-

- -

-For extensions only, glewGetExtension provides a slower alternative -(GLEW 1.0.x-1.2.x). Note that in the 1.3.0 release -glewGetExtension was replaced with -glewIsSupported. -

- -

-if (glewGetExtension("GL_ARB_fragment_program"))
-{
-  /* Looks like ARB_fragment_program is supported. */
-}
-

- -

Experimental Drivers

- -

-GLEW obtains information on the supported extensions from the graphics -driver. Experimental or pre-release drivers, however, might not -report every available extension through the standard mechanism, in -which case GLEW will report it unsupported. To circumvent this -situation, the glewExperimental global switch can be turned -on by setting it to GL_TRUE before calling -glewInit(), which ensures that all extensions with valid -entry points will be exposed. -

- -

Platform Specific Extensions

- -

-Platform specific extensions are separated into two header files: -wglew.h and glxew.h, which define the available -WGL and GLX extensions. To determine if a certain -extension is supported, query WGLEW_{extension name} or -GLXEW_{extension_name}. For example: -

- -

-#include <GL/wglew.h>
-
-if (WGLEW_ARB_pbuffer)
-{
-  /* OK, we can use pbuffers. */
-}
-else
-{
-  /* Sorry, pbuffers will not work on this platform. */
-}
-

- -

-Alternatively, use wglewIsSupported or -glxewIsSupported to check for extensions from a string: -

- -

-if (wglewIsSupported("WGL_ARB_pbuffer"))
-{
-  /* OK, we can use pbuffers. */
-}
-

- -

Utilities

- -

-GLEW provides two command-line utilities: one for creating a list of -available extensions and visuals; and another for verifying extension -entry points. -

- -

visualinfo: extensions and visuals

- -

-visualinfo is an extended version of glxinfo. The -Windows version creates a file called visualinfo.txt, which -contains a list of available OpenGL, WGL, and GLU extensions as well -as a table of visuals aka. pixel formats. Pbuffer and MRT capable -visuals are also included. For additional usage information, type -visualinfo -h. -

- -

glewinfo: extension verification utility

- -

-glewinfo allows you to verify the entry points for the -extensions supported on your platform. The Windows version -reports the results to a text file called glewinfo.txt. The -Unix version prints the results to stdout. -

- -

Windows usage:

-
glewinfo [-pf <id>]
- -

where <id> is the pixel format id for which the -capabilities are displayed.

- -

Unix usage:

-
glewinfo [-display <dpy>] [-visual <id>]
- -

where <dpy> is the X11 display and <id> is -the visual id for which the capabilities are displayed.

- - -
- - diff --git a/Externals/GLew/doc/credits.html b/Externals/GLew/doc/credits.html deleted file mode 100644 index 9fb3959f5a..0000000000 --- a/Externals/GLew/doc/credits.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

Credits

- -

-GLEW was developed by Milan -Ikits and Marcelo -Magallon. They also perform occasional maintainance to make sure -that GLEW stays in mint condition. Aaron Lefohn, Joe Kniss, and Chris -Wyman were the first users and also assisted with the design and -debugging process. The acronym GLEW originates from Aaron Lefohn. -Pasi Kärkkäinen identified and fixed several problems with -GLX and SDL. Nate Robins created the wglinfo utility, to -which modifications were made by Michael Wimmer. -

- -

Copyright

- -

-GLEW is originally derived from the EXTGL project by Lev Povalahev. -The source code is licensed under the Modified BSD -License, the Mesa 3-D License (MIT -License), and the Khronos License (MIT -License). The automatic code generation scripts are released under -the GNU GPL. -

- -
- - diff --git a/Externals/GLew/doc/glew.css b/Externals/GLew/doc/glew.css deleted file mode 100644 index 1bb7dd178a..0000000000 --- a/Externals/GLew/doc/glew.css +++ /dev/null @@ -1,187 +0,0 @@ -h1 -{ - color: black; - font: 23px "Verdana", "Arial", "Helvetica", sans-serif; - font-weight: bold; - text-align: center; - margin-top: 12px; - margin-bottom: 18px; -} - -h2 -{ - color: black; - font: 18px "Verdana", "Arial", "Helvetica", sans-serif; - font-weight: bold; - text-align: left; - padding-top: 0px; - padding-bottom: 0px; - margin-top: 18px; - margin-bottom: 12px; -} - -h3 -{ - color: black; - font: 17px "Verdana", "Arial", "Helvetica", sans-serif; - text-align: left; - padding-top: 0px; - padding-bottom: 0px; - margin-top: 12px; - margin-bottom: 12px; -} - -small -{ - font: 8pt "Verdana", "Arial", "Helvetica", sans-serif; -} - -body -{ - color: black; - font: 10pt "Verdana", "Arial", "Helvetica", sans-serif; - text-align: left; -} - -td -{ - color: black; - font: 10pt "Verdana", "Arial", "Helvetica", sans-serif; -} - -tt -{ - color: rgb(0,120,0); -} -/* color: maroon; */ - -td.num -{ - color: lightgrey; - font: 10pt "Verdana", "Arial", "Helvetica", sans-serif; - text-align: right; -} - -blockquote -{ - color: rgb(0,120,0); - background: #f0f0f0; - text-align: left; - margin-left: 40px; - margin-right: 40px; - margin-bottom: 6px; - padding-bottom: 0px; - margin-top: 0px; - padding-top: 0px; - border-top: 0px; - border-width: 0px; -} - -pre -{ - color: rgb(0,120,0); - background: #f0f0f0; - text-align: left; - margin-left: 40px; - margin-right: 40px; - margin-bottom: 6px; - padding-bottom: 0px; - margin-top: 0px; - padding-top: 0px; - border-top: 0px; - border-width: 0px; -} - -p -{ - color: black; - font: 10pt "Verdana", "Arial", "Helvetica", sans-serif; - text-align: left; - margin-bottom: 0px; - padding-bottom: 6px; - margin-top: 0px; - padding-top: 0px; -} - -p.right -{ - color: black; - font: 10pt "Verdana", "Arial", "Helvetica", sans-serif; - text-align: right; - margin-bottom: 0px; - padding-bottom: 6px; - margin-top: 0px; - padding-top: 0px; -} - -p.pre -{ - color: rgb(0,120,0); - font: 10pt "Courier New", "Courier", monospace; - background: #f0f0f0; - text-align: left; - margin-top: 0px; - margin-bottom: 6px; - margin-left: 40px; - margin-right: 40px; - padding-top: 0px; - padding-bottom: 6px; - padding-left: 6px; - padding-right: 6px; - border-top: 0px; - border-width: 0px; -} - -a:link -{ - color: rgb(0,0,139); - text-decoration: none; -} - -a:visited -{ - color: rgb(220,20,60); - text-decoration: none; -} - -a:hover -{ - color: rgb(220,20,60); - text-decoration: underline; - background: "#e8e8e8"; -} - -ul -{ - list-style-type: disc; - text-align: left; - margin-left: 40px; - margin-top: 0px; - padding-top: 0px; - margin-bottom: 0px; - padding-bottom: 3px; -} - -ul.none -{ - list-style-type: none; -} - -ol -{ - text-align: left; - margin-left: 40px; - margin-top: 0px; - padding-top: 0px; - margin-bottom: 0px; - padding-bottom: 12px; -} - -hr -{ - color: maroon; - background-color: maroon; - height: 1px; - border: 0px; - width: 80%; -} diff --git a/Externals/GLew/doc/glew.html b/Externals/GLew/doc/glew.html deleted file mode 100644 index 70002b7de2..0000000000 --- a/Externals/GLew/doc/glew.html +++ /dev/null @@ -1,513 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

Supported OpenGL Extensions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 3DFX_multisample
2 3DFX_tbuffer
3 3DFX_texture_compression_FXT1

4 AMD_conservative_depth
5 AMD_draw_buffers_blend
6 AMD_performance_monitor
7 AMD_seamless_cubemap_per_texture
8 AMD_shader_stencil_export
9 AMD_texture_texture4
10 AMD_vertex_shader_tessellator

11 APPLE_aux_depth_stencil
12 APPLE_client_storage
13 APPLE_element_array
14 APPLE_fence
15 APPLE_float_pixels
16 APPLE_flush_buffer_range
17 APPLE_object_purgeable
18 APPLE_pixel_buffer
19 APPLE_rgb_422
20 APPLE_row_bytes
21 APPLE_specular_vector
22 APPLE_texture_range
23 APPLE_transform_hint
24 APPLE_vertex_array_object
25 APPLE_vertex_array_range
26 APPLE_vertex_program_evaluators
27 APPLE_ycbcr_422

28 ARB_blend_func_extended
29 ARB_color_buffer_float
30 ARB_compatibility
31 ARB_copy_buffer
32 ARB_depth_buffer_float
33 ARB_depth_clamp
34 ARB_depth_texture
35 ARB_draw_buffers
36 ARB_draw_buffers_blend
37 ARB_draw_elements_base_vertex
38 ARB_draw_indirect
39 ARB_draw_instanced
40 ARB_explicit_attrib_location
41 ARB_fragment_coord_conventions
42 ARB_fragment_program
43 ARB_fragment_program_shadow
44 ARB_fragment_shader
45 ARB_framebuffer_object
46 ARB_framebuffer_sRGB
47 ARB_geometry_shader4
48 ARB_gpu_shader5
49 ARB_gpu_shader_fp64
50 ARB_half_float_pixel
51 ARB_half_float_vertex
52 ARB_imaging
53 ARB_instanced_arrays
54 ARB_map_buffer_range
55 ARB_matrix_palette
56 ARB_multisample
57 ARB_multitexture
58 ARB_occlusion_query
59 ARB_occlusion_query2
60 ARB_pixel_buffer_object
61 ARB_point_parameters
62 ARB_point_sprite
63 ARB_provoking_vertex
64 ARB_sample_shading
65 ARB_sampler_objects
66 ARB_seamless_cube_map
67 ARB_shader_bit_encoding
68 ARB_shader_objects
69 ARB_shader_subroutine
70 ARB_shader_texture_lod
71 ARB_shading_language_100
72 ARB_shading_language_include
73 ARB_shadow
74 ARB_shadow_ambient
75 ARB_sync
76 ARB_tessellation_shader
77 ARB_texture_border_clamp
78 ARB_texture_buffer_object
79 ARB_texture_buffer_object_rgb32
80 ARB_texture_compression
81 ARB_texture_compression_bptc
82 ARB_texture_compression_rgtc
83 ARB_texture_cube_map
84 ARB_texture_cube_map_array
85 ARB_texture_env_add
86 ARB_texture_env_combine
87 ARB_texture_env_crossbar
88 ARB_texture_env_dot3
89 ARB_texture_float
90 ARB_texture_gather
91 ARB_texture_mirrored_repeat
92 ARB_texture_multisample
93 ARB_texture_non_power_of_two
94 ARB_texture_query_lod
95 ARB_texture_rectangle
96 ARB_texture_rg
97 ARB_texture_rgb10_a2ui
98 ARB_texture_swizzle
99 ARB_timer_query
100 ARB_transform_feedback2
101 ARB_transform_feedback3
102 ARB_transpose_matrix
103 ARB_uniform_buffer_object
104 ARB_vertex_array_bgra
105 ARB_vertex_array_object
106 ARB_vertex_blend
107 ARB_vertex_buffer_object
108 ARB_vertex_program
109 ARB_vertex_shader
110 ARB_vertex_type_2_10_10_10_rev
111 ARB_window_pos

112 ATIX_point_sprites
113 ATIX_texture_env_combine3
114 ATIX_texture_env_route
115 ATIX_vertex_shader_output_point_size

116 ATI_draw_buffers
117 ATI_element_array
118 ATI_envmap_bumpmap
119 ATI_fragment_shader
120 ATI_map_object_buffer
121 ATI_meminfo
122 ATI_pn_triangles
123 ATI_separate_stencil
124 ATI_shader_texture_lod
125 ATI_text_fragment_shader
126 ATI_texture_compression_3dc
127 ATI_texture_env_combine3
128 ATI_texture_float
129 ATI_texture_mirror_once
130 ATI_vertex_array_object
131 ATI_vertex_attrib_array_object
132 ATI_vertex_streams

133 EXT_422_pixels
134 EXT_Cg_shader
135 EXT_abgr
136 EXT_bgra
137 EXT_bindable_uniform
138 EXT_blend_color
139 EXT_blend_equation_separate
140 EXT_blend_func_separate
141 EXT_blend_logic_op
142 EXT_blend_minmax
143 EXT_blend_subtract
144 EXT_clip_volume_hint
145 EXT_cmyka
146 EXT_color_subtable
147 EXT_compiled_vertex_array
148 EXT_convolution
149 EXT_coordinate_frame
150 EXT_copy_texture
151 EXT_cull_vertex
152 EXT_depth_bounds_test
153 EXT_direct_state_access
154 EXT_draw_buffers2
155 EXT_draw_instanced
156 EXT_draw_range_elements
157 EXT_fog_coord
158 EXT_fragment_lighting
159 EXT_framebuffer_blit
160 EXT_framebuffer_multisample
161 EXT_framebuffer_object
162 EXT_framebuffer_sRGB
163 EXT_geometry_shader4
164 EXT_gpu_program_parameters
165 EXT_gpu_shader4
166 EXT_histogram
167 EXT_index_array_formats
168 EXT_index_func
169 EXT_index_material
170 EXT_index_texture
171 EXT_light_texture
172 EXT_misc_attribute
173 EXT_multi_draw_arrays
174 EXT_multisample
175 EXT_packed_depth_stencil
176 EXT_packed_float
177 EXT_packed_pixels
178 EXT_paletted_texture
179 EXT_pixel_buffer_object
180 EXT_pixel_transform
181 EXT_pixel_transform_color_table
182 EXT_point_parameters
183 EXT_polygon_offset
184 EXT_provoking_vertex
185 EXT_rescale_normal
186 EXT_scene_marker
187 EXT_secondary_color
188 EXT_separate_shader_objects
189 EXT_separate_specular_color
190 EXT_shader_image_load_store
191 EXT_shadow_funcs
192 EXT_shared_texture_palette
193 EXT_stencil_clear_tag
194 EXT_stencil_two_side
195 EXT_stencil_wrap
196 EXT_subtexture
197 EXT_texture
198 EXT_texture3D
199 EXT_texture_array
200 EXT_texture_buffer_object
201 EXT_texture_compression_dxt1
202 EXT_texture_compression_latc
203 EXT_texture_compression_rgtc
204 EXT_texture_compression_s3tc
205 EXT_texture_cube_map
206 EXT_texture_edge_clamp
207 EXT_texture_env
208 EXT_texture_env_add
209 EXT_texture_env_combine
210 EXT_texture_env_dot3
211 EXT_texture_filter_anisotropic
212 EXT_texture_integer
213 EXT_texture_lod_bias
214 EXT_texture_mirror_clamp
215 EXT_texture_object
216 EXT_texture_perturb_normal
217 EXT_texture_rectangle
218 EXT_texture_sRGB
219 EXT_texture_shared_exponent
220 EXT_texture_snorm
221 EXT_texture_swizzle
222 EXT_timer_query
223 EXT_transform_feedback
224 EXT_vertex_array
225 EXT_vertex_array_bgra
226 EXT_vertex_attrib_64bit
227 EXT_vertex_shader
228 EXT_vertex_weighting

229 GREMEDY_frame_terminator
230 GREMEDY_string_marker

231 HP_convolution_border_modes
232 HP_image_transform
233 HP_occlusion_test
234 HP_texture_lighting

235 IBM_cull_vertex
236 IBM_multimode_draw_arrays
237 IBM_rasterpos_clip
238 IBM_static_data
239 IBM_texture_mirrored_repeat
240 IBM_vertex_array_lists

241 INGR_color_clamp
242 INGR_interlace_read

243 INTEL_parallel_arrays
244 INTEL_texture_scissor

245 KTX_buffer_region

246 MESAX_texture_stack

247 MESA_pack_invert
248 MESA_resize_buffers
249 MESA_window_pos
250 MESA_ycbcr_texture

251 NV_blend_square
252 NV_conditional_render
253 NV_copy_depth_to_color
254 NV_copy_image
255 NV_depth_buffer_float
256 NV_depth_clamp
257 NV_depth_range_unclamped
258 NV_evaluators
259 NV_explicit_multisample
260 NV_fence
261 NV_float_buffer
262 NV_fog_distance
263 NV_fragment_program
264 NV_fragment_program2
265 NV_fragment_program4
266 NV_fragment_program_option
267 NV_framebuffer_multisample_coverage
268 NV_geometry_program4
269 NV_geometry_shader4
270 NV_gpu_program4
271 NV_gpu_program5
272 NV_gpu_program_fp64
273 NV_gpu_shader5
274 NV_half_float
275 NV_light_max_exponent
276 NV_multisample_filter_hint
277 NV_occlusion_query
278 NV_packed_depth_stencil
279 NV_parameter_buffer_object
280 NV_parameter_buffer_object2
281 NV_pixel_data_range
282 NV_point_sprite
283 NV_present_video
284 NV_primitive_restart
285 NV_register_combiners
286 NV_register_combiners2
287 NV_shader_buffer_load
288 NV_tessellation_program5
289 NV_texgen_emboss
290 NV_texgen_reflection
291 NV_texture_barrier
292 NV_texture_compression_vtc
293 NV_texture_env_combine4
294 NV_texture_expand_normal
295 NV_texture_rectangle
296 NV_texture_shader
297 NV_texture_shader2
298 NV_texture_shader3
299 NV_transform_feedback
300 NV_transform_feedback2
301 NV_vertex_array_range
302 NV_vertex_array_range2
303 NV_vertex_attrib_integer_64bit
304 NV_vertex_buffer_unified_memory
305 NV_vertex_program
306 NV_vertex_program1_1
307 NV_vertex_program2
308 NV_vertex_program2_option
309 NV_vertex_program3
310 NV_vertex_program4

311 OES_byte_coordinates
312 OES_compressed_paletted_texture
313 OES_read_format
314 OES_single_precision

315 OML_interlace
316 OML_resample
317 OML_subsample

318 PGI_misc_hints
319 PGI_vertex_hints

320 REND_screen_coordinates

321 S3_s3tc

322 SGIS_color_range
323 SGIS_detail_texture
324 SGIS_fog_function
325 SGIS_generate_mipmap
326 SGIS_multisample
327 SGIS_pixel_texture
328 SGIS_point_line_texgen
329 SGIS_sharpen_texture
330 SGIS_texture4D
331 SGIS_texture_border_clamp
332 SGIS_texture_edge_clamp
333 SGIS_texture_filter4
334 SGIS_texture_lod
335 SGIS_texture_select

336 SGIX_async
337 SGIX_async_histogram
338 SGIX_async_pixel
339 SGIX_blend_alpha_minmax
340 SGIX_clipmap
341 SGIX_convolution_accuracy
342 SGIX_depth_texture
343 SGIX_flush_raster
344 SGIX_fog_offset
345 SGIX_fog_texture
346 SGIX_fragment_specular_lighting
347 SGIX_framezoom
348 SGIX_interlace
349 SGIX_ir_instrument1
350 SGIX_list_priority
351 SGIX_pixel_texture
352 SGIX_pixel_texture_bits
353 SGIX_reference_plane
354 SGIX_resample
355 SGIX_shadow
356 SGIX_shadow_ambient
357 SGIX_sprite
358 SGIX_tag_sample_buffer
359 SGIX_texture_add_env
360 SGIX_texture_coordinate_clamp
361 SGIX_texture_lod_bias
362 SGIX_texture_multi_buffer
363 SGIX_texture_range
364 SGIX_texture_scale_bias
365 SGIX_vertex_preclip
366 SGIX_vertex_preclip_hint
367 SGIX_ycrcb

368 SGI_color_matrix
369 SGI_color_table
370 SGI_texture_color_table

371 SUNX_constant_data

372 SUN_convolution_border_modes
373 SUN_global_alpha
374 SUN_mesh_array
375 SUN_read_video_pixels
376 SUN_slice_accum
377 SUN_triangle_list
378 SUN_vertex

379 WIN_phong_shading
380 WIN_specular_fog
381 WIN_swap_hint
- -
- - diff --git a/Externals/GLew/doc/glew.png b/Externals/GLew/doc/glew.png deleted file mode 100644 index d46550f194..0000000000 Binary files a/Externals/GLew/doc/glew.png and /dev/null differ diff --git a/Externals/GLew/doc/glew.txt b/Externals/GLew/doc/glew.txt deleted file mode 100644 index 31a31d3dbe..0000000000 --- a/Externals/GLew/doc/glew.txt +++ /dev/null @@ -1,28 +0,0 @@ -The OpenGL Extension Wrangler Library -Copyright (C) 2002-2008, Milan Ikits -Copyright (C) 2002-2008, Marcelo E. Magallon -Copyright (C) 2002, Lev Povalahev -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* The name of the author may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Externals/GLew/doc/glxew.html b/Externals/GLew/doc/glxew.html deleted file mode 100644 index 9818b603a6..0000000000 --- a/Externals/GLew/doc/glxew.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

Supported GLX Extensions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 3DFX_multisample

2 ARB_create_context
3 ARB_create_context_profile
4 ARB_fbconfig_float
5 ARB_framebuffer_sRGB
6 ARB_get_proc_address
7 ARB_multisample
8 ARB_vertex_buffer_object

9 ATI_pixel_format_float
10 ATI_render_texture

11 EXT_fbconfig_packed_float
12 EXT_framebuffer_sRGB
13 EXT_import_context
14 EXT_scene_marker
15 EXT_swap_control
16 EXT_texture_from_pixmap
17 EXT_visual_info
18 EXT_visual_rating

19 INTEL_swap_event

20 MESA_agp_offset
21 MESA_copy_sub_buffer
22 MESA_pixmap_colormap
23 MESA_release_buffers
24 MESA_set_3dfx_mode

25 NV_copy_image
26 NV_float_buffer
27 NV_present_video
28 NV_swap_group
29 NV_vertex_array_range
30 NV_video_output

31 OML_swap_method
32 OML_sync_control

33 SGIS_blended_overlay
34 SGIS_color_range
35 SGIS_multisample
36 SGIS_shared_multisample

37 SGIX_fbconfig
38 SGIX_hyperpipe
39 SGIX_pbuffer
40 SGIX_swap_barrier
41 SGIX_swap_group
42 SGIX_video_resize
43 SGIX_visual_select_group

44 SGI_cushion
45 SGI_make_current_read
46 SGI_swap_control
47 SGI_video_sync

48 SUN_get_transparent_index
49 SUN_video_resize
- -
- - diff --git a/Externals/GLew/doc/gpl.txt b/Externals/GLew/doc/gpl.txt deleted file mode 100644 index b7b5f53df1..0000000000 --- a/Externals/GLew/doc/gpl.txt +++ /dev/null @@ -1,340 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. diff --git a/Externals/GLew/doc/index.html b/Externals/GLew/doc/index.html deleted file mode 100644 index f95035b231..0000000000 --- a/Externals/GLew/doc/index.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

-The OpenGL Extension Wrangler Library (GLEW) is a cross-platform -open-source C/C++ extension loading library. GLEW provides efficient -run-time mechanisms for determining which OpenGL extensions are -supported on the target platform. OpenGL core and extension -functionality is exposed in a single header file. GLEW has been -tested on a variety of operating systems, including Windows, Linux, -Mac OS X, FreeBSD, Irix, and Solaris. -

- -

Download Center

-

-GLEW is distributed -as source and precompiled binaries. The latest release is -1.5.4 -[04-21-10]: -

-

-

-

- - - -
- - - - - - - - - - - - - - - -
Source -ZIP |  -TGZ
Binaries -Windows 32-bit |  -64-bit  -
-
-

-

-An up-to-date copy is also available from the project -repository: -

-

-svn co https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew glew -

- -

Supported Extensions

-

-The latest release contains support for OpenGL 3.3, OpenGL 4.0 and the following extensions: -

- - -

News

-
    -
  • [04-21-10] GLEW 1.5.4 adds support for OpenGL 3.3, OpenGL 4.0 and new extensions, fixes bugs
  • -
  • [02-28-10] GLEW 1.5.3 fixes minor bugs and adds three new extensions
  • -
  • [12-31-09] GLEW 1.5.2 adds support for OpenGL 3.1, OpenGL 3.2 and new extensions
  • -
  • [11-03-08] GLEW 1.5.1 adds support for OpenGL 3.0 and 31 new extensions
  • -
  • [12-27-07] GLEW 1.5.0 is released under less restrictive licenses
  • -
  • [04-27-07] GLEW 1.4.0 is released
  • -
  • [03-08-07] GLEW is included in the NVIDIA OpenGL SDK
  • -
  • [03-04-07] GLEW 1.3.6 is released
  • -
  • [02-28-07] Repository is migrated to SVN
  • -
  • [02-25-07] GLEW is included in the OpenGL SDK
  • -
  • [11-21-06] GLEW 1.3.5 adds OpenGL 2.1 and NVIDIA G80 extensions
  • -
  • [03-04-06] GLEW 1.3.4 adds support for five new extensions
  • -
  • [05-16-05] GLEW 1.3.3 is released
  • -
  • [03-16-05] GLEW 1.3.2 adds support for GL_APPLE_pixel_buffer
  • -
  • [02-11-05] gljava and sdljava provide a Java binding to OpenGL via GLEW
  • -
  • [02-02-05] GLEW 1.3.1 adds support for GL_EXT_framebuffer_object
  • -
  • [01-04-05] GLEW 1.3.0 adds core OpenGL 2.0 support plus many enhancements
  • -
  • [12-22-04] GLEWpy Python wrapper announced
  • -
  • [12-12-04] Mailing lists created on sourceforge
  • -
  • [12-06-04] GLEW 1.2.5 adds new extensions and support for FreeBSD
  • -
- -

Links

- - - -
- - diff --git a/Externals/GLew/doc/install.html b/Externals/GLew/doc/install.html deleted file mode 100644 index 45d45249b2..0000000000 --- a/Externals/GLew/doc/install.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

Installation

- -

-To use the shared library version of GLEW, you need to copy the -headers and libraries into their destination directories. On Windows -this typically boils down to copying: -

- - - - - - - - - - -
bin/glew32.dll    to    %SystemRoot%/system32
lib/glew32.lib    to    {VC Root}/Lib
include/GL/glew.h    to    {VC Root}/Include/GL
include/GL/wglew.h    to    {VC Root}/Include/GL
-

-

- -

-where {VC Root} is the Visual C++ root directory, typically -C:/Program Files/Microsoft Visual Studio/VC98 for Visual -Studio 6.0 or C:/Program Files/Microsoft Visual -Studio .NET 2003/Vc7/PlatformSDK for Visual Studio .NET. -

- -

-On Unix, typing make install will attempt to install GLEW -into /usr/include/GL and /usr/lib. You can -customize the installation target via the GLEW_DEST -environment variable if you do not have write access to these -directories. -

- -

Building Your Project with GLEW

-

-There are two ways to build your project with GLEW. -

-

Including the source files / project file

-

-The simpler but less flexible way is to include glew.h and -glew.c into your project. On Windows, you also need to -define the GLEW_STATIC preprocessor token when building a -static library or executable, and the GLEW_BUILD preprocessor -token when building a dll. You also need to replace -<GL/gl.h> and <GL/glu.h> with -<glew.h> in your code and set the appropriate include -flag (-I) to tell the compiler where to look for it. For -example: -

-

-#include <glew.h>
-#include <GL/glut.h>
-<gl, glu, and glut functionality is available here>
-

-

-Depending on where you put glew.h you may also need to change -the include directives in glew.c. Note that if you are using -GLEW together with GLUT, you have to include glew.h first. -In addition, glew.h includes glu.h, so you do not -need to include it separately. -

-

-On Windows, you also have the option of adding the supplied project -file glew_static.dsp to your workspace (solution) and compile -it together with your other projects. In this case you also need to -change the GLEW_BUILD preprocessor constant to -GLEW_STATIC when building a static library or executable, -otherwise you get build errors. -

-

-Note that GLEW does not use the C -runtime library, so it does not matter which version (single-threaded, -multi-threaded or multi-threaded DLL) it is linked with (without -debugging information). It is, however, always a good idea to compile all -your projects including GLEW with the same C runtime settings. -

- -

Using GLEW as a shared library

- -

-Alternatively, you can use the provided project files / makefile to -build a separate shared library you can link your projects with later. -In this case the best practice is to install glew.h, -glew32.lib, and glew32.dll / libGLEW.so to -where the OpenGL equivalents gl.h, opengl32.lib, and -opengl32.dll / libGL.so are located. Note that you -need administrative privileges to do this. If you do not have -administrator access and your system administrator will not do it for -you, you can install GLEW into your own lib and include subdirectories -and tell the compiler where to find it. Then you can just replace -<GL/gl.h> with <GL/glew.h> in your -program: -

- -

-#include <GL/glew.h>
-#include <GL/glut.h>
-<gl, glu, and glut functionality is available here>
-

- -

-or: -

- -

-#include <GL/glew.h>
-<gl and glu functionality is available here>
-

- -

-Remember to link your project with glew32.lib, -glu32.lib, and opengl32.lib on Windows and -libGLEW.so, libGLU.so, and libGL.so on -Unix (-lGLEW -lGLU -lGL). -

- -

-It is important to keep in mind that glew.h includes neither -windows.h nor gl.h. Also, GLEW will warn you by -issuing a preprocessor error in case you have included gl.h, -glext.h, or glATI.h before glew.h. -

- - -
- - diff --git a/Externals/GLew/doc/khronos.txt b/Externals/GLew/doc/khronos.txt deleted file mode 100644 index ffc271c915..0000000000 --- a/Externals/GLew/doc/khronos.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2007 The Khronos Group Inc. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and/or associated documentation files (the -"Materials"), to deal in the Materials without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Materials, and to -permit persons to whom the Materials are furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Materials. - -THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. diff --git a/Externals/GLew/doc/log.html b/Externals/GLew/doc/log.html deleted file mode 100644 index 610a7696d8..0000000000 --- a/Externals/GLew/doc/log.html +++ /dev/null @@ -1,704 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

Change Log

- -
-
    -
  • 1.5.4 [04-21-10] -
      -
    • New features: -
        -
      • Support for OpenGL 3.3 -
      • Support for OpenGL 4.0 -
      -
    • New extensions: -
        -
      • GL_AMD_conservative_depth -
      • GL_ARB_blend_func_extended -
      • GL_ARB_draw_indirect -
      • GL_ARB_explicit_attrib_location -
      • GL_ARB_gpu_shader5 -
      • GL_ARB_gpu_shader_fp64 -
      • GL_ARB_occlusion_query2 -
      • GL_ARB_sampler_objects -
      • GL_ARB_shader_bit_encoding -
      • GL_ARB_shader_subroutine -
      • GL_ARB_shading_language_include -
      • GL_ARB_tessellation_shader -
      • GL_ARB_texture_buffer_object_rgb32 -
      • GL_ARB_texture_compression_bptc -
      • GL_ARB_texture_rgb10_a2ui -
      • GL_ARB_texture_swizzle -
      • GL_ARB_timer_query -
      • GL_ARB_transform_feedback2 -
      • GL_ARB_transform_feedback3 -
      • GL_ARB_vertex_type_2_10_10_10_rev -
      • GL_EXT_shader_image_load_store -
      • GL_EXT_vertex_attrib_64bit -
      • GL_NV_gpu_program5 -
      • GL_NV_gpu_program_fp64 -
      • GL_NV_gpu_shader5 -
      • GL_NV_tessellation_program5 -
      • GL_NV_vertex_attrib_integer_64bit -
      • GLX_ARB_vertex_buffer_object -
      -
    • Bug fixes: -
        -
      • Parameter constness fix for glPointParameteriv and glPointParameterfv -
      -
    -
- -
-
    -
  • 1.5.3 [02-28-10] -
      -
    • New extensions: -
        -
      • GLX_INTEL_swap_event -
      • GL_AMD_seamless_cubemap_per_texture -
      • GL_AMD_shader_stencil_export -
      -
    • Bug fixes: -
        -
      • Correct version detection for GL 3.1 and 3.2 -
      • Missing 3.1 enumerants -
      • Add glew.pc -
      -
    -
- -
-
    -
  • 1.5.2 [12-31-09] -
      -
    • New features: -
        -
      • Support for OpenGL 3.1 -
      • Support for OpenGL 3.2 -
      -
    • New extensions: -
        -
      • GL_AMD_draw_buffers_blend -
      • GL_AMD_performance_monitor -
      • GL_AMD_texture_texture4 -
      • GL_AMD_vertex_shader_tessellator -
      • GL_APPLE_aux_depth_stencil -
      • GL_APPLE_object_purgeable -
      • GL_APPLE_rgb_422 -
      • GL_APPLE_row_bytes -
      • GL_APPLE_vertex_program_evaluators -
      • GL_ARB_compatibility -
      • GL_ARB_copy_buffer -
      • GL_ARB_depth_clamp -
      • GL_ARB_draw_buffers_blend -
      • GL_ARB_draw_elements_base_vertex -
      • GL_ARB_fragment_coord_conventions -
      • GL_ARB_provoking_vertex -
      • GL_ARB_sample_shading -
      • GL_ARB_seamless_cube_map -
      • GL_ARB_shader_texture_lod -
      • GL_ARB_sync -
      • GL_ARB_texture_cube_map_array -
      • GL_ARB_texture_gather -
      • GL_ARB_texture_multisample -
      • GL_ARB_texture_query_lod -
      • GL_ARB_uniform_buffer_object -
      • GL_ARB_vertex_array_bgra -
      • GL_ATI_meminfo -
      • GL_EXT_provoking_vertex -
      • GL_EXT_separate_shader_objects -
      • GL_EXT_texture_snorm -
      • GL_NV_copy_image -
      • GL_NV_parameter_buffer_object2 -
      • GL_NV_shader_buffer_load -
      • GL_NV_texture_barrier -
      • GL_NV_transform_feedback2 -
      • GL_NV_vertex_buffer_unified_memory -
      • WGL_AMD_gpu_association -
      • WGL_ARB_create_context_profile -
      • WGL_NV_copy_image -
      • GLX_ARB_create_context_profile -
      • GLX_EXT_swap_control -
      • GLX_NV_copy_image -
      -
    • Bug fixes: -
        -
      • DOS line endings for windows .zip archives only. -
      • glTransformFeedbackVaryings arguments. -
      • Resource leak in glewinfo and visualinfo tools. -
      • WIN32_LEAN_AND_MEAN preprocessor pollution. -
      • Fixed version detection for GLEW_VERSION_2_1 and GLEW_VERSION_3_0. -
      • MesaGLUT glut.h GLAPIENTRY dependency. -
      • glFramebufferTextureLayer correction. -
      • OSX compiler warnings resolved. -
      • Cygwin linking to opengl32 by default, rather than X11 OpenGL. -
      • SnowLeopard (OSX 10.6) gl.h detection. -
      • Use $(STRIP) consistently. -
      -
    -
- -
-
    -
  • 1.5.1 [11-03-08] -
      -
    • New features: -
        -
      • Support for OpenGL 3.0 -
      -
    • New extensions: -
        -
      • GL_ARB_depth_buffer_float -
      • GL_ARB_draw_instance, -
      • GL_ARB_framebuffer_object -
      • GL_ARB_framebuffer_sRGB -
      • GL_ARB_geometry_shader4 -
      • GL_ARB_half_float_pixel -
      • GL_ARB_half_float_vertex -
      • GL_ARB_instanced_arrays -
      • GL_ARB_map_buffer_range -
      • GL_ARB_texture_buffer_object -
      • GL_ARB_texture_compression_rgtc -
      • GL_ARB_vertex_array_object -
      • GL_EXT_direct_state_access -
      • GL_EXT_texture_swizzle -
      • GL_EXT_transform_feedback -
      • GL_EXT_vertex_array_bgra -
      • GL_NV_conditional_render -
      • GL_NV_explicit_multisample -
      • GL_NV_present_video -
      • GL_SGIS_point_line_texgen -
      • GL_SGIX_convolution_accuracy -
      • WGL_ARB_create_context -
      • WGL_ARB_framebuffer_sRGB -
      • WGL_NV_present_video -
      • WGL_NV_swap_group -
      • WGL_NV_video_output -
      • GLX_ARB_create_context -
      • GLX_ARB_framebuffer_sRGB -
      • GLX_NV_present_video -
      • GLX_NV_swap_group -
      • GLX_NV_video_output -
      -
    • Bug fixes: -
        -
      • Licensing issues with documentation -
      • Problems with long long and _MSC_VER on MINGW -
      • Incorrect parameter for glGetUniformLocation -
      • glewGetExtension fails on last entry -
      • Incomplete GL_NV_texture_shader tokens -
      • Scripting problems on Cygwin -
      • Incorrect definition for GLint on OS X -
      -
    -
- -
-
    -
  • 1.5.0 [12-27-07] -
      -
    • New features: -
        -
      • Licensing change (BSD, Mesa 3-D, Khronos) -
      • Switch to using registry on www.opengl.org -
      • Support for major and minor version strings -
      -
    • New extensions: -
        -
      • GL_APPLE_flush_buffer_range -
      • GL_GREMEDY_frame_terminator -
      • GLX_EXT_texture_from_pixmap -
      -
    • Bug fixes: -
        -
      • Incorrent 64-bit type definitions -
      • Do not strip static library on install -
      • Missing tokens in GL_ATI_fragment_shader and WGL_{ARB,EXT}_make_current_read -
      • Missing tokens in GL_VERSION_2_1 -
      • Missing functions in GL_VERSION_1_4 -
      • Incorrect parameter type for glXCopyContext -
      -
    -
-
-
    -
  • 1.4.0 [04-27-07] -
      -
    • New features: -
        -
      • Extension variables are declared const to avoid possible -corruption of their values -
      -
    • New extensions: -
        -
      • GL_NV_depth_range_unclamped -
      -
    • Bug fixes: -
        -
      • Incorrect tokens in GL_NV_transform_feedback and GL_NV_framebuffer_multisample_coverage -
      • Incorrect function names in GL_EXT_gpu_program_parameters -
      • Missing tokens in GL_EXT_framebuffer_multisample -
      • GLEW_MX initialization problem for WGL_{ARB,EXT}_extensions_string -
      -
    -
-
-
    -
  • 1.3.6 [03-04-07] -
      -
    • New extensions: -
        -
      • GL_ATI_shader_texture_lod -
      • GL_EXT_gpu_program_parameters -
      • GL_NV_geometry_shader4 -
      • WGL_NV_gpu_affinity -
      • GLX_SGIX_hyperpipe -
      -
    • Bug fixes: -
        -
      • Missing include guards in glxew.h -
      • Makefile and install problems for Cygwin builds -
      • Install problem for Linux AMD64 builds -
      • Incorrent token in GL_ATI_texture_compression_3dc -
      • Missing tokens from GL_ATIX_point_sprites -
      -
    -
-
-
    -
  • 1.3.5 [11-21-06] -
      -
    • New features: -
        -
      • Support for core OpenGL 2.1 -
      • Debug support for glewIsSupported -
      -
    • New extensions: -
        -
      • GL_EXT_bindable_uniform -
      • GL_EXT_draw_buffers2 -
      • GL_EXT_draw_instanced -
      • GL_EXT_framebuffer_sRGB -
      • GL_EXT_geometry_shader4 -
      • GL_EXT_gpu_shader4 -
      • GL_EXT_packed_float -
      • GL_EXT_texture_array -
      • GL_EXT_texture_buffer_object -
      • GL_EXT_texture_compression_latc -
      • GL_EXT_texture_compression_rgtc -
      • GL_EXT_texture_integer -
      • GL_EXT_texture_shared_exponent -
      • GL_EXT_timer_query -
      • GL_NV_depth_buffer_float -
      • GL_NV_fragment_program4 -
      • GL_NV_framebuffer_multisample_coverage -
      • GL_NV_geometry_program4 -
      • GL_NV_gpu_program4 -
      • GL_NV_parameter_buffer_object -
      • GL_NV_transform_feedback -
      • GL_NV_vertex_program4 -
      • GL_OES_byte_coordinates -
      • GL_OES_compressed_paletted_texture -
      • GL_OES_read_format -
      • GL_OES_single_precision -
      • WGL_EXT_pixel_format_packed_float -
      • WGL_EXT_framebuffer_sRGB -
      • GLX_EXT_fbconfig_packed_float -
      • GLX_EXT_framebuffer_sRGB -
      -
    • Bug fixes: -
        -
      • Wrong GLXContext definition on Solaris -
      • Makefile problem for parallel builds -
      -
    -
-
-
    -
  • 1.3.4 [03-04-06] -
      -
    • New extensions: -
        -
      • GL_EXT_framebuffer_blit -
      • GL_EXT_framebuffer_multisample -
      • GL_EXT_packed_depth_stencil -
      • GL_MESAX_texture_stack -
      • WGL_3DL_stereo_control -
      -
    -
      -
    • Bug fixes: -
        -
      • glBlendEquation missing from GL_ARB_imaging -
      • Wrong APIENTRY definition for Cygwin -
      • Incorrect OS X OpenGL types -
      • Unix 64-bit installation patch -
      -
    -
-
-
    -
  • 1.3.3 [05-16-05] -
      -
    • New feature: -
        -
      • Code generation option to split source into multiple files -
      -
    -
      -
    • Bug fixes: -
        -
      • OpenGL 2.0 core initialization problems -
      • Wrong value for token GL_SHADER_TYPE -
      • Missing tokens in GL_ATI_fragment_shader -
      • Missing entry points in GL_ARB_transpose_matrix -
      -
    -
-
-
    -
  • 1.3.2 [03-16-05] -
      -
    • New extension: -
        -
      • GL_APPLE_pixel_buffer -
      -
    • Bug fixes: -
        -
      • Missing OpenGL 2.0 entry points -
      • Missing tokens in GL_SGIX_shadow -
      • MinGW makefile problem -
      • Check for incorrect OpenGL version string on SiS hardware -
      • Documentation update to meet the HTML 4.01 Transitional specification -
      -
    -
-
-
    -
  • 1.3.1 [02-02-05] -
      -
    • New features: -
        -
      • Consistent Unix and Windows versioning -
      -
    • New extensions: -
        -
      • GL_EXT_framebuffer_object -
      • GL_ARB_pixel_buffer_object -
      -
    • Bug fixes: -
        -
      • Missing OpenGL 2.0 tokens -
      • Incorrect typedefs (GLhandleARB and GLhalf) -
      • Borland compiler problems -
      -
    -
-
-
    -
  • 1.3.0 [01-04-05] -
      -
    • New features: -
        -
      • Support for core OpenGL 2.0 -
      • glewIsSupported provides efficient string-based extension checks -
      • Custom code generation from a list of extensions -
      • Makefile changes -
      -
    • New extensions: -
        -
      • WGL_ATI_render_texture_rectangle -
      -
    • Bug fixes: -
        -
      • Incorrect function signature in OpenGL 1.5 core -
      -
    -
-
-
    -
  • 1.2.5 [12-06-04] -
      -
    • New extensions: -
        -
      • GL_ATI_texture_compression_3dc -
      • GL_EXT_Cg_shader -
      • GL_EXT_draw_range_elements -
      • GL_KTX_buffer_region -
      -
    • Bug fixes: -
        -
      • OpenGL version detection bug -
      • Problems with wxWindows and MinGW compilation -
      • visualinfo compilation problem with GLEW_MX specified -
      • Wrong token name in OpenGL 1.5 core -
      -
    • Support for FreeBSD -
    -
-
-
    -
  • 1.2.4 [09-06-04] -
      -
    • Added ARB_draw_buffers and ARB_texture_rectangle -
    • Fixed bug in ARB_shader_objects -
    • Replaced wglinfo with visualinfo -
    -
-
-
    -
  • 1.2.3 [06-10-04] -
      -
    • Added GL_NV_fragment_program2, GL_NV_fragment_program_option, GL_NV_vertex_program2_option, GL_NV_vertex_program3 -
    • Bug fix in GL_ARB_vertex_blend -
    -
-
-
    -
  • 1.2.2 [05-08-04] -
      -
    • Added GL_EXT_pixel_buffer_object, removed GL_NV_element_array -
    • Fixed GLEW_MX problems -
    • Bug fix in GL_EXT_texture_rectangle and wglinfo -
    -
-
-
    -
  • 1.2.1 [03-18-04] -
      -
    • Bug fix in OpenGL version query (early release of 1.2.0 contained this bug) -
    • Bug fix in GL_ARB_shader_objects and temporary bug fix in GL_ARB_vertex_shader -
    • Added flags on GDI support and multisampling to wglinfo -
    -
-
-
    -
  • 1.2.0 [02-19-04] -
      -
    • Added full OpenGL 1.5 support -
    • Added support for multiple rendering contexts with different capabilities -
    • Added command line flags to glewinfo for selecting displays and visuals -
    • Added GLX_SGIS_multisample, GLX_SUN_video_resize, and GL_SUN_read_video_pixels -
    • Added MinGW/MSYS support -
    • Bug fixes in GL_ARB_shader_objects and the OS X build -
    -
-
-
    -
  • 1.1.4 [12-15-03] -
      -
    • Added GL_APPLE_float_pixels, GL_APPLE_texture_range, -GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, -GLX_ATI_pixel_format_float, and GLX_ATI_render_texture -
    • Bug fixes in GL_ATI_map_object_buffer and GL_ATI_fragment_shader -
    -
-
-
    -
  • 1.1.3 [10-28-03] -
      -
    • Added Solaris and Darwin support -
    • Added GL_ARB_fragment_shader, GL_ARB_shader_objects, and GL_ARB_vertex_shader -
    • Fixed bug in GL_WIN_swap_hint -
    • Removed glewinfo's dependency on GLUT -
    -
-
-
    -
  • 1.1.2 [09-15-03] -
      -
    • Removed dependency on WGL_{ARB,EXT}_extensions_string to make GLEW run on Matrox cards -
    • Added glewGetString for querying the GLEW version string -
    -
-
-
    -
  • 1.1.1 [08-11-03] -
      -
    • Added GLX_NV_float_buffer, GL_ARB_shading_language_100, and GL_ARB_texture_non_power_of_two -
    • Fixed bug in GL_ARB_vertex_buffer_object -
    • Minor updates in documentation -
    -
-
-
    -
  • 1.1.0 [07-08-03] -
      -
    • Added automatic code generation -
    • Added almost every extension in the registry -
    • Added separate namespace -
    • Added Irix support -
    • Updated documentation -
    -
-
-
    -
  • 1.0.7 [06-29-03] -
      -
    • Added GL_EXT_depth_bounds_test -
    • Fixed typos -
    -
-
-
    -
  • 1.0.6 [05-05-03] -
      -
    • Added ARB_vertex_buffer_object and NV_half_float -
    • Updated wglinfo -
    • Temporary Linux bug fixes (problems with SDL and MESA) -
    -
-
-
    -
  • 1.0.5 [02-17-03] -
      -
    • Bug fixes -
    • Added wglinfo -
    • Updated documentation -
    -
-
-
    -
  • 1.0.4 [02-02-03] -
      -
    • Added NV_texture_expand_normal -
    • Added mingw support -
    • Updated documentation -
    -
-
-
    -
  • 1.0.3 [01-09-03] -
      -
    • Cleaned up ATI extensions -
    • Changed function prototypes to match glext.h -
    • Added EXT_texture3D -
    • Fixed typos in ATI_vertex_attrib_array_object and ATI_draw_buffers -
    -
-
-
    -
  • 1.0.2 [12-21-02] -
      -
    • Added list of supported extensions to documentation -
    • Added NV_half_float and NV_texgen_emboss -
    -
-
-
    -
  • 1.0.1 [12-17-02] -
      -
    • Bug fixes -
    • Added glewGetExtension -
    -
-
-
    -
  • 1.0.0 [12-12-02] -
      -
    • Initial release -
    -
-
- - -
- - diff --git a/Externals/GLew/doc/mesa.txt b/Externals/GLew/doc/mesa.txt deleted file mode 100644 index a82dd4bd44..0000000000 --- a/Externals/GLew/doc/mesa.txt +++ /dev/null @@ -1,21 +0,0 @@ -Mesa 3-D graphics library -Version: 7.0 - -Copyright (C) 1999-2007 Brian Paul All Rights Reserved. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the "Software"), -to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Externals/GLew/doc/new.png b/Externals/GLew/doc/new.png deleted file mode 100644 index 7ce2b47960..0000000000 Binary files a/Externals/GLew/doc/new.png and /dev/null differ diff --git a/Externals/GLew/doc/ogl_sm.jpg b/Externals/GLew/doc/ogl_sm.jpg deleted file mode 100644 index f318d7655b..0000000000 Binary files a/Externals/GLew/doc/ogl_sm.jpg and /dev/null differ diff --git a/Externals/GLew/doc/wglew.html b/Externals/GLew/doc/wglew.html deleted file mode 100644 index a8ebe0f93e..0000000000 --- a/Externals/GLew/doc/wglew.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -GLEW: The OpenGL Extension Wrangler Library - - - - - - - - -
- - - - - - - - -
- - - - - - - -
Latest Release: 1.5.4

GLEW Logo

- - - - - - - - - - -
Download
Installation
Basic Usage
Advanced Usage
Credits & Copyright
Change Log
Project Page
Mailing Lists
Bug Tracker
-

-
- - - - - -
Last Update: 04-21-10
- OpenGL Logo - SourceForge Logo -
-
-
- -

The OpenGL Extension Wrangler Library

- - - - -

Supported WGL Extensions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 3DFX_multisample

2 3DL_stereo_control

3 AMD_gpu_association

4 ARB_buffer_region
5 ARB_create_context
6 ARB_create_context_profile
7 ARB_extensions_string
8 ARB_framebuffer_sRGB
9 ARB_make_current_read
10 ARB_multisample
11 ARB_pbuffer
12 ARB_pixel_format
13 ARB_pixel_format_float
14 ARB_render_texture

15 ATI_pixel_format_float
16 ATI_render_texture_rectangle

17 EXT_depth_float
18 EXT_display_color_table
19 EXT_extensions_string
20 EXT_framebuffer_sRGB
21 EXT_make_current_read
22 EXT_multisample
23 EXT_pbuffer
24 EXT_pixel_format
25 EXT_pixel_format_packed_float
26 EXT_swap_control

27 I3D_digital_video_control
28 I3D_gamma
29 I3D_genlock
30 I3D_image_buffer
31 I3D_swap_frame_lock
32 I3D_swap_frame_usage

33 NV_copy_image
34 NV_float_buffer
35 NV_gpu_affinity
36 NV_present_video
37 NV_render_depth_texture
38 NV_render_texture_rectangle
39 NV_swap_group
40 NV_vertex_array_range
41 NV_video_output

42 OML_sync_control
- -
- - diff --git a/Externals/GLew/glew.pc.in b/Externals/GLew/glew.pc.in deleted file mode 100644 index 4979fb0504..0000000000 --- a/Externals/GLew/glew.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: glew -Description: The OpenGL Extension Wrangler library -Version: @version@ -Cflags: -I${includedir} -Libs: -L${libdir} -lGLEW diff --git a/Externals/SDL/BUGS b/Externals/SDL/BUGS deleted file mode 100644 index 218bf3d15b..0000000000 --- a/Externals/SDL/BUGS +++ /dev/null @@ -1,18 +0,0 @@ - -Bugs are now managed in the SDL bug tracker, here: - - http://bugzilla.libsdl.org/ - -You may report bugs there, and search to see if a given issue has already - been reported, discussed, and maybe even fixed. - - - -You may also find help at the SDL mailing list. Subscription information: - - http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org - -Bug reports are welcome here, but we really appreciate if you use Bugzilla, as - bugs discussed on the mailing list may be forgotten or missed. - - diff --git a/Externals/SDL/Borland.html b/Externals/SDL/Borland.html deleted file mode 100644 index eaf82099d6..0000000000 --- a/Externals/SDL/Borland.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - Building SDL with Borland's C++ compilers - - - - - -

Building SDL with Borland's C++ compilers.

- by David Snopek - and updated by Dominique - Louis ( Last updated : 30th June 2003 ).
-
- These instructions cover how to compile SDL and its included test -programs using either Borland C++ Builder 5, 6 for Windows, - C++ Builder for Linux ( AKA Kylix 3 ) or the free Borland C++ command-line compiler.
- -

Extract the files

- -

Unzip the Borland.zip archive into this directory. Do not unzip - it into any other directory because the makefiles ( *.mak ) and project - files ( *.bpr ) use relative paths to refer to the SDL sources. This should - create a directory named "Borland" inside of the top level SDL source directory. -

- -

Using Borland C++ Builder 5, 6 for Windows -

- -

Inside of the "Borland" directory there is a "bcb6" directory that contains - a number of Builder project files. Double-click on the "libSDL.bpg" file - icon. Once Builder has started click on the "Projects" menu on -the menu-bar and go down to "Build All Projects" option.
- This will proceed to build SDL ( with Borland's calling convention ), -SDLmain, and all the test programs. Currently, all -the test programs are dynamically linked to Sam Lantinga's -SDL.dll.

- -

NOTE : Borland's "lib" format and Microsoft's "lib" format are incompatible. - 
- If you wish to dynamically link to the SDL library supplied by Sam Lantinga - in each release, I have created the correct *.libs for SDL 1.2.4 and they - exist in the "/lib" directory.
- If you would like to create the *.lib files yourself, you will need to -make use of Borland's "implib.exe" utility.
-

- -

IMPLIB works like this:

- -
    IMPLIB (destination lib name) (source dll)
- -

For example,

- -
    IMPLIB SDL.lib SDL.dll
- -

This assumes that SDL.dll was compiled with Visual C++ or similar.
-

- -

To learn more about the difference between Borland's and Microsoft's *.lib - format please read the article here.
-

- -


- NOTE :
The C++ Builder for Windows project format, is not compatible - with the Kylix 3 project format, hence the reason why they are in separate - directories.

- -

Using the free Borland C++ command-line compiler -

- -

The free Borland compiler can be downloaded at no charge from the Borland website - . Make sure that it is installed and properly configured.

- -

Open an MS-DOS Prompt. Change to the "Borland\freebcc" directory under - the SDL source directory. Type "make -f SDL.mak" to build SDL and "make - -f SDLmain.mak". There are also makefiles for all of the test programs, if you wish to build them. All .exes and -DLLs are created in the "test" SDL directory. Ify ou would like to create -the DLL and all the test applications, I have thrown together a basic batchfile -called "makeall.bat" which should create everything in the right order.

- -

Output files

- No matter which compiler you used, three important files should have - been produced: -
    -
  • SDL.dll ( Borland format )
  • -
  • SDL.lib ( Borland format )
  • -
  • SDLmain.lib ( Borland format )
  • - -
- Both of the *.lib files will need to be added to all the projects -that use SDL and SDL.dll must be placed some where the Windows dynamic -linker can find it (either in your project directory or on the system -path, C:\WINDOWS\SYSTEM). -

Using Borland C++ Builder for Linux ( AKA Kylix - 3 )

- -

Inside of the "Borland" directory there is a "k3" directory that contains - a number of Builder project files. Double-click on the "libSDL.bpg" file - icon. Once Builder has started click on the "Projects" menu on -the menu-bar and go down to "Build All Projects" option. This will -proceed to build all the test programs
- Linux users do not need *.lib files as the Shared Object is linked right - into the project ( very neat actually, Windows should do this sort of thing - as it is a lot easier for the developer ).
- NOTE : The C++ Builder for Windows project format, is not - compatible with the Kylix 3 project format, hence the reason why they are - in separate directories.

- -

On Mandrake 8.1 the shared objects for SDL are located in the /usr/lib - directory as libSDL_*.so and the Mesa OpenGL shared objects are located -in /usr/X11R6/lib as libGL*.so
-
- So if your setup is different you may need to change the project file - so that they re-link to the ones on your system.
-
- On Mandrake 8.1 the headers files are located at /usr/include/SDL/. - So if you you have not installed the development RPMs ( usually named libSDL-devel* - ) for SDL ( not included ) you may have to change the include directory - within some of the projects.
-

- -

Known Problems

- The only known problem is that I ( Dominique Louis ), was unable to -create the projects that rebuilt the SDL shared objects under Linux, due -to time constraints and my lack of intimate knowledge of Linux. -

Test programs

- Some of the test programs require included media files ( *.wav; *.bmp -etc ). All the test programs are now created in the "test" directory, where -the media files are ( usually ) so they should be ready to go.
-
-
-
- - diff --git a/Externals/SDL/Borland.zip b/Externals/SDL/Borland.zip deleted file mode 100644 index ed8f45d27e..0000000000 Binary files a/Externals/SDL/Borland.zip and /dev/null differ diff --git a/Externals/SDL/COPYING b/Externals/SDL/COPYING deleted file mode 100644 index 2cba2ac74c..0000000000 --- a/Externals/SDL/COPYING +++ /dev/null @@ -1,458 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS diff --git a/Externals/SDL/CREDITS b/Externals/SDL/CREDITS deleted file mode 100644 index efdcfa4d71..0000000000 --- a/Externals/SDL/CREDITS +++ /dev/null @@ -1,94 +0,0 @@ - -Simple DirectMedia Layer CREDITS -Thanks to everyone who made this possible, including: - -* Cliff Matthews, for giving me a reason to start this project. :) - -- Executor rocks! *grin* - -* Scott Call, for making a home for SDL on the 'Net... Thanks! :) - -* The Linux Fund, C Magazine, Educational Technology Resources Inc., - Gareth Noyce, Jesse Pavel, Keith Kitchin, Jeremy Horvath, Thomas Nicholson, - Hans-Peter Gygax, the Eternal Lands Development Team, Lars Brubaker, - and Phoenix Kokido for financial contributions - -* Gatan de Menten for writing the PHP and SQL behind the SDL website - -* Tim Jones for the new look of the SDL website - -* Marco Kraus for setting up SDL merchandise - -* Martin Donlon for his work on the SDL Documentation Project - -* Ryan Gordon for helping everybody out and keeping the dream alive. :) - -* IBM R&D Lab for their PS3 SPE video acceleration code - -* Mattias Engdegrd, for help with the Solaris port and lots of other help - -* Max Watson, Matt Slot, and Kyle for help with the MacOS Classic port - -* Stan Shebs, for the initial Mac OS X port - -* Eric Wing, Max Horn, and Darrell Walisser for unflagging work on the Mac OS X port - -* Patrick Trainor, Jim Boucher, and Mike Gorchak for the QNX Neutrino port - -* Carsten Griwodz for the AIX port - -* Gabriele Greco, for the Amiga port - -* Patrice Mandin, for the Atari port - -* Hannu Viitala for the EPOC port - -* Marcus Mertama for the S60 port. - -* Peter Valchev for nagging me about the OpenBSD port until I got it right. :) - -* Kent B Mein, for a place to do the IRIX port - -* Ash, for a place to do the OSF/1 Alpha port - -* David Sowsy, for help with the BeOS port - -* Eugenia Loli, for endless work on porting SDL games to BeOS - -* Jon Taylor for the GGI front-end - -* Paulus Esterhazy, for the Visual C++ testing and libraries - -* Brenda Tantzen, for Metrowerks CodeWarrior on MacOS - -* Chris Nentwich, for the Hermes assembly blitters - -* Michael Vance and Jim Kutter for the X11 OpenGL support - -* Stephane Peter, for the AAlib front-end and multi-threaded timer idea. - -* Jon Atkins for SDL_image, SDL_mixer and SDL_net documentation - -* Peter Wiklund, for the 1998 winning SDL logo, - and Arto Hamara, Steven Wong, and Kent Mein for other logo entries. - -* Arne Claus, for the 2004 winning SDL logo, - and Shandy Brown, Jac, Alex Lyman, Mikkel Gjoel, #Guy, Jonas Hartmann, - Daniel Liljeberg, Ronald Sowa, DocD, Pekka Jaervinen, Patrick Avella, - Erkki Kontilla, Levon Gavalian, Hal Emerich, David Wiktorsson, - S. Schury and F. Hufsky, Ciska de Ruyver, Shredweat, Tyler Montbriand, - Martin Andersson, Merlyn Wysard, Fernando Ibanez, David Miller, - Andre Bommele, lovesby.com, Francisco Camenforte Torres, and David Igreja - for other logo entries. - -* Bob Pendleton and David Olofson for being long time contributors to - the SDL mailing list. - -* Everybody at Loki Software, Inc. for their great contributions! - - And a big hand to everyone else who gave me appreciation, advice, - and suggestions, especially the good folks on the SDL mailing list. - -THANKS! :) - - -- Sam Lantinga - diff --git a/Externals/SDL/CWprojects.sea.bin b/Externals/SDL/CWprojects.sea.bin deleted file mode 100644 index e8a6fdc29a..0000000000 Binary files a/Externals/SDL/CWprojects.sea.bin and /dev/null differ diff --git a/Externals/SDL/INSTALL b/Externals/SDL/INSTALL deleted file mode 100644 index 1a30fba008..0000000000 --- a/Externals/SDL/INSTALL +++ /dev/null @@ -1,23 +0,0 @@ - -To compile and install SDL: - - 1. Run './configure; make; make install' - - If you are compiling for Windows using gcc, read the FAQ at: - http://www.libsdl.org/faq.php?action=listentries&category=4#42 - - If you are compiling using Visual C++ on Win32, you should read - the file VisualC.html - - 2. Look at the example programs in ./test, and check out the HTML - documentation in ./docs to see how to use the SDL library. - - 3. Join the SDL developer mailing list by sending E-mail to - sdl-request@libsdl.org - and put "subscribe" in the subject of the message. - - Or alternatively you can use the web interface: - http://www.libsdl.org/mailing-list.php - -That's it! -Sam Lantinga diff --git a/Externals/SDL/MPWmake.sea.bin b/Externals/SDL/MPWmake.sea.bin deleted file mode 100644 index b345e08665..0000000000 Binary files a/Externals/SDL/MPWmake.sea.bin and /dev/null differ diff --git a/Externals/SDL/Makefile.dc b/Externals/SDL/Makefile.dc deleted file mode 100644 index 58d6e712df..0000000000 --- a/Externals/SDL/Makefile.dc +++ /dev/null @@ -1,111 +0,0 @@ -#GL=1 - -CC = sh-elf-gcc -AR = sh-elf-ar - -ifdef GL -DEFS += -DSDL_VIDEO_OPENGL=1 -TARGET = libSDL_gl.a -else -TARGET = libSDL.a -endif - -CFLAGS=$(KOS_CFLAGS) $(DEFS) -Iinclude - -SRCS = \ - src/audio/dc/SDL_dcaudio.c \ - src/audio/dc/aica.c \ - src/audio/dummy/SDL_dummyaudio.c \ - src/audio/SDL_audio.c \ - src/audio/SDL_audiocvt.c \ - src/audio/SDL_audiodev.c \ - src/audio/SDL_mixer.c \ - src/audio/SDL_wave.c \ - src/cdrom/dc/SDL_syscdrom.c \ - src/cdrom/SDL_cdrom.c \ - src/events/SDL_active.c \ - src/events/SDL_events.c \ - src/events/SDL_expose.c \ - src/events/SDL_keyboard.c \ - src/events/SDL_mouse.c \ - src/events/SDL_quit.c \ - src/events/SDL_resize.c \ - src/file/SDL_rwops.c \ - src/joystick/dc/SDL_sysjoystick.c \ - src/joystick/SDL_joystick.c \ - src/loadso/dummy/SDL_sysloadso.c \ - src/SDL.c \ - src/SDL_error.c \ - src/SDL_fatal.c \ - src/stdlib/SDL_getenv.c \ - src/stdlib/SDL_iconv.c \ - src/stdlib/SDL_malloc.c \ - src/stdlib/SDL_qsort.c \ - src/stdlib/SDL_stdlib.c \ - src/stdlib/SDL_string.c \ - src/thread/dc/SDL_syscond.c \ - src/thread/dc/SDL_sysmutex.c \ - src/thread/dc/SDL_syssem.c \ - src/thread/dc/SDL_systhread.c \ - src/thread/SDL_thread.c \ - src/timer/dc/SDL_systimer.c \ - src/timer/SDL_timer.c \ - src/video/dc/SDL_dcevents.c \ - src/video/dc/SDL_dcvideo.c \ - src/video/dummy/SDL_nullevents.c \ - src/video/dummy/SDL_nullmouse.c \ - src/video/dummy/SDL_nullvideo.c \ - src/video/SDL_blit.c \ - src/video/SDL_blit_0.c \ - src/video/SDL_blit_1.c \ - src/video/SDL_blit_A.c \ - src/video/SDL_blit_N.c \ - src/video/SDL_bmp.c \ - src/video/SDL_cursor.c \ - src/video/SDL_gamma.c \ - src/video/SDL_pixels.c \ - src/video/SDL_RLEaccel.c \ - src/video/SDL_stretch.c \ - src/video/SDL_surface.c \ - src/video/SDL_video.c \ - src/video/SDL_yuv.c \ - src/video/SDL_yuv_sw.c \ - -OBJS = $(SRCS:.c=.o) - -TEST = \ - test/checkkeys.c \ - test/graywin.c \ - test/loopwave.c \ - test/testalpha.c \ - test/testbitmap.c \ - test/testcdrom.c \ - test/testerror.c \ - test/testgamma.c \ - test/testgl.c \ - test/testhread.c \ - test/testjoystick.c \ - test/testkeys.c \ - test/testlock.c \ - test/testoverlay.c \ - test/testpalette.c \ - test/testsem.c \ - test/testsprite.c \ - test/testtimer.c \ - test/testtypes.c \ - test/testver.c \ - test/testvidinfo.c \ - test/testwin.c \ - test/testwm.c \ - test/threadwin.c \ - test/torturethread.c \ - -$(TARGET): copy_config \ - $(OBJS) - $(AR) rcs $(TARGET) $(OBJS) - -copy_config: - @cp include/SDL_config.h.default include/SDL_config.h - -clean: - rm -f include/SDL_config.h $(OBJS) diff --git a/Externals/SDL/Makefile.in b/Externals/SDL/Makefile.in deleted file mode 100644 index e29dc6db48..0000000000 --- a/Externals/SDL/Makefile.in +++ /dev/null @@ -1,183 +0,0 @@ -# Makefile to build and install the SDL library - -top_builddir = . -srcdir = @srcdir@ -objects = build -depend = build-deps -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = @bindir@ -libdir = @libdir@ -includedir = @includedir@ -datarootdir = @datarootdir@ -datadir = @datadir@ -mandir = @mandir@ -auxdir = @ac_aux_dir@ -distpath = $(srcdir)/.. -distdir = SDL-@SDL_VERSION@ -distfile = $(distdir).tar.gz - -@SET_MAKE@ -SHELL = @SHELL@ -CC = @CC@ -INCLUDE = @INCLUDE@ -CFLAGS = @BUILD_CFLAGS@ -EXTRA_CFLAGS = @EXTRA_CFLAGS@ -LDFLAGS = @BUILD_LDFLAGS@ -EXTRA_LDFLAGS = @EXTRA_LDFLAGS@ -LIBTOOL = @LIBTOOL@ -INSTALL = @INSTALL@ -NASM = @NASM@ @NASMFLAGS@ -AR = @AR@ -RANLIB = @RANLIB@ -WINDRES = @WINDRES@ - -TARGET = libSDL.la -SOURCES = @SOURCES@ -OBJECTS = @OBJECTS@ - -SDLMAIN_TARGET = libSDLmain.a -SDLMAIN_SOURCES = @SDLMAIN_SOURCES@ -SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ - -DIST = acinclude autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS CWprojects.sea.bin docs docs.html include INSTALL Makefile.dc Makefile.minimal Makefile.in MPWmake.sea.bin README* sdl-config.in sdl.m4 sdl.pc.in SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualCE.zip VisualC.html VisualC.zip Watcom-OS2.zip Watcom-Win32.zip symbian.zip WhatsNew Xcode.tar.gz - -HDRS = SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h - -LT_AGE = @LT_AGE@ -LT_CURRENT = @LT_CURRENT@ -LT_RELEASE = @LT_RELEASE@ -LT_REVISION = @LT_REVISION@ -LT_LDFLAGS = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) - -all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) - -$(srcdir)/configure: $(srcdir)/configure.in - @echo "Warning, configure.in is out of date" - #(cd $(srcdir) && sh autogen.sh && sh configure) - @sleep 3 - -Makefile: $(srcdir)/Makefile.in - $(SHELL) config.status $@ - -$(objects): - $(SHELL) $(auxdir)/mkinstalldirs $@ - -.PHONY: all depend install install-bin install-hdrs install-lib install-data install-man uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man clean distclean dist -depend: - @SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \ - $(SHELL) $(auxdir)/makedep.sh - @for src in $(SDLMAIN_SOURCES); do \ - obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \ - echo "\$$(objects)/$$obj: $$src" >>$(depend); \ - echo " \$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \ - done - -include $(depend) - -$(objects)/$(TARGET): $(OBJECTS) - $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) - -$(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) - $(AR) cru $@ $(SDLMAIN_OBJECTS) - $(RANLIB) $@ - -install: all install-bin install-hdrs install-lib install-data install-man -install-bin: - $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir) - $(INSTALL) -m 755 sdl-config $(DESTDIR)$(bindir)/sdl-config -install-hdrs: - $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(includedir)/SDL - for file in $(HDRS); do \ - $(INSTALL) -m 644 $(srcdir)/include/$$file $(DESTDIR)$(includedir)/SDL/$$file; \ - done - $(INSTALL) -m 644 include/SDL_config.h $(DESTDIR)$(includedir)/SDL/SDL_config.h -install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) - $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir) - $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET) - $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) - $(RANLIB) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) -install-data: - $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal - $(INSTALL) -m 644 $(srcdir)/sdl.m4 $(DESTDIR)$(datadir)/aclocal/sdl.m4 - $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig - $(INSTALL) -m 644 sdl.pc $(DESTDIR)$(libdir)/pkgconfig -install-man: - $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3 - for src in $(srcdir)/docs/man3/*.3; do \ - file=`echo $$src | sed -e 's|^.*/||'`; \ - $(INSTALL) -m 644 $$src $(DESTDIR)$(mandir)/man3/$$file; \ - done - -uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man -uninstall-bin: - rm -f $(DESTDIR)$(bindir)/sdl-config -uninstall-hdrs: - for file in $(HDRS); do \ - rm -f $(DESTDIR)$(includedir)/SDL/$$file; \ - done - rm -f $(DESTDIR)$(includedir)/SDL/SDL_config.h - -rmdir $(DESTDIR)$(includedir)/SDL -uninstall-lib: - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(TARGET) - rm -f $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET) -uninstall-data: - rm -f $(DESTDIR)$(datadir)/aclocal/sdl.m4 - rm -f $(DESTDIR)$(libdir)/pkgconfig/sdl.pc -uninstall-man: - for src in $(srcdir)/docs/man3/*.3; do \ - file=`echo $$src | sed -e 's|^.*/||'`; \ - rm -f $(DESTDIR)$(mandir)/man3/$$file; \ - done - -clean: - rm -rf $(objects) - if test -f test/Makefile; then (cd test; $(MAKE) $@); fi - -distclean: clean - rm -f Makefile include/SDL_config.h sdl-config - rm -f SDL.qpg - rm -f config.status config.cache config.log libtool $(depend) - rm -rf $(srcdir)/autom4te* - rm -rf $(srcdir)/test/autom4te* - find $(srcdir) \( \ - -name '*~' -o \ - -name '*.bak' -o \ - -name '*.old' -o \ - -name '*.rej' -o \ - -name '*.orig' -o \ - -name '.#*' \) \ - -exec rm -f {} \; - cp $(srcdir)/include/SDL_config.h.default $(srcdir)/include/SDL_config.h - if test -f test/Makefile; then (cd test; $(MAKE) $@); fi - -dist $(distfile): - $(SHELL) $(auxdir)/mkinstalldirs $(distdir) - tar cf - $(DIST) | (cd $(distdir); tar xf -) - cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h - rm -rf `find $(distdir) -name .svn` - rm -rf $(distdir)/test/autom4te* - find $(distdir) \( \ - -name '*~' -o \ - -name '*.bak' -o \ - -name '*.old' -o \ - -name '*.rej' -o \ - -name '*.orig' -o \ - -name '.#*' \) \ - -exec rm -f {} \; - if test -f $(distdir)/test/Makefile; then (cd $(distdir)/test && make distclean); fi - tar cvf - $(distdir) | gzip --best >$(distfile) - rm -rf $(distdir) - -rpm: $(distfile) - rpmbuild -ta $? - -# Create a SVN snapshot that people can run update on -snapshot: - svn co http://svn.libsdl.org/branches/SDL-1.2 - (cd SDL-1.2 && ./autogen.sh && rm -rf autom4te.cache) - cp SDL-1.2/include/SDL_config.h.default SDL-1.2/include/SDL_config.h - tar zcf $(HOME)/SDL-1.2.tar.gz SDL-1.2 - rm -f $(HOME)/SDL-1.2.zip - zip -r $(HOME)/SDL-1.2.zip SDL-1.2 - rm -rf SDL-1.2 diff --git a/Externals/SDL/Makefile.minimal b/Externals/SDL/Makefile.minimal deleted file mode 100644 index 827621c3f3..0000000000 --- a/Externals/SDL/Makefile.minimal +++ /dev/null @@ -1,42 +0,0 @@ -# Makefile to build the SDL library - -INCLUDE = -I./include -CFLAGS = -g -O2 $(INCLUDE) -AR = ar -RANLIB = ranlib - -CONFIG_H = include/SDL_config.h -TARGET = libSDL.a -SOURCES = \ - src/*.c \ - src/audio/*.c \ - src/cdrom/*.c \ - src/cpuinfo/*.c \ - src/events/*.c \ - src/file/*.c \ - src/joystick/*.c \ - src/stdlib/*.c \ - src/thread/*.c \ - src/timer/*.c \ - src/video/*.c \ - src/audio/dummy/*.c \ - src/video/dummy/*.c \ - src/joystick/dummy/*.c \ - src/cdrom/dummy/*.c \ - src/thread/generic/*.c \ - src/timer/dummy/*.c \ - src/loadso/dummy/*.c \ - -OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g') - -all: $(TARGET) - -$(TARGET): $(CONFIG_H) $(OBJECTS) - $(AR) crv $@ $^ - $(RANLIB) $@ - -$(CONFIG_H): - cp $(CONFIG_H).default $(CONFIG_H) - -clean: - rm -f $(TARGET) $(OBJECTS) diff --git a/Externals/SDL/README b/Externals/SDL/README deleted file mode 100644 index 7c0dd5890c..0000000000 --- a/Externals/SDL/README +++ /dev/null @@ -1,49 +0,0 @@ - - Simple DirectMedia Layer - - (SDL) - - Version 1.2 - ---- -http://www.libsdl.org/ - -This is the Simple DirectMedia Layer, a general API that provides low -level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, -and 2D framebuffer across multiple platforms. - -The current version supports Linux, Windows CE/95/98/ME/XP/Vista, BeOS, -MacOS Classic, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, -and QNX. The code contains support for Dreamcast, Atari, AIX, OSF/Tru64, -RISC OS, SymbianOS, Nintendo DS, and OS/2, but these are not officially -supported. - -SDL is written in C, but works with C++ natively, and has bindings to -several other languages, including Ada, C#, Eiffel, Erlang, Euphoria, -Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, -Pike, Pliant, Python, Ruby, and Smalltalk. - -This library is distributed under GNU LGPL version 2, which can be -found in the file "COPYING". This license allows you to use SDL -freely in commercial programs as long as you link with the dynamic -library. - -The best way to learn how to use SDL is to check out the header files in -the "include" subdirectory and the programs in the "test" subdirectory. -The header files and test programs are well commented and always up to date. -More documentation is available in HTML format in "docs/index.html", and -a documentation wiki is available online at: - http://www.libsdl.org/cgi/docwiki.cgi - -The test programs in the "test" subdirectory are in the public domain. - -Frequently asked questions are answered online: - http://www.libsdl.org/faq.php - -If you need help with the library, or just want to discuss SDL related -issues, you can join the developers mailing list: - http://www.libsdl.org/mailing-list.php - -Enjoy! - Sam Lantinga (slouken@libsdl.org) - diff --git a/Externals/SDL/README-SDL.txt b/Externals/SDL/README-SDL.txt deleted file mode 100644 index 4d36ca9dce..0000000000 --- a/Externals/SDL/README-SDL.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Please distribute this file with the SDL runtime environment: - -The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library -designed to make it easy to write multi-media software, such as games and -emulators. - -The Simple DirectMedia Layer library source code is available from: -http://www.libsdl.org/ - -This library is distributed under the terms of the GNU LGPL license: -http://www.gnu.org/copyleft/lesser.html - diff --git a/Externals/SDL/README.AmigaOS b/Externals/SDL/README.AmigaOS deleted file mode 100644 index e0d890640d..0000000000 --- a/Externals/SDL/README.AmigaOS +++ /dev/null @@ -1,12 +0,0 @@ -The AmigaOS code has been removed from SDL, since it had been broken for a - long time and had a few bits of fairly invasive code #ifdef'd into the - SDL core. - -However, there is an OS4 version of SDL here: - http://www.rcdrummond.net/amiga/index.html - -And a MorphOS version here: - http://www.lehtoranta.net/powersdl/ - ---ryan. - diff --git a/Externals/SDL/README.BeOS b/Externals/SDL/README.BeOS deleted file mode 100644 index ccdccf598a..0000000000 --- a/Externals/SDL/README.BeOS +++ /dev/null @@ -1,13 +0,0 @@ - -SDL on BeOS R5 -============== - -You can build SDL on BeOS like any other GNU style package. -e.g. ./configure && make && make install -By default it is installed in /boot/develop/tools/gnupro/{bin,lib,etc.} - -Once you install SDL, you need to copy libSDL.so to /boot/home/config/lib, -so it can be found by the dynamic linker. - -Enjoy! - Sam Lantinga (slouken@libsdl.org) diff --git a/Externals/SDL/README.CVS b/Externals/SDL/README.CVS deleted file mode 100644 index 7664e9181e..0000000000 --- a/Externals/SDL/README.CVS +++ /dev/null @@ -1,4 +0,0 @@ - -SDL is no longer hosted in a CVS repository. Please see README.SVN for -information on accessing our Subversion repository. - diff --git a/Externals/SDL/README.DC b/Externals/SDL/README.DC deleted file mode 100644 index e2fb1d6518..0000000000 --- a/Externals/SDL/README.DC +++ /dev/null @@ -1,32 +0,0 @@ -SDL for Dreamcast (beta2) - - BERO - berobero@users.sourceforge.net - - http://www.geocities.co.jp/Playtown/2004/ - -this work with kos-newlib -http://sourceforge.net/projects/dcquake/ - -compile -- source environ.sh (from the KOS distribution) -- make -f Makefile.dc - -compile with gl support -- install latest libgl from http://sourceforge.net/projects/dcquake/ -- uncomment GL=1 in Makefile.dc -- make -f Makefile.dc clean -- make -f Makefile.dc - -install -- copy include/*.h and libSDL.a or libSDL_gl.a for your enviroment - -changelog: - -beta2 -- OpenGL support -- Hardware page flip support - -beta -- thread, timer don't tested so much. -- not support OpenGL diff --git a/Externals/SDL/README.MacOS b/Externals/SDL/README.MacOS deleted file mode 100644 index acfd93578b..0000000000 --- a/Externals/SDL/README.MacOS +++ /dev/null @@ -1,63 +0,0 @@ - -============================================================================== -Using the Simple DirectMedia Layer with MacOS 7,8,9 on PPC -============================================================================== - -These instructions are for people using the Apple MPW environment: -http://developer.apple.com/tools/mpw-tools/ - -CodeWarrior projects are available in the CWprojects directory. - -============================================================================== -I. Building the Simple DirectMedia Layer libraries: - (This step isn't necessary if you have the SDL binary distribution) - - First, unpack the MPWmake.sea.hqx archive and move SDL.make into the - SDL directory. - - Start MPW - - Set the current directory within MPW to the SDL toplevel directory. - - Build "SDL" (Type Command-B and enter "SDL" in the dialog) - - If everything compiles successfully, you now have the PPC libraries - "SDL" and "SDLmain.o" in the 'lib' subdirectory. - -============================================================================== -II. Building the Simple DirectMedia Layer test programs: - - First, unpack the MPWmake.sea.hqx archive, move the new rsrc directory to - the main SDL directory, and move the makefiles in the new test subdirectory - to the SDL 'test' subdirectory. - - Start MPW - - Set the current directory within MPW to the SDL 'test' subdirectory. - - Build the programs that have an associated MPW makefile (file ending - with .make), including "testwin", "testalpha", and "graywin". - - Copy the SDL library file into the test directory, and run! - -============================================================================== -III. Building the Simple DirectMedia Layer demo programs: - - Copy one of the test program Makefiles to the demo directory - and modify it to match the sources in the demo. - -============================================================================== -IV. Enjoy! :) - - If you have a project you'd like me to know about, or want to ask questions, - go ahead and join the SDL developer's mailing list by sending e-mail to: - - sdl-request@libsdl.org - - and put "subscribe" into the subject of the message. Or alternatively you - can use the web interface: - - http://www.libsdl.org/mailman/listinfo/sdl - -============================================================================== - diff --git a/Externals/SDL/README.MacOSX b/Externals/SDL/README.MacOSX deleted file mode 100644 index 3bc421371f..0000000000 --- a/Externals/SDL/README.MacOSX +++ /dev/null @@ -1,186 +0,0 @@ -============================================================================== -Using the Simple DirectMedia Layer with Mac OS X -============================================================================== - -These instructions are for people using Apple's Mac OS X (pronounced -"ten"). - -From the developer's point of view, OS X is a sort of hybrid Mac and -Unix system, and you have the option of using either traditional -command line tools or Apple's IDE Xcode. - -To build SDL using the command line, use the standard configure and make -process: - - ./configure - make - sudo make install - -You can also build SDL as a Universal library (a single binary for both -PowerPC and Intel architectures), on Mac OS X 10.4 and newer, by using -the fatbuild.sh script in build-scripts: - sh build-scripts/fatbuild.sh - sudo build-scripts/fatbuild.sh install -This script builds SDL with 10.2 ABI compatibility on PowerPC and 10.4 -ABI compatibility on Intel architectures. For best compatibility you -should compile your application the same way. A script which wraps -gcc to make this easy is provided in test/gcc-fat.sh - -To use the library once it's built, you essential have two possibilities: -use the traditional autoconf/automake/make method, or use Xcode. - -============================================================================== -Using the Simple DirectMedia Layer with a traditional Makefile -============================================================================== - -An existing autoconf/automake build system for your SDL app has good chances -to work almost unchanged on OS X. However, to produce a "real" Mac OS X binary -that you can distribute to users, you need to put the generated binary into a -so called "bundle", which basically is a fancy folder with a name like -"MyCoolGame.app". - -To get this build automatically, add something like the following rule to -your Makefile.am: - -bundle_contents = APP_NAME.app/Contents -APP_NAME_bundle: EXE_NAME - mkdir -p $(bundle_contents)/MacOS - mkdir -p $(bundle_contents)/Resources - echo "APPL????" > $(bundle_contents)/PkgInfo - $(INSTALL_PROGRAM) $< $(bundle_contents)/MacOS/ - -You should replace EXE_NAME with the name of the executable. APP_NAME is what -will be visible to the user in the Finder. Usually it will be the same -as EXE_NAME but capitalized. E.g. if EXE_NAME is "testgame" then APP_NAME -usually is "TestGame". You might also want to use @PACKAGE@ to use the package -name as specified in your configure.in file. - -If your project builds more than one application, you will have to do a bit -more. For each of your target applications, you need a seperate rule. - -If you want the created bundles to be installed, you may want to add this -rule to your Makefile.am: - -install-exec-hook: APP_NAME_bundle - rm -rf $(DESTDIR)$(prefix)/Applications/APP_NAME.app - mkdir -p $(DESTDIR)$(prefix)/Applications/ - cp -r $< /$(DESTDIR)$(prefix)Applications/ - -This rule takes the Bundle created by the rule from step 3 and installs them -into $(DESTDIR)$(prefix)/Applications/. - -Again, if you want to install multiple applications, you will have to augment -the make rule accordingly. - - -But beware! That is only part of the story! With the above, you end up with -a bare bone .app bundle, which is double clickable from the Finder. But -there are some more things you should do before shipping yor product... - -1) The bundle right now probably is dynamically linked against SDL. That - means that when you copy it to another computer, *it will not run*, - unless you also install SDL on that other computer. A good solution - for this dilemma is to static link against SDL. On OS X, you can - achieve that by linkinag against the libraries listed by - sdl-config --static-libs - instead of those listed by - sdl-config --libs - Depending on how exactly SDL is integrated into your build systems, the - way to achieve that varies, so I won't describe it here in detail -2) Add an 'Info.plist' to your application. That is a special XML file which - contains some meta-information about your application (like some copyright - information, the version of your app, the name of an optional icon file, - and other things). Part of that information is displayed by the Finder - when you click on the .app, or if you look at the "Get Info" window. - More information about Info.plist files can be found on Apple's homepage. - - -As a final remark, let me add that I use some of the techniques (and some -variations of them) in Exult and ScummVM; both are available in source on -the net, so feel free to take a peek at them for inspiration! - - -============================================================================== -Using the Simple DirectMedia Layer with Xcode -============================================================================== - -These instructions are for using Apple's Xcode IDE to build SDL applications. - -- First steps - -The first thing to do is to unpack the Xcode.tar.gz archive in the -top level SDL directory (where the Xcode.tar.gz archive resides). -Because Stuffit Expander will unpack the archive into a subdirectory, -you should unpack the archive manually from the command line: - cd [path_to_SDL_source] - tar zxf Xcode.tar.gz -This will create a new folder called Xcode, which you can browse -normally from the Finder. - -- Building the Framework - -The SDL Library is packaged as a framework bundle, an organized -relocatable folder heirarchy of executible code, interface headers, -and additional resources. For practical purposes, you can think of a -framework as a more user and system-friendly shared library, whose library -file behaves more or less like a standard UNIX shared library. - -To build the framework, simply open the framework project and build it. -By default, the framework bundle "SDL.framework" is installed in -/Library/Frameworks. Therefore, the testers and project stationary expect -it to be located there. However, it will function the same in any of the -following locations: - - ~/Library/Frameworks - /Local/Library/Frameworks - /System/Library/Frameworks - -- Build Options - There are two "Build Styles" (See the "Targets" tab) for SDL. - "Deployment" should be used if you aren't tweaking the SDL library. - "Development" should be used to debug SDL apps or the library itself. - -- Building the Testers - Open the SDLTest project and build away! - -- Using the Project Stationary - Copy the stationary to the indicated folders to access it from - the "New Project" and "Add target" menus. What could be easier? - -- Setting up a new project by hand - Some of you won't want to use the Stationary so I'll give some tips: - * Create a new "Cocoa Application" - * Add src/main/macosx/SDLMain.m , .h and .nib to your project - * Remove "main.c" from your project - * Remove "MainMenu.nib" from your project - * Add "$(HOME)/Library/Frameworks/SDL.framework/Headers" to include path - * Add "$(HOME)/Library/Frameworks" to the frameworks search path - * Add "-framework SDL -framework Foundation -framework AppKit" to "OTHER_LDFLAGS" - * Set the "Main Nib File" under "Application Settings" to "SDLMain.nib" - * Add your files - * Clean and build - -- Building from command line - Use pbxbuild in the same directory as your .pbproj file - -- Running your app - You can send command line args to your app by either invoking it from - the command line (in *.app/Contents/MacOS) or by entering them in the - "Executibles" panel of the target settings. - -- Implementation Notes - Some things that may be of interest about how it all works... - * Working directory - As defined in the SDL_main.m file, the working directory of your SDL app - is by default set to its parent. You may wish to change this to better - suit your needs. - * You have a Cocoa App! - Your SDL app is essentially a Cocoa application. When your app - starts up and the libraries finish loading, a Cocoa procedure is called, - which sets up the working directory and calls your main() method. - You are free to modify your Cocoa app with generally no consequence - to SDL. You cannot, however, easily change the SDL window itself. - Functionality may be added in the future to help this. - - -Known bugs are listed in the file "BUGS" diff --git a/Externals/SDL/README.MiNT b/Externals/SDL/README.MiNT deleted file mode 100644 index eabe3eb1b7..0000000000 --- a/Externals/SDL/README.MiNT +++ /dev/null @@ -1,250 +0,0 @@ -============================================================================== -Using the Simple DirectMedia Layer on Atari -============================================================================== - - - If you want to build SDL from sources to create SDL programs on Atari: - see sections I - II. - - If you want to create SDL programs on Atari using SDL binary build, - download it from my web site (URL at end of this file). - - If you want to configure a program using SDL on Atari, - see sections IV - VI. - - -============================================================================== -I. Building the Simple DirectMedia Layer libraries: - (This step isn't necessary if you have the SDL binary distribution) - - Do the classic configure, with --disable-shared --enable-static and: - - Tos version (should run everywhere): - --disable-threads - Tos does not support threads. - - MiNT version (maybe Magic, only for multitasking OS): - --disable-pthreads --enable-pth - Mint and Magic may supports threads, so audio can be used with current - devices, like Sun audio, or disk-writing support. Like Tos, interrupt - audio without threads is more suited for Atari machines. - - Then you can make ; make install it. - -============================================================================== -II. Building the Simple DirectMedia Layer test programs: - - Do the classic configure, then make. - - Run them ! - -============================================================================== -III. Enjoy! :) - - If you have a project you'd like me to know about, or want to ask questions, - go ahead and join the SDL developer's mailing list by sending e-mail to: - - sdl-request@libsdl.org - - and put "subscribe" into the subject of the message. Or alternatively you - can use the web interface: - - http://www.libsdl.org/mailman/listinfo/sdl - -============================================================================== -IV. What is supported: - -Keyboard (GEMDOS, BIOS, GEM, Ikbd) -Mouse (XBIOS, GEM, Ikbd, /dev/mouse (non working atm, disabled)) -Video (XBIOS (Fullscreen), GEM (Windowed and Fullscreen)) -Timer (VBL vector, GNU pth library) -Joysticks and joypads (Ikbd, Hardware) -Audio (Hardware, XBIOS, GSXB, MCSN, STFA, /dev/audio if threads enabled) -Threads (Multitasking OS only via GNU pth library) -Shared object loader (using LDG library from http://ldg.atari.org/) -Audio CD (MetaDOS) -OpenGL (using Mesa offscreen rendering driver) - -- Dependent driver combinations: -Video Kbd Mouse Timer Joysticks -xbios ikbd ikbd vbl(2) ikbd -xbios gemdos xbios vbl(2) xbios -xbios bios xbios vbl(2) xbios -gem gem gem(1) vbl(2) xbios - -Audio O/S Misc -dma8 All Uses MFP Timer A interrupt -xbios TOS Uses MFP Timer A interrupt -xbios MiNT Uses MFP Timer A interrupt -xbios Magic Uses MFP Timer A interrupt -stfa All Uses MFP interrupt -mcsn TOS Uses MFP Timer A interrupt -mcsn MiNT Uses MiNT thread -mcsn Magic Disabled -gsxb All Uses GSXB callback - -Joypad driver always uses hardware access. -OpenGL driver always uses OSMesa. - -(1) GEM does not report relative mouse motion, so xbios mouse driver is used -to report this type event. -A preliminary driver for /dev/mouse device driver is present, but is disabled -till it can be used with other applications simultaneously. - -(2) If you build SDL with threads using the GNU pth library, timers are -supported via the pth library. - -============================================================================== -V. Environment variables: - -SDL_VIDEODRIVER: - Set to 'xbios' to force xbios video driver - Set to 'gem' to force gem video driver - -SDL_VIDEO_GL_DRIVER: - Set to filename to load as OpenGL library, if you use SDL_GL_LoadLibrary() - -SDL_AUDIODRIVER: - Set to 'mint_gsxb' to force Atari GSXB audio driver - Set to 'mint_mcsn' to force Atari MCSN audio driver - Set to 'mint_stfa' to force Atari STFA audio driver - Set to 'mint_xbios' to force Atari Xbios audio driver - Set to 'mint_dma8' to force Atari 8 bits DMA audio driver - Set to 'audio' to force Sun /dev/audio audio driver - Set to 'disk' to force disk-writing audio driver - -SDL_ATARI_EVENTSDRIVER - Set to 'ikbd' to force IKBD 6301 keyboard driver - Set to 'gemdos' to force gemdos keyboard driver - Set to 'bios' to force bios keyboard driver - -SDL_JOYSTICK_ATARI: - Use any of these strings in the environment variable to enable or - disable a joystick: - - 'ikbd-joy1-[on|off]' for IKBD joystick on port 1 (hardware access) - 'xbios-joy1-[on|off]' for IKBD joystick on port 1 (xbios access) - 'porta-pad-[on|off]' for joypad and/or teamtap on port A - 'porta-joy0-[on|off]' for joystick 0 on port A - 'porta-joy1-[on|off]' for joystick 1 on port A - 'porta-lp-[on|off]' for lightpen on port A - 'porta-anpad-[on|off]' for analog paddle on port A - 'portb-pad-[on|off]' for joypad and/or teamtap on port B - 'portb-joy0-[on|off]' for joystick 0 on port B - 'portb-joy1-[on|off]' for joystick 1 on port B - 'portb-anpad-[on|off]' for analog paddle on port B - - Default configuration is: - 'ikbd-joy1-on' (if IKBD events driver enabled) - 'xbios-joy1-on' (if gemdos/bios/gem events driver enabled) - 'porta-pad-on portb-pad-on' (if available on the machine) - - port[a|b]-[pad|joy?|lp|anpad]-* strings are mutually exclusives. - On such a port, you can only use a joypad OR 1 or 2 joysticks OR - a lightpen OR an analog paddle. You must disable joypad before - setting another controller. - - The second joystick port on IKBD is used by the mouse, so not usable. - Another problem with the IKBD: mouse buttons and joystick fire buttons - are wired together at the hardware level, it means: - port 0 port 0 port 1 - mouse left button = joystick fire 0 = joystick fire 1 - mouse right button = joystick fire 1 = joystick fire 0 - - Descriptions of joysticks/joypads: - - Joypads: 1 hat, 17 buttons (Atari Jaguar console-like). - - Joysticks: 1 hat, 1 button. - - Lightpen, analog paddles: 2 axis, 2 buttons. The 2 buttons are those - affected to 1 button joysticks on the same port. - -============================================================================== -VI. More informations about drivers: - -OpenGL: - The default is to use the Mesa offscreen driver (osmesa.ldg). If you want - to use an older OpenGL implementation, like mesa_gl.ldg or tiny_gl.ldg, - your program must use SDL_GL_LoadLibrary() to do so, and retrieve the - needed function pointers with SDL_LoadFunction(). In all cases, the OpenGL - context is taken care of by SDL itself, you just have to use gl* functions. - - However, there is one OpenGL call that has a different prototype in the old - implementations: glOrtho(). In the old implementations, it has 6 float as - parameters, in the standard one, it has 6 double parameters. If you want - to compile testdyngl, or any other SDL program that loads its OpenGL - library, you must change the glOrtho() prototype used in this program. In - osmesa.ldg, you can retrieve a glOrtho() with double parameters, by - searching for the function "glOrtho6d". - -Xbios video: - Video chip is detected using the _VDO cookie. - Screen enhancers are not supported, but could be if you know how to - use them. - - ST, STE, Mega ST, Mega STE: - 320x200x4 bits, shades of grey, available only for the purpose - of testing SDL. - TT: - 320x480x8 and 320x240x8 (software double-lined mode). - Falcon: - All modes supported by the current monitor (RVB or VGA). - BlowUp and Centscreen extended modes, ScreenBlaster 3 current mode. - Milan: - Experimental support - Clones and any machine with monochrome monitor: - Not supported. - -Gem video: - Automatically used if xbios not available. - - All machines: - Only the current resolution, if 8 bits or higher depth. - -IKBD keyboard, mouse and joystick driver: - Available if _MCH cookie is ST, Mega ST, STE, Mega STE, TT or Falcon. - - Hades has an IKBD, but xbios is not available for video, so IKBD - driver is disabled. - -Gemdos and bios keyboard driver: - Available on all machines. - -Mouse and joystick xbios driver: - Available on all machines (I think). - -Joypad driver: - Available if _MCH cookie is STE or Falcon. Supports teamtap. - -PTH timer driver: - Available with multitasking OS. - -VBL timer driver: - Available on all machines (I think). - -Audio drivers: - Cookies _SND, MCSN, STFA and GSXB used to detect supported audio - capabilities. - - STE, Mega STE, TT: - 8 bits DMA (hardware access) - STFA, MCSN or GSXB driver if installed - Falcon: - 8 bits DMA (hardware access) - Xbios functions - STFA, MCSN or GSXB driver if installed - Other machines: - STFA, MCSN or GSXB driver if installed - - STFA driver: - http://removers.free.fr/softs/stfa.html - GSXB driver: - http://assemsoft.atari.org/gsxb/ - MacSound driver: - http://jf.omnis.ch/software/tos/ - MagicSound driver (MCSN,GSXB compatible): - http://perso.wanadoo.fr/didierm/ - X-Sound driver (GSXB compatible): - http://www.uni-ulm.de/~s_thuth/atari/xsound_e.html - --- -Patrice Mandin -http://pmandin.atari.org/ diff --git a/Externals/SDL/README.NDS b/Externals/SDL/README.NDS deleted file mode 100644 index e96a9eeecb..0000000000 --- a/Externals/SDL/README.NDS +++ /dev/null @@ -1,22 +0,0 @@ -The SDL port to the Nintendo DS - -This port uses the devKitPro toolchain, available from: -http://www.devkitpro.org - -Precompiled tools for cross-compiling on Linux are available from: -http://www.libsdl.org/extras/nds/devkitPro-20070503-linux.tar.gz - -todo: -add ds console specific features/optimizations -mouse/keyboard support -dual screen support - -build with: -cp include/SDL_config_nds.h include/SDL_config.h -make -f Makefile.ds - -included is an arm9/arm7 template to allow for sound streaming support. - -Enjoy, fix the source and share :) -Troy Davis(GPF) -http://gpf.dcemu.co.uk/ diff --git a/Externals/SDL/README.NanoX b/Externals/SDL/README.NanoX deleted file mode 100644 index 8418ff3320..0000000000 --- a/Externals/SDL/README.NanoX +++ /dev/null @@ -1,97 +0,0 @@ - ================================================================= - Patch version 0.9 of SDL(Simple DirectMedia Layer) for Nano-X API - ================================================================= - - Authors: Hsieh-Fu Tsai, clare@setabox.com - Greg Haerr, greg@censoft.com - - This patch is against SDL version 1.2.4. - It enhances previous patch 0.8 by providing direct framebuffer - access as well as dynamic hardware pixel type support, not - requiring a compile-time option setting for different framebuffer - modes. - Tested against Microwindows version 0.89pre9. - - Older Microwindows versions - =========================== - If running on a version older than Microwindows 0.89pre9, - the following items might need to be patched in Microwindows. - - 1. Patch src/nanox/client.c::GrClose() - It fixes the client side GrClose(). In the original version, - GrOpen() can only be called once. When the GrOpen() is called at - the second time, the program will terminate. In order to prevent - this situation, we need to insert "nxSocket = -1" after - "close(nxSocket)" in GrClose(). If you do not have this problem, - you may skip this step. - - 2. Patch src/nanox/clientfb.c to return absolute x,y coordinates - when using GrGetWindowFBInfo(). Copy the version 0.89pre9 - of src/nanox/clientfb.c to your system, or configure - using --disable-nanox-direct-fb. - - ============= - Quick Install - ============= - - 1. ./configure --disable-video-x11 --disable-video-fbcon \ - --enable-video-nanox \ - --with-nanox-pixel-type=[rgb/0888/888/565/555/332/pal] - 2. make clean - 3. make - 4. make install (as root) - - ============ - Nitty-gritty - ============ - - --enable-nanox-direct-fb Use direct framebuffer access - --enable-nanox-debug Show debug messages - --enable-nanox-share-memory Use shared-memory to speed up - - When running multi-threaded applications using SDL, such - as SMPEG, set THREADSAFE=Y in Microwindows' config file, - to enable GrXXX() system call critical section support. - - ============================================= - Some programs can be used to test this patch. - ============================================= - - 1. http://www.cs.berkeley.edu/~weimer/atris (a tetris-like game) - 2. http://www.libsdl.org/projects/newvox/ - 3. http://www.libsdl.org/projects/xflame/ - 4. http://www.libsdl.org/projects/optimum/ - 5. http://www.gnugeneration.com/software/loop/ - 6: http://www.lokigames.com/development/smpeg.php3 (SMPEG version 0.4.4) - - ========= - Todo List - ========= - - 1. Create hardware surface - 2. Create YUVOverlay on hardware - 3. Use OpenGL - 4. Gamma correction - 5. Hide/Change mouse pointer - 6. Better window movement control with direct fb access - 7. Palette handling in 8bpp could be improved - - ===================== - Supporting Institutes - ===================== - - Many thanks to go to Setabox Co., Ltd. and CML (Communication and - Multimedia Laboratory, http://www.cmlab.csie.ntu.edu.tw/) in the - Department of Computer Science and Information Engineering of - National Taiwan University for supporting this porting project. - - Century Embedded Technologies (http://embedded.censoft.com) - for this patch. - - =================== - Contact Information - =================== - - Welcome to give me any suggestion and to report bugs. - My e-mail address : clare@setabox.com or niky@cmlab.csie.ntu.edu.tw - or greg@censoft.com diff --git a/Externals/SDL/README.OS2 b/Externals/SDL/README.OS2 deleted file mode 100644 index 424b3739c3..0000000000 --- a/Externals/SDL/README.OS2 +++ /dev/null @@ -1,281 +0,0 @@ - -=========== -SDL on OS/2 -=========== - -Last updated on May. 17, 2006. - - -1. How to compile? ------------------- - -To compile this, you'll need the followings installed: -- The OS/2 Developer's Toolkit -- The OpenWatcom compiler - (http://www.openwatcom.org) - -First of all, you have to unzip the Watcom-OS2.zip file. This will result in a -file called "makefile" and a file called "setvars.cmd" in this folder (and some -more files...). - -Please edit the second, fourth and fifth lines of setvars.cmd file -to set the folders where the toolkit, the OW compiler and the FSLib are. -You won't need NASM yet (The Netwide Assembler), you can leave that line. -Run setvars.cmd, and you should get a shell in which you can -compile SDL. - -Check the "makefile" file. There is a line in there which determines if the -resulting SDL.DLL will be a 'debug' or a 'release' build. The 'debug' version -is full of printf()'s, so if something goes wrong, its output can help a lot -for debugging. - -Then run "wmake". -This should create the SDL12.DLL and the corresponding SDL12.LIB file here. - -To test applications, it's a good idea to use the 'debug' build of SDL, and -redirect the standard output and standard error output to files, to see what -happens internally in SDL. -(like: testsprite >stdout.txt 2>stderr.txt) - -To rebuild SDL, use the following commands in this folder: -wmake clean -wmake - - - -2. How to compile the testapps? -------------------------------- - -Once you have SDL12.DLL compiled, navigate into the 'test' folder, copy in -there the newly built SDL12.DLL, and copy in there FSLib.DLL. - -Then run "wmake" in there to compile some of the testapps. - - - -3. What is missing? -------------------- - -The following things are missing from this SDL implementation: -- MMX, SSE and 3DNOW! optimized video blitters? -- HW Video surfaces -- OpenGL support - - - -4. Special Keys / Full-Screen support -------------------------------------- - -There are two special hot-keys implemented: -- Alt+Home switches between fullscreen and windowed mode -- Alt+End simulates closing the window (can be used as a Panic key) -Only the LEFT Alt key will work. - - - -5. Joysticks on SDL/2 ---------------------- - -The Joystick detection only works for standard joysticks (2 buttons, 2 axes -and the like). Therefore, if you use a non-standard joystick, you should -specify its features in the SDL_OS2_JOYSTICK environment variable in a batch -file or CONFIG.SYS, so SDL applications can provide full capability to your -device. The syntax is: - -SET SDL_OS2_JOYSTICK=[JOYSTICK_NAME] [AXES] [BUTTONS] [HATS] [BALLS] - -So, it you have a Gravis GamePad with 4 axes, 2 buttons, 2 hats and 0 balls, -the line should be: - -SET SDL_OS2_JOYSTICK=Gravis_GamePad 4 2 2 0 - -If you want to add spaces in your joystick name, just surround it with -quotes or double-quotes: - -SET SDL_OS2_JOYSTICK='Gravis GamePad' 4 2 2 0 - -or - -SET SDL_OS2_JOYSTICK="Gravis GamePad" 4 2 2 0 - - Notive However that Balls and Hats are not supported under OS/2, and the -value will be ignored... but it is wise to define these correctly because -in the future those can be supported. - Also the number of buttons is limited to 2 when using two joysticks, -4 when using one joystick with 4 axes, 6 when using a joystick with 3 axes -and 8 when using a joystick with 2 axes. Notice however these are limitations -of the Joystick Port hardware, not OS/2. - - - -6. Proportional windows ------------------------ - -For some SDL applications it can be handy to have proportional windows, so -the windows will keep their aspect ratio when resized. -This can be achieved in two ways: - -- Before starting the given SDL application, set the - SDL_USE_PROPORTIONAL_WINDOW environment variable to something, e.g.: - - SET SDL_USE_PROPORTIONAL_WINDOW=1 - dosbox.exe - -- If you have a HOME environment variable set, then SDL will look for a file - in there called ".sdl.proportionals". If that file contains the name of the - currently running SDL executable, then that process will have proportional - windows automatically. - - Please note that this file is created automatically with default values - at the first run. - - - -7. Audio in SDL applications ----------------------------- - -Audio effects are one of the most important features in games. Creating audio -effects in sync with the game and without hickups and pauses in the audio are -very important things. - -However there are multithreaded SDL applications that have tight loops as their -main logic loop. This kills performance in OS/2, and takes too much CPU from -other threads in the same process, for example from the thread to create the -sound effects. - -For this reason, the OS/2 port of SDL can be instructed to run the audio thread -in high priority, which makes sure that there will be enough time for the -processing of the audio data. - -At default, SDL/2 runs the audio thread at ForegroundServer+0 priority. Well -written and well behaving SDL applications should work well in this mode. -For other applications, you can tell SDL/2 to run the audio thread at -TimeCritical priority by setting an env.variable before starting the SDL app: - - SET SDL_USE_TIMECRITICAL_AUDIO=1 - -Please note that this is a bit risky, because if the SDL application runs a -tight infinite loop in this thread, this will make the whole system -unresponsive, so use it with care, and only for applications that need it! - - - -8. Next steps... ----------------- - -Things to do: -- Implement missing stuffs (look for 'TODO' string in source code!) -- Finish video driver (the 'wincommon' can be a good example for missing - things like application icon and so on...) -- Enable MMX/SSE/SSE2 acceleration functions -- Rewrite CDROM support using DOS Ioctl for better support. - - - -9. Contacts ------------ - - You can contact the developers for bugs: - - Area Developer email - General (Audio/Video/System) Doodle doodle@scenergy.dfmk.hu - CDROM and Joystick Caetano daniel@caetano.eng.br - - Notice however that SDL/2 is 'in development' stage so ... if you want to help, -please, be our guest and contact us! - - - -10. Changelog of the OS/2 port ------------------------------- - -Version 1.2.10 - 2006-05-17 - Doodle - - Small modifications for v1.2.10 release - - Changed DLL name to include version info (currently SDL12.dll) - -Version 1.2 - 2006-05-01 - Doodle - - Modified makefile system to have only one makefile - - Included FSLib headers, DLL and LIB file - -Version 1.2 - 2006-02-26 - Doodle - - Updated the official SDL version with the OS/2 specific changes. - - Added support for real unicode keycode conversion. - -Version 1.2.7 - 2006-01-20 - Doodle - - Added support for selectively using timecritical priority for - audio threads by SDL_USE_TIMECRITICAL_AUDIO environment variable. - (e.g.: - SET SDL_USE_TIMECRITICAL_AUDIO=1 - dosbox.exe - ) - -Version 1.2.7 - 2005-12-22 - Doodle - - Added support for proportional SDL windows. - There are two ways to have proportional (aspect-keeping) windows for - a given SDL application: Either set the SDL_USE_PROPORTIONAL_WINDOW - environment variable to something before starting the application - (e.g.: - SET SDL_USE_PROPORTIONAL_WINDOW=1 - dosbox.exe - ) - or, if you have the HOME environment variable set, then SDL12.DLL will - create a file in that directory called .sdl.proportionals, and you can - put there the name of executable files that will be automatically made - proportional. - -Version 1.2.7 - 2005-10-14 - Doodle - - Enabled Exception handler code in FSLib to be able to restore original - desktop video mode in case the application crashes. - - Added the missing FSLib_Uninitialize() call into SDL. - (The lack of it did not cause problems, but it's cleaner this way.) - - Fixed a mouse problem in Fullscreen mode where any mouse click - re-centered the mouse. - -Version 1.2.7 - 2005-10-09 - Doodle - - Implemented window icon support - -Version 1.2.7 - 2005-10-03 - Doodle - - Reworked semaphore support again - - Tuned thread priorities - -Version 1.2.7 - 2005-10-02 - Doodle - - Added support for custom mouse pointers - - Fixed WM_CLOSE processing: give a chance to SDL app to ask user... - - Added support for MMX-accelerated audio mixers - - Other small fixes - -Version 1.2.7 - 2005-09-12 - Doodle - - Small fixes for DosBox incorporated into public release - - Fixed semaphore support (SDL_syssem.c) - - Fixed FSLib to have good clipping in scaled window mode, - and to prevent occasional desktop freezes. - -Version 1.2.7 - 2004-09-08a - Caetano - - Improved joystick support (general verifications about hardware). - - Added support up to 8 buttons in 2 axes joysticks and 6 buttons in 3 axes joysticks. - - Added support to environment variable SDL_OS2_JOYSTICK to specify a joystick. - - Improved Joystick test to handle every type of joystick and display only relevant information. - - Merged with Doodle 2004-09-08 - - Little tid up in README.OS2 - - Added explanation about SDL_OS2_JOYSTICK environment variable on README.OS2 - -Version 1.2.7 - 2004-09-07 - Caetano - - Merged with changes in headers for GCC compiling. - - Added Joystick support using basic IBM GAME$ support, allowing it to work with all joystick drivers since OS/2 2.1. - - Improved joystick detection (hacked!). OS/2 do not allow real joystick detection, so... - - Modified makefile in test to compile "testjoystick". Anyway, it's useless, since it seems to cause a lot of trouble in OS/2 (because os video routines, not Joystick support). - - Created separated Joystick test program to test only joystick functions. - - Improved joystick auto-centering. - - Improved the coordinate correction routine to use two scale factors for each axis. - -Version 1.2.7 - 2004-07-05 - Caetano - - Corrected the time returned by status in CDROM support (it was incorrect) - - Added the testcdrom.c and corrected the linking directive (it was causing an error) - -Version 1.2.7 - 2004-07-02a - Caetano - - Corrected a little problem in a comment at SDL-1.2.7\test\torturethread.c, line 18 (missing */, nested comment) - - Added CDROM support to tree (SDL-1.2.7\src\cdrom\os2\SDL_syscdrom.c) - - Modified makefile (SDL-1.2.7\src\makefiles.wat and SDL-1.2.7\watcom.mif) to build with CDROM support - - Added the "extra" SDL_types.h forgotten in 2004-07-02 version. - - diff --git a/Externals/SDL/README.PS3 b/Externals/SDL/README.PS3 deleted file mode 100644 index c66467d392..0000000000 --- a/Externals/SDL/README.PS3 +++ /dev/null @@ -1,29 +0,0 @@ - -SDL on Sony Playstation3 ------------------------- - -Installation: - First, you have to install the Cell SDK - - Download the Cell SDK installer RPM and ISO images to - a temporary directory such as /tmp/cellsdk. - - Mount the image: mount -o loop CellSDK-Devel-Fedora_3.1.0.0.0.iso /tmp/cellsdk - - Install the SDK installer: rpm -ivh cell-install-3.1.0-0.0.noarch.rpm - - Install the SDK: cd /opt/cell && ./cellsdk --iso /tmp/cellsdkiso install - - You need to install the SPU-libs before installing SDL - - Go to SDL-1.2/src/video/ps3/spulibs/ - - Run make && make install - - Finally, install SDL - - Go to SDL-1.2/ and build SDL like any other GNU style package. - e.g. - - Build the configure-script with ./autogen.sh - - Configure SDL for your needs: ./configure --enable-video-ps3 ... - - Build and install it: make && make install - - -Todo: - - mouse/keyboard/controller support - -Have fun! - Dirk Herrendoerfer diff --git a/Externals/SDL/README.PicoGUI b/Externals/SDL/README.PicoGUI deleted file mode 100644 index cdb6bedaec..0000000000 --- a/Externals/SDL/README.PicoGUI +++ /dev/null @@ -1,50 +0,0 @@ - ======================== - Using SDL with PicoGUI - ======================== - -- Originally contributed by Micah Dowty - -PicoGUI is a scalable GUI system with a unique architecture, primarily focused -on scalability to various embedded systems. You can find more information -including a FAQ at http://picogui.org - -To use the patch: - - 1. When compiling, add the "--enable-video-picogui" switch to ./configure - - 2. When running your program, ensure that the picogui driver for SDL - is in use by setting the SDL_VIDEODRIVER environment variable - to "picogui". - - 3. The program must also be linked to the C client library for PicoGUI - (libpgui.so). If the program is being compiled with a patched SDL - installed this should be done automatically. If you want to use an - existing binary with PicoGUI, you can set the LD_PRELOAD environment - variable to the path of your libpgui.so file. - -Capabilities: - - So far only basic functionality is provided on true color (linear16/24/32) - devices. Accessing a memory mapped bitmap, updating the display, and handling - mouse/keyboard input. This functionality has been tested with several - applications, including mplayer, Xine, sldroids, and Abuse. - -TODO list: - - - YUV overlays will be helpful for watching video on set top boxes or other - embedded devices that have some graphics acceleration hardware - - - Account for rotated bitmap storage in pgserver - - - Support for hiding or changing the cursor - - - The display should be centered when the SDL application is smaller - than the PicoGUI panel - - - Fullscreen or any other special modes - - - Support for indexed and grayscale modes - - - Probably much more... - ---- The End --- diff --git a/Externals/SDL/README.Porting b/Externals/SDL/README.Porting deleted file mode 100644 index df619934f0..0000000000 --- a/Externals/SDL/README.Porting +++ /dev/null @@ -1,56 +0,0 @@ - -* Porting To A New Platform - - The first thing you have to do when porting to a new platform, is look at -include/SDL_platform.h and create an entry there for your operating system. -The standard format is __PLATFORM__, where PLATFORM is the name of the OS. -Ideally SDL_platform.h will be able to auto-detect the system it's building -on based on C preprocessor symbols. - -There are two basic ways of building SDL at the moment: - -1. The "UNIX" way: ./configure; make; make install - - If you have a GNUish system, then you might try this. Edit configure.in, - take a look at the large section labelled: - "Set up the configuration based on the target platform!" - Add a section for your platform, and then re-run autogen.sh and build! - -2. Using an IDE: - - If you're using an IDE or other non-configure build system, you'll probably - want to create a custom SDL_config.h for your platform. Edit SDL_config.h, - add a section for your platform, and create a custom SDL_config_{platform}.h, - based on SDL_config.h.minimal and SDL_config.h.in - - Add the top level include directory to the header search path, and then add - the following sources to the project: - src/*.c - src/audio/*.c - src/cdrom/*.c - src/cpuinfo/*.c - src/events/*.c - src/file/*.c - src/joystick/*.c - src/stdlib/*.c - src/thread/*.c - src/timer/*.c - src/video/*.c - src/audio/disk/*.c - src/video/dummy/*.c - src/joystick/dummy/*.c - src/cdrom/dummy/*.c - src/thread/generic/*.c - src/timer/dummy/*.c - src/loadso/dummy/*.c - - -Once you have a working library without any drivers, you can go back to each -of the major subsystems and start implementing drivers for your platform. - -If you have any questions, don't hesitate to ask on the SDL mailing list: - http://www.libsdl.org/mailing-list.php - -Enjoy! - Sam Lantinga (slouken@libsdl.org) - diff --git a/Externals/SDL/README.QNX b/Externals/SDL/README.QNX deleted file mode 100644 index 995afbec0e..0000000000 --- a/Externals/SDL/README.QNX +++ /dev/null @@ -1,155 +0,0 @@ -README.QNX by Mike Gorchak , -Last changed at 24 Apr 2004. - -====================================================================== -Table of Contents: - -1. OpenGL. -2. Wheel and multi-button mouses. -3. CDROM handling issues. -4. Hardware video overlays. -5. Shared library building. -6. Some building issues. -7. Environment variables. - -====================================================================== -1. OpenGL: - - OpenGL works well and is stable, but fullscreen mode has not been -heavily tested yet. - If you have QNX RtP version 6.1.0 or above you must download the -Photon3D runtime from http://developers.qnx.com or install it from the -public repository or from the public CD, available with QNX. OS versi- -ons below 6.1.0 are not supported. - When creating an OpenGL context, software renderer mode is artifi- -cially selected (QSSL made acceleration only for Voodoo boards in -fullscreen mode, sorry but I don't have this board to test OpenGL - -maybe it works or maybe not :)). If you want acceleration - you can -remove one line in the source code: find the file SDL_ph_image.c and -remove the following - - OGLAttrib[OGLargc++]=PHOGL_ATTRIB_FORCE_SW; - -line in the ph_SetupOpenGLContext() function or change the argument to -PHOGL_ATTRIB_FORCE_HW or PHOGL_ATTRIB_FAVOR_HW. - -====================================================================== -2. Wheel and multi-button mouses: - - Photon emits keyboard events (key up and down) when the mouse -wheel is moved. The key_scan field appears valid, and it contains zero. -That is a basic method of detecting mouse wheel events under Photon. -It looks like a hack, but it works for me :) on various PC configura- -tions. - -I've tested it on: - -1. Genius Optical NetScroll/+ PS/2 (1 wheel) -2. A4Tech Optical GreatEye WheelMouse PS/2, model: WOP-35. (2 wheels - + 2 additional buttons). The wheel for vertical scrolling works as - usual, but the second wheel for horizontal scrolling emits two se- - quential events up or down, so it can provide faster scrolling than - the first wheel. Additional buttons don't emit any events, but it - looks like they're handled by photon in an unusual way - like click - to front, but works not with any window, looks like a fun bug-o-fe- - ature :). - -====================================================================== -3. CDROM handling issues: - - Access to CDROM can only be provided with 'root' privileges. I -can't do anything about that, /dev/cd0 has brw------- permissions and -root:root rights. - -====================================================================== -4. Hardware video overlays: - - Overlays can flicker during window movement, resizing, etc. It -happens because the photon driver updates the real window contents be- -hind the overlay, then draws the temporary chroma key color over the -window contents. It can be done without using the chroma key but that -causes the overlay to always be on top. So flickering during window -movement is preferred instead. - Double buffering code is temporarily disabled in the photon driver -code, because on my GF2-MX it can accidentally cause a buffer switch, -which causes the old frame to show. S3 Savage4 has the same problem, -but ATI Rage 128 doesn't. I think it can be fixed later. Current code -works very well, so maybe double buffering is not needed right now. - Something strange happens when you try to move the window with the -overlay beyond the left border of the screen. The overlay tries to -stay at position x=0, but when attempting to move it a bit more it -jumps to position x=-60 (on GF2-MX, on ATI Rage128 this value a bit -smaller). It's really strange, looks like the overlay doesn't like -negative coordinates. - -======================================================================= -5. Shared library building: - - A shared library can be built, but before running the autogen.sh -script you must manually delete the libtool.m4 stuff from the acinclu- -de.m4 file (it comes after the ESD detection code up to the end of the -file), because the libtool stuff in the acinclude.m4 file was very old -in SDL distribution before the version 1.2.7 and doesn't knew anything -about QNX. SDL 1.2.7 distribution contains the new libtool.m4 script, -but anyway it is broken :), Just remove it, then run "libtoolize ---force --copy", delete the file aclocal.m4 if it is exists and after -that run the autogen.sh script. SDL 1.2.8 contains fixed libtool.m4, -ltmain.sh and config.sub files, so you can just run the autogen.sh -script. - -====================================================================== -6. Some building issues: - - Feel free to not use the --disable-shared configure option if you' -ve read the above comment about 'Shared library building'. Otherwise -this option is strongly recommended, as without it the sdl-config -script will be broken. - - Run the configure script without x11 support, e.g.: - - a) for OpenGL support: - ./configure --prefix=/usr \ - --disable-video-x11 \ - --disable-shared - - b) without OpenGL support: - ./configure --prefix=/usr \ - --disable-video-x11 \ - --disable-shared \ - --disable-video-opengl - - And of course dont forget to specify --disable-debug, which is on -by default, to disable debug and enable the expensive optimizations. - - In the test directory also run the ./configure script without -x11 support, e.g.: - - ./configure --with-sdl-prefix=/usr \ - --with-sdl-exec-prefix=/usr \ - --prefix=/usr --without-x - -====================================================================== -7. Environment variables: - - Please note that the photon driver is sensible to the following -environmental variables: - - * SDL_PHOTON_FULLSCREEN_REFRESH - this environment variable controls -the refresh rate in all fullscreen modes. Be carefull !!! Photon -drivers usually do not checking the maximum refresh rate, which video -adapter or monitor supports. - - * SDL_VIDEO_WINDOW_POS - can be set in the "X,Y" format. If X and Y -coordinates are bigger than the current desktop resolution, then win- -dow positioning across virtual consoles is activated. If X and Y are -smaller than the desktop resolution then window positioning in the -current console is activated. The word "center" can be used instead of -coordinates, it produces the same behavior as SDL_VIDEO_CENTERED -environmental variable. - - * SDL_VIDEO_CENTERED - if this environmental variable exists then the -window centering is perfomed in the current virtual console. - -Notes: The SDL_VIDEO_CENTERED enviromental variable has greater pri- -ority than the SDL_VIDEO_WINDOW_POS in case if both variables are sup- -plied to the application. diff --git a/Externals/SDL/README.Qtopia b/Externals/SDL/README.Qtopia deleted file mode 100644 index 01627d1fb3..0000000000 --- a/Externals/SDL/README.Qtopia +++ /dev/null @@ -1,84 +0,0 @@ - -============================================================================== -Using the Simple DirectMedia Layer with Qtopia/OPIE -============================================================================== - -============================================================================== -I. Setting up the Qtopia development environment. - - This document will not explain how to setup the Qtopia development - environment. That is outside the scope of the document. You can read - more on this subject in this excellent howto: - - http://www.zauruszone.com/howtos/linux_compiler_setup_howto.html - -============================================================================== -II. Building the Simple DirectMedia Layer libraries using the arm - cross-compiler - - This is somewhat tricky since the name of the compiler binaries - differ from the standard. Also you should disable features not - needed. The command below works for me. Note that it's all one - line. You can also set the NM, LD etc environment variables - separately. - - NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib AR=arm-linux-ar ./configure --enable-video-qtopia --disable-video-dummy --disable-video-fbcon --disable-video-dga --disable-arts --disable-esd --disable-alsa --disable-cdrom --disable-video-x11 --disable-nasm --prefix=/opt/Qtopia/sharp/ arm-unknown-linux-gnu - - One thing to note is that the above configure will include joystick - support, even though you can't have joysticks on the Zaurus. The - reason for this is to avoid link / compile / runtime errors with - applications that have joystick support. - -============================================================================== -III. Building the Simple DirectMedia Layer test programs: - - After installing, making sure the correct sdl-config is in your - path, run configure like this: - - NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++ AR=arm-linux-ar ./configure arm-unknown-linux-gnu - -============================================================================== -IV. Application porting notes - - One thing I have noticed is that applications sometimes don't exit - correctly. Their icon remains in the taskbar and they tend to - relaunch themselves automatically. I believe this problem doesn't - occur if you exit your application using the exit() method. However, - if you end main() with 'return 0;' or so, this seems to happen. - - Also note that when running in landscape mode - i.e requesting a - window that is HEIGHT pixels wide and WIDTH pixels high, where WIDTH - and HEIGHT normally is 240 and 320 - the image is blitted so that - the hardware buttons are on the left side of the display. This might - not always be desirable but such is the code today. - - -============================================================================== -V. Enjoy! :) - - If you have a project you'd like me to know about, or want to ask questions, - go ahead and join the SDL developer's mailing list by sending e-mail to: - - sdl-request@libsdl.org - - and put "subscribe" into the subject of the message. Or alternatively you - can use the web interface: - - http://www.libsdl.org/mailman/listinfo/sdl - -============================================================================== -VI. What is supported: - -Keyboard (Sharp Zaurus) -Hardware buttons -Stylus input (mouse) -Video. Allows fullscreen both in portrait mode (up to WIDTHxHEIGHT -size window) and in landscape mode (up to HEIGHTxWIDTH). - -All other SDL functionality works like a normal Linux system (threads, -audio etc). - --- -David Hedbor -http://david.hedbor.org/ http://eongames.com/ - diff --git a/Externals/SDL/README.RISCOS b/Externals/SDL/README.RISCOS deleted file mode 100644 index 1ab85984a6..0000000000 --- a/Externals/SDL/README.RISCOS +++ /dev/null @@ -1,130 +0,0 @@ -Readme for RISC OS port of SDL -============================== - -This document last updated on 2nd Februrary 2006 - -This is a RISC OS port of the Simple Direct Media Layer (SDL) by Alan Buckley with contributions from Peter Naulls. - -Details of the SDL can be found at http://www.libsdl.org. - -The source code including the RISC OS version can be obtained from: - -http://www.libsdl.org. - -Pre built libraries and many games and applications compiled for RISC OS using this library can be downloaded from The Unix Porting Project at http://www.riscos.info/unix/. - -This is released under the LGPL see the file COPYING for details. - - -Compiling applications under RISC OS -==================================== - -Add -ISDL: for the C compiler flags if you include the files in the SDL directory. e.g. #include "SDL/SDL.h" -Add -ISDL:SDL for the C compiler flags if you include the files directly. e.g. #include "SDL/SDL.h" - -Add -LSDL: -lSDL to the link stage of compilation. - -For example, to compile the testbitmap.c sample you could use: - -gcc -ISDL:SDL -LSDL: -lSDL testbitmap.c -otestbitmap - - -RISC OS port of SDL runtime information -======================================= - -Runtime requirements --------------------- - -This library currently needs a minimum of RISC OS 3.6. The source code for the library (and a lot of the programs built with it) also need long file names. - -To use the audio you also need 16 bit sound and to have installed the DigitalRender module by Andreas Dehmel version 0.51 available from his -web site: http://home.t-online.de/~zarquon -This is loaded when needed by UnixLib. - -Note: As most programs ported from other OSes use high resolution graphics and a memory back buffer a machine with a StrongARM processor and 1 or 2MB of VRAM (or a better machine) is recomended. - - -RISC OS runtime parameters --------------------------- - -Several environmental variables have been defined to make porting programs easier (i.e. By setting these variable you do not need to have source code differences between OSes). - -They are all defined on an application basis. - -The used below is found as follows: -1. Use the name of the program unless it is !RunImage -2. Check the folder specification for the folder !RunImage is run from. If it is a folder name use that name, otherwise if it is an environmental variable of the form use the value of XXX. - -The variables are: - -SDL$$TaskName - -The name of the task for RISC OS. If omitted then is used for the task name, - -SDL$$BackBuffer - -Set to 1 to use a system memory back buffer for the screen in full screen mode. Some programs on other systems assume their is always a back buffer even though the SDL specification specifies this is not the case. The current RISC OS implementation uses direct writes to the screen if a hardware fullscreen is requested. - -Set to 2 to use an ARM code full word copy. This is faster than the standard back buffer, but uses aligned words only so it is possible (but unlikely) for it to corrupt the screen for 8bpp and 16bpp modes. - -Set to 3 to use a RISC OS sprite as the back buffer. This is usually the slowest for most SDL applications, however it may be useful in the future as Sprite acceleration is added to various hardware that runs RISC OS. - -SDL$$CloseAction - set the action for the close icon. Again as programs don't match the specification you can set this to 0 to remove the close icon from the main window for applications where this does not affect the program. - - -RISC OS SDL port API notes -========================== - -Current level of implementation -------------------------------- - -The following list is an overview of how much of the SDL is implemented. The areas match the main areas of the SDL. - -video - Mostly done. Doesn't cover gamma, YUV-overlay or OpenGL. -Window Manager - Mostly done. SetIcon/IconifyWindow not implemented. -Events - Mostly done. Resize and some joystick events missing. -Joystick - Currently assumes a single joystick with 4 buttons. -Audio - Done -CDROM - Not implemented. -Threads - Done -Timers - Done - -Thread support can be removed by defining DISABLE_THREADS and recompiling the library. - -SDL API notes -------------- - -This section contains additional notes on some specific commands. - -SDL_SetVideoMode - On RISC OS a fullscreen mode directly accesses the screen. This can be modified by the environmental variable (SDL$$BackBuffer) or by using the SDL_SWSURFACE flag to write to an offscreen buffer that is updated using SDL_UpdateRects. - Open GL is not supported so SDL_OPENGL and SDL_OPENGLBLIT flags fail. - SDL_RESIZEABLE and SDL_NOFRAME flags are not supported. - -SDL_SetColors - In a wimp mode the screen colours are not changed for a hardware palette instead the RISC OS sprite colour mapping is used to get the best matching colours. - -SDL_CreateCursor - Inverted colour is not supported. - -SDL_WM_ToggleFullScreen - Currently this won't work if the application starts up in Fullscreen mode. - Toggling to fullscreen will only work if the monitor is set up to support the exact screen size requested. - -SDL_EnableUNICODE - Unicode translation used here is only really accurate for 7 bit characters. - -SDL_NumJoysticks/JoystickName etc. - Hardcoded to expect only 1 joystick with 4 buttons if the Joystick module is loaded. - -SDL_GetTicks - Timer used has only a centisecond accuracy. This applies to other time related functions. - -SDL_Delay - Modified to poll keyboard/mouse during the delay on the event thread. - - -Notes on current implementation -------------------------------- - -Keyboard and mouse are polled so if too long a time is spent between a call to SDL_PumpEvents, functions that use it, or SDL_Delay events can be missed. diff --git a/Externals/SDL/README.SVN b/Externals/SDL/README.SVN deleted file mode 100644 index 65c5c427e2..0000000000 --- a/Externals/SDL/README.SVN +++ /dev/null @@ -1,23 +0,0 @@ - -The latest development version of SDL is available via Subversion. -Subversion allows you to get up-to-the-minute fixes and enhancements; -as a developer works on a source tree, you can use svn to mirror that -source tree instead of waiting for an official release. Please look -at the Subversion website ( http://subversion.tigris.org/ ) for more -information on using svn, where you can also download software for -MacOS, Windows, and Unix systems. - - svn checkout http://svn.libsdl.org/branches/SDL-1.2 - -If you are building SDL with an IDE, you will need to copy the file -include/SDL_config.h.default to include/SDL_config.h before building. - -If you are building SDL via configure, you will need to run autogen.sh -before running configure. - -There is a web interface to the subversion repository at: - http://www.libsdl.org/cgi/viewvc.cgi - -There is an RSS feed available at that URL, for those that want to -track commits in real time. - diff --git a/Externals/SDL/README.Symbian b/Externals/SDL/README.Symbian deleted file mode 100644 index 32d925a00d..0000000000 --- a/Externals/SDL/README.Symbian +++ /dev/null @@ -1,23 +0,0 @@ -============================================================================== -Using the Simple DirectMedia Layer with S60 3.x / Symbian 9.x -============================================================================== - -These instuctions are for people developing for S60 3.x. S60 3.x -uses Symbian OS so you need S60 SDK. - -extract "symbian.zip" into this folder. - -go to symbian folder - -bldmake bldfiles -abld build - -That produces WINSCW and ARMV5 versions of sdl.dll runtime library -and sdl.lib for development. -The sdlexe.dll/sdlexe.lib and sdlmain.lib are for easy SDL S60 -integration, please see http://www.mbnet.fi/~mertama/sdl.html -for further info. - - - - diff --git a/Externals/SDL/README.Watcom b/Externals/SDL/README.Watcom deleted file mode 100644 index 8ed391fc83..0000000000 --- a/Externals/SDL/README.Watcom +++ /dev/null @@ -1,133 +0,0 @@ - -Using SDL under Windows with the OpenWatcom compiler -==================================================== - -Prerequisites -------------- - -I have done the port under Windows XP Home with SP2 installed. Windows -2000 should also be working. I'm not so sure about ancient Windows NT, -since only DirectX 3 is available there. Building should be possible, -but running the compiled applications will probalbly fail with -SDL_VIDEODRIVER=directx. The windib driver should work, though. - -To compile and use the SDL with Open Watcom you will need the following: -- Open Watcom compiler. I used version 1.5. The environment variables - PATH, WATCOM and INCLUDE need to be set appropriately - please consult - the OpenWatcom documentation and instructions given during the - installation of the compiler. - My setup looks like this in owvars.bat: - set WATCOM=C:\watcom - set INCLUDE=%WATCOM%\h;%WATCOM%\h\nt - set PATH=%PATH%;%WATCOM%\binnt;%WATCOM%\binw -- A fairly recent DirectX SDK. The original unmodified DX8 SDK works, as - well as the minimal DirectX 7 SDK from the Allegro download site - (). -- The SDL sources from Subversion -- The file Watcom-Win32.zip (now available in Subversion) - - -Building the Library --------------------- - -1) In the SDL base directory extract the archive Watcom-Win32.zip. This - creates a subdirectory named 'watcom'. -2) The makefile expects the environment variable DXDIR to be set to the - base directory of a DirectX SDK. I have tried a stock DX8 SDK from - Microsoft as well as the minimal DirectX 7 SDK from the Allegro - download site. - You can also edit the makefile directly and hard code your path to - the SDK on your system. - I have this in my setup: - set DXDIR=D:\devel\DX8_SDK -3) Enter the watcom directory and run - wmake sdl -4) All tests from the test directory are working and can be built by - running - wmake tests - -Notes: - - The makefile offers some options to tweak the way the library is built. - You have at your disposal the option to build a static (default) - library, or a DLL (with tgt=dll). You can also choose whether to build - a Release (default) or a Debug version (with build=debug) of the tests - and library. Please consult the usage comment at the top of the - makefile for usage instructions. - - If you specify a test target (i.e. 'wmake tests' for all tests, or - selected targets like 'wmake testgl testvidinfo testoverlay2'), the - tests are always freshly compiled and linked. This is done to - minimise hassle when switching between library versions (static vs. - DLL), because they require subtly different options. - Also, the test executables are put directly into the test directory, - so they can find their data files. The clean target of the makefile - removes the test executables and the SDL.dll file from the test - directory. - - To use the library in your own projects with Open Watcom, you can use - the way the tests are built as base of your own build environment. - - The library can also be built with the stack calling convention of the - compiler (-6s instead of -6r). - - -Test applications ------------------ - -I've tried to make all tests work. The following table gives an overview -of the current status. - - Testname Status -~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -checkkeys + -graywin + -loopwave + -testalpha + -testbitmap + -testdyngl + -testerror + -testfile + -testgamma + -testgl + -testhread + -testiconv - (all failed) -testkeys + -testlock + -testoverlay + (needs 'set SDL_VIDEODRIVER=directx') -testoverlay2 + (needs 'set SDL_VIDEODRIVER=directx') -testpalette + -testplatform + -testsem + -testsprite + -testtimer + -testver + -testvidinfo + -testwin ? (fading doesn't seem right) -testwm + -torturethread + -testcdrom + -testjoystick not tested -threadwin + -testcursor + - - -TODO ----- - -There is room for further improvement: -- Test joystick functionality. -- Investigate fading issue in 'testwin' test. -- Fix the UTF-8 support. -- Adapt the makefile/object file list to support more target systems -- Use "#pragma aux" syntax for the CPU info functions. - - -Questions and Comments ----------------------- - -Please direct any questions or comments to me: - - Happy Coding! - - Marc Peter diff --git a/Externals/SDL/README.WinCE b/Externals/SDL/README.WinCE deleted file mode 100644 index 6f8799ef80..0000000000 --- a/Externals/SDL/README.WinCE +++ /dev/null @@ -1,55 +0,0 @@ - -Project files for embedded Visual C++ 3.0, 4.0 and -Visual Studio 2005 can be found in VisualCE.zip - -SDL supports GAPI and WinDib output for Windows CE. - -GAPI driver supports: - -- all possible WinCE devices (Pocket PC, Smartphones, HPC) - with different orientations of video memory and resolutions. -- 4, 8 and 16 bpp devices -- special handling of 8bpp on 8bpp devices -- VGA mode, you can even switch between VGA and GAPI in runtime - (between 240x320 and 480x640 for example). On VGA devices you can - use either GAPI or VGA. -- Landscape mode and automatic rotation of buttons and stylus coordinates. - To enable landscape mode make width of video screen bigger than height. - For example: - SDL_SetVideoMode(320,240,16,SDL_FULLSCREEN) -- WM2005 -- SDL_ListModes - -NOTE: -There are several SDL features not available in the WinCE port of SDL. - -- DirectX is not yet available -- Semaphores are not available -- Joystick support is not available -- CD-ROM control is not available - -In addition, there are several features that run in "degraded" mode: - -Preprocessor Symbol Effect -=================== ================================= - -SDL_systimer.c: -USE_GETTICKCOUNT Less accurate values for SDL time functions -USE_SETTIMER Use only a single marginally accurate timer - -SDL_syswm.c: -DISABLE_ICON_SUPPORT Can't set the runtime window icon - -SDL_sysmouse.c: -USE_STATIC_CURSOR Only the arrow cursor is available - -SDL_sysevents.c: -NO_GETKEYBOARDSTATE Can't get modifier state on keyboard focus - -SDL_dibevents.c: -NO_GETKEYBOARDSTATE Very limited keycode translation - -SDL_dibvideo.c: -NO_GETDIBITS Can't distinguish between 15 bpp and 16 bpp -NO_CHANGEDISPLAYSETTINGS No fullscreen support -NO_GAMMA_SUPPORT Gamma correction not available diff --git a/Externals/SDL/README.wscons b/Externals/SDL/README.wscons deleted file mode 100644 index 349c89c999..0000000000 --- a/Externals/SDL/README.wscons +++ /dev/null @@ -1,107 +0,0 @@ -============================================================================== -Using the Simple DirectMedia Layer with OpenBSD/wscons -============================================================================== - -The wscons SDL driver can be used to run SDL programs on OpenBSD -without running X. So far, the driver only runs on the Sharp Zaurus, -but the driver is written to be easily extended for other machines. -The main missing pieces are blitting routines for anything but 16 bit -displays, and keycode maps for other keyboards. Also, there is no -support for hardware palettes. - -There is currently no mouse support. - -To compile SDL with support for wscons, use the -"--enable-video-wscons" option when running configure. I used the -following command line: - -./configure --disable-oss --disable-ltdl --enable-pthread-sem \ - --disable-esd --disable-arts --disable-video-aalib \ - --enable-openbsdaudio --enable-video-wscons \ - --prefix=/usr/local --sysconfdir=/etc - - -Setting the console device to use -================================= - -When starting an SDL program on a wscons console, the driver uses the -current virtual terminal (usually /dev/ttyC0). To force the driver to -use a specific terminal device, set the environment variable -SDL_WSCONSDEV: - -bash$ SDL_WSCONSDEV=/dev/ttyC1 ./some-sdl-program - -This is especially useful when starting an SDL program from a remote -login prompt (which is great for development). If you do this, and -want to use keyboard input, you should avoid having some other program -reading from the used virtual console (i.e., do not have a getty -running). - - -Rotating the display -==================== - -The display can be rotated by the wscons SDL driver. This is useful -for the Sharp Zaurus, since the display hardware is wired so that it -is correctly rotated only when the display is folded into "PDA mode." -When using the Zaurus in "normal," or "keyboard" mode, the hardware -screen is rotated 90 degrees anti-clockwise. - -To let the wscons SDL driver rotate the screen, set the environment -variable SDL_VIDEO_WSCONS_ROTATION to "CW", "CCW", or "UD", for -clockwise, counter clockwise, and upside-down rotation respectively. -"CW" makes the screen appear correct on a Sharp Zaurus SL-C3100. - -When using rotation in the driver, a "shadow" frame buffer is used to -hold the intermediary display, before blitting it to the actual -hardware frame buffer. This slows down performance a bit. - -For completeness, the rotation "NONE" can be specified to use a shadow -frame buffer without actually rotating. Unsetting -SDL_VIDEO_WSCONS_ROTATION, or setting it to '' turns off the shadow -frame buffer for maximum performance. - - -Running MAME -============ - -Since my main motivation for writing the driver was playing MAME on -the Zaurus, I'll give a few hints: - -XMame compiles just fine under OpenBSD. - -I'm not sure this is strictly necessary, but set - -MY_CPU = arm - -in makefile.unix, and - -CFLAGS.arm = -DLSB_FIRST -DALIGN_INTS -DALIGN_SHORTS - -in src/unix/unix.max - -to be sure. - -The latest XMame (0.101 at this writing) is a very large program. -Either tinker with the make files to compile a version without support -for all drivers, or, get an older version of XMame. My recommendation -would be 0.37b16. - -When running MAME, DO NOT SET SDL_VIDEO_WSCONS_ROTATION! Performace -is MUCH better without this, and it is COMPLETELY UNNECESSARY, since -MAME can rotate the picture itself while drawing, and does so MUCH -FASTER. - -Use the Xmame command line option "-ror" to rotate the picture to the -right. - - -Acknowledgments -=============== - -I studied the wsfb driver for XFree86/Xorg quite a bit before writing -this, so there ought to be some similarities. - - --- -Staffan Ulfberg diff --git a/Externals/SDL/SDL.qpg.in b/Externals/SDL/SDL.qpg.in deleted file mode 100644 index 8e1ff8da87..0000000000 --- a/Externals/SDL/SDL.qpg.in +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - - - - - - - - - - QNX.ORG.RU Community - - - QNX.ORG.RU Team - Mike Gorchak - mike@malva.ua - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Library - SDL - 1 - http://qnx.org.ru/repository - 2.6 - - - - Simple DirectMedia Layer (SDL) - SDL - slouken@libsdl.org - Public - public - http://www.libsdl.org - - slouken@libsdl.org - Sam Lantinga - http://www.libsdl.org - - slouken@libsdl.org - - - This is the Simple DirectMedia Layer (SDL), a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. - This is the Simple DirectMedia Layer (SDL), a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. This is the libraries, include files and other resources you can use to develop and run SDL applications. - http://www.libsdl.org - - - - - @VERSION@ - Medium - Stable - - - 1 - - GNU Lesser General Public License - - - - Software Development/Libraries and Extensions/C Libraries - SDL,audio,graphics,demos,games,emulators,direct,media,layer - qnx6 - none - Photon - Console - Developer - User - - repdata://LicenseUrl/COPYING - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Externals/SDL/SDL.spec b/Externals/SDL/SDL.spec deleted file mode 100644 index fb505310be..0000000000 --- a/Externals/SDL/SDL.spec +++ /dev/null @@ -1,113 +0,0 @@ -Summary: Simple DirectMedia Layer -Name: SDL -Version: 1.2.14 -Release: 1 -Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz -URL: http://www.libsdl.org/ -License: LGPL -Group: System Environment/Libraries -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -Prefix: %{_prefix} -%ifos linux -Provides: libSDL-1.2.so.0 -%endif - -%define __defattr %defattr(-,root,root) -%define __soext so - -%description -This is the Simple DirectMedia Layer, a generic API that provides low -level access to audio, keyboard, mouse, and display framebuffer across -multiple platforms. - -%package devel -Summary: Libraries, includes and more to develop SDL applications. -Group: Development/Libraries -Requires: %{name} = %{version} - -%description devel -This is the Simple DirectMedia Layer, a generic API that provides low -level access to audio, keyboard, mouse, and display framebuffer across -multiple platforms. - -This is the libraries, include files and other resources you can use -to develop SDL applications. - - -%prep -%setup -q - -%build -%ifos linux -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-aalib --disable-video-directfb --disable-video-ggi --disable-video-svga -%else -%configure -%endif -make - -%install -rm -rf $RPM_BUILD_ROOT -%ifos linux -make install prefix=$RPM_BUILD_ROOT%{prefix} \ - bindir=$RPM_BUILD_ROOT%{_bindir} \ - libdir=$RPM_BUILD_ROOT%{_libdir} \ - includedir=$RPM_BUILD_ROOT%{_includedir} \ - datadir=$RPM_BUILD_ROOT%{_datadir} \ - mandir=$RPM_BUILD_ROOT%{_mandir} -ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0 -%else -%makeinstall -%endif - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%{__defattr} -%doc README-SDL.txt COPYING CREDITS BUGS -%{_libdir}/lib*.%{__soext}.* - -%files devel -%{__defattr} -%doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html -%doc docs/index.html docs/html -%{_bindir}/*-config -%{_libdir}/lib*.a -%{_libdir}/lib*.la -%{_libdir}/lib*.%{__soext} -%dir %{_includedir}/SDL -%{_includedir}/SDL/*.h -%{_libdir}/pkgconfig/sdl.pc -%{_datadir}/aclocal/* -%{_mandir}/man3/* - -%changelog -* Tue May 16 2006 Sam Lantinga -- Removed support for Darwin, due to build problems on ps2linux - -* Mon Jan 03 2004 Anders Bjorklund -- Added support for Darwin, updated spec file - -* Wed Jan 19 2000 Sam Lantinga -- Re-integrated spec file into SDL distribution -- 'name' and 'version' come from configure -- Some of the documentation is devel specific -- Removed SMP support from %build - it doesn't work with libtool anyway - -* Tue Jan 18 2000 Hakan Tandogan -- Hacked Mandrake sdl spec to build 1.1 - -* Sun Dec 19 1999 John Buswell -- Build Release - -* Sat Dec 18 1999 John Buswell -- Add symlink for libSDL-1.0.so.0 required by sdlbomber -- Added docs - -* Thu Dec 09 1999 Lenny Cartier -- v 1.0.0 - -* Mon Nov 1 1999 Chmouel Boudjnah -- First spec file for Mandrake distribution. - -# end of file diff --git a/Externals/SDL/SDL.spec.in b/Externals/SDL/SDL.spec.in deleted file mode 100644 index dbda11210a..0000000000 --- a/Externals/SDL/SDL.spec.in +++ /dev/null @@ -1,113 +0,0 @@ -Summary: Simple DirectMedia Layer -Name: SDL -Version: @SDL_VERSION@ -Release: 1 -Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz -URL: http://www.libsdl.org/ -License: LGPL -Group: System Environment/Libraries -BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -Prefix: %{_prefix} -%ifos linux -Provides: libSDL-1.2.so.0 -%endif - -%define __defattr %defattr(-,root,root) -%define __soext so - -%description -This is the Simple DirectMedia Layer, a generic API that provides low -level access to audio, keyboard, mouse, and display framebuffer across -multiple platforms. - -%package devel -Summary: Libraries, includes and more to develop SDL applications. -Group: Development/Libraries -Requires: %{name} = %{version} - -%description devel -This is the Simple DirectMedia Layer, a generic API that provides low -level access to audio, keyboard, mouse, and display framebuffer across -multiple platforms. - -This is the libraries, include files and other resources you can use -to develop SDL applications. - - -%prep -%setup -q - -%build -%ifos linux -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-aalib --disable-video-directfb --disable-video-ggi --disable-video-svga -%else -%configure -%endif -make - -%install -rm -rf $RPM_BUILD_ROOT -%ifos linux -make install prefix=$RPM_BUILD_ROOT%{prefix} \ - bindir=$RPM_BUILD_ROOT%{_bindir} \ - libdir=$RPM_BUILD_ROOT%{_libdir} \ - includedir=$RPM_BUILD_ROOT%{_includedir} \ - datadir=$RPM_BUILD_ROOT%{_datadir} \ - mandir=$RPM_BUILD_ROOT%{_mandir} -ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0 -%else -%makeinstall -%endif - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%{__defattr} -%doc README-SDL.txt COPYING CREDITS BUGS -%{_libdir}/lib*.%{__soext}.* - -%files devel -%{__defattr} -%doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html -%doc docs/index.html docs/html -%{_bindir}/*-config -%{_libdir}/lib*.a -%{_libdir}/lib*.la -%{_libdir}/lib*.%{__soext} -%dir %{_includedir}/SDL -%{_includedir}/SDL/*.h -%{_libdir}/pkgconfig/sdl.pc -%{_datadir}/aclocal/* -%{_mandir}/man3/* - -%changelog -* Tue May 16 2006 Sam Lantinga -- Removed support for Darwin, due to build problems on ps2linux - -* Mon Jan 03 2004 Anders Bjorklund -- Added support for Darwin, updated spec file - -* Wed Jan 19 2000 Sam Lantinga -- Re-integrated spec file into SDL distribution -- 'name' and 'version' come from configure -- Some of the documentation is devel specific -- Removed SMP support from %build - it doesn't work with libtool anyway - -* Tue Jan 18 2000 Hakan Tandogan -- Hacked Mandrake sdl spec to build 1.1 - -* Sun Dec 19 1999 John Buswell -- Build Release - -* Sat Dec 18 1999 John Buswell -- Add symlink for libSDL-1.0.so.0 required by sdlbomber -- Added docs - -* Thu Dec 09 1999 Lenny Cartier -- v 1.0.0 - -* Mon Nov 1 1999 Chmouel Boudjnah -- First spec file for Mandrake distribution. - -# end of file diff --git a/Externals/SDL/TODO b/Externals/SDL/TODO deleted file mode 100644 index 65bb01c17a..0000000000 --- a/Externals/SDL/TODO +++ /dev/null @@ -1,25 +0,0 @@ - -Wish list for the 1.3 development branch: -http://bugzilla.libsdl.org/ - - * Add mousewheel events (new unified event architecture?) - * DirectInput joystick support needs to be implemented - * Be able to enumerate and select available audio and video drivers - * Fullscreen video mode support for Mac OS X - * Explicit vertical retrace wait (maybe separate from SDL_Flip?) - * Shaped windows, windows without borders - * Multiple windows, multiple display support - * SDL_INIT_EVENTTHREAD on Windows and MacOS? - * Add a timestamp to events - * Add audio input API - * Add hardware accelerated scaled blit - * Add hardware accelerated alpha blits - * Redesign blitting architecture to allow blit plugins - -In the jump from 1.2 to 1.3, we should change the SDL_Rect members to -int and evaluate all the rest of the datatypes. This is the only place -we should do it though, since the 1.2 series should not break binary -compatibility in this way. - -Requests: - * PCM and CDROM volume control (deprecated, but possible) diff --git a/Externals/SDL/VisualC.html b/Externals/SDL/VisualC.html deleted file mode 100644 index ad2ed97a60..0000000000 --- a/Externals/SDL/VisualC.html +++ /dev/null @@ -1,171 +0,0 @@ - - - Using SDL with Microsoft Visual C++ - - -

- Using SDL with Microsoft Visual C++ 5,6 and 7 -

-

- by Lion Kimbro and additions by - James Turk -

-

- You can either use the precompiled libraries from - the SDL Download web site , or you can build SDL yourself. -

-

- Building SDL -

-

- Unzip the VisualC.zip file into the directory that contains this - file (VisualC.html). -

-

- Be certain that you unzip the zip file for your compiler into this - directory and not any other directory. If you are using WinZip, be careful to - make sure that it extracts to this folder, because it's - convenient feature of unzipping to a folder with the name of the file currently - being unzipped will get you in trouble if you use it right now. And that's all - I have to say about that. -

-

- Now that it's unzipped, go into the VisualC - directory that is created, and double-click on the VC++ file "SDL.dsw" - ("SDL.sln"). This should open up the IDE. -

-

- You may be prompted at this point to upgrade the workspace, should you be using - a more recent version of Visual C++. If so, allow the workspace to be upgraded. -

-

- Build the .dll and .lib files. -

-

- This is done by right clicking on each project in turn (Projects are listed in - the Workspace panel in the FileView tab), and selecting "Build". -

-

- If you get an error about SDL_config.h being missing, you should - copy include/SDL_config.h.default to include/SDL_config.h and try again. -

-

- You may get a few warnings, but you should not get any errors. You do have to - have at least the DirectX 5 SDK installed, however. The latest - version of DirectX can be downloaded or purchased on a cheap CD (my - recommendation) from Microsoft . -

-

- Later, we will refer to the following .lib and .dll files that have just been - generated: -

-
    -
  • SDL.dll
  • -
  • SDL.lib
  • -
  • SDLmain.lib
  • -
-

- Search for these using the Windows Find (Windows-F) utility, if you don't - already know where they should be. For those of you with a clue, look inside - the Debug or Release directories of the subdirectories of the Project folder. - (It might be easier to just use Windows Find if this sounds confusing. And - don't worry about needing a clue; we all need visits from the clue fairy - frequently.) -

-

- Creating a Project with SDL -

-

- Create a project as a Win32 Application. -

-

- Create a C++ file for your project. -

-

- Set the C runtime to "Multi-threaded DLL" in the menu: Project|Settings|C/C++ - tab|Code Generation|Runtime Library . -

-

- Add the SDL include directory to your list of includes in the - menu: Project|Settings|C/C++ tab|Preprocessor|Additional include directories - . -
- VC7 Specific: Instead of doing this I find it easier to - add the include and library directories to the list that VC7 keeps. Do this by - selecting Tools|Options|Projects|VC++ Directories and under the "Show - Directories For:" dropbox select "Include Files", and click the "New Directory - Icon" and add the [SDLROOT]\include directory (ex. If you installed to - c:\SDL-1.2.5\ add c:\SDL-1.2.5\include). Proceed to change the - dropbox selection to "Library Files" and add [SDLROOT]\lib. -

-

- The "include directory" I am referring to is the include folder - within the main SDL directory (the one that this HTML file located within). -

-

- Now we're going to use the files that we had created earlier in the Build SDL - step. -

-

- Copy the following files into your Project directory: -

-
    -
  • SDL.dll
  • -
-

- Add the following files to your project (It is not necessary to copy them to - your project directory): -

-
    -
  • SDL.lib
  • -
  • SDLmain.lib
  • -
-

- (To add them to your project, right click on your project, and select "Add - files to project") -

-

Instead of adding the files to your project it is more - desireable to add them to the linker options: Project|Properties|Linker|Command - Line and type the names of the libraries to link with in the "Additional - Options:" box.  Note: This must be done for each build - configuration (eg. Release,Debug).

-

- SDL 101, First Day of Class -

-

- Now create the basic body of your project. The body of your program should take - the following form: -

-#include "SDL.h"
-
-int main( int argc, char* argv[] )
-{
-  // Body of the program goes here.
-  return 0;
-}
-
- -

-

- That's it! -

-

- I hope that this document has helped you get through the most difficult part of - using the SDL: installing it. Suggestions for improvements to this document - should be sent to the writers of this document. -

-

- Thanks to Paulus Esterhazy (pesterhazy@gmx.net), for the work on VC++ port. -

-

- This document was originally called "VisualC.txt", and was written by - Sam Lantinga. -

-

- Later, it was converted to HTML and expanded into the document that you see - today by Lion Kimbro. -

-

Minor Fixes and Visual C++ 7 Information (In Green) was added by James Turk -

- - diff --git a/Externals/SDL/VisualC.zip b/Externals/SDL/VisualC.zip deleted file mode 100644 index 5ee0c63d06..0000000000 Binary files a/Externals/SDL/VisualC.zip and /dev/null differ diff --git a/Externals/SDL/VisualCE.zip b/Externals/SDL/VisualCE.zip deleted file mode 100644 index 0f712545de..0000000000 Binary files a/Externals/SDL/VisualCE.zip and /dev/null differ diff --git a/Externals/SDL/Watcom-OS2.zip b/Externals/SDL/Watcom-OS2.zip deleted file mode 100644 index b3d1a67a07..0000000000 Binary files a/Externals/SDL/Watcom-OS2.zip and /dev/null differ diff --git a/Externals/SDL/Watcom-Win32.zip b/Externals/SDL/Watcom-Win32.zip deleted file mode 100644 index c60af6df43..0000000000 Binary files a/Externals/SDL/Watcom-Win32.zip and /dev/null differ diff --git a/Externals/SDL/WhatsNew b/Externals/SDL/WhatsNew deleted file mode 100644 index 927fdd264f..0000000000 --- a/Externals/SDL/WhatsNew +++ /dev/null @@ -1,727 +0,0 @@ - -This is a list of API changes in SDL's version history. - -Version 1.0: - -1.2.14: - Added cast macros for correct usage with C++: - SDL_reinterpret_cast(type, expression) - SDL_static_cast(type, expression) - - Added SDL_VIDEO_FULLSCREEN_DISPLAY as a preferred synonym for - SDL_VIDEO_FULLSCREEN_HEAD on X11. - - Added SDL_DISABLE_LOCK_KEYS environment variable to enable normal - up/down events for Caps-Lock and Num-Lock keys. - -1.2.13: - Added SDL_BUTTON_X1 and SDL_BUTTON_X2 constants. - -1.2.12: - Added SDL_VIDEO_ALLOW_SCREENSAVER to override SDL's disabling - of the screensaver on Mac OS X and X11. - -1.2.10: - If SDL_OpenAudio() is passed zero for the desired format - fields, the following environment variables will be used - to fill them in: - SDL_AUDIO_FREQUENCY - SDL_AUDIO_FORMAT - SDL_AUDIO_CHANNELS - SDL_AUDIO_SAMPLES - If an environment variable is not specified, it will be set - to a reasonable default value. - - Added support for the SDL_VIDEO_FULLSCREEN_HEAD environment - variable, currently supported on X11 Xinerama configurations. - - Added SDL_GL_SWAP_CONTROL to wait for vsync in OpenGL applications. - - Added SDL_GL_ACCELERATED_VISUAL to guarantee hardware acceleration. - - Added current_w and current_h to the SDL_VideoInfo structure, - which is set to the desktop resolution during video intialization, - and then set to the current resolution when a video mode is set. - - SDL_SetVideoMode() now accepts 0 for width or height and will use - the current video mode (or the desktop mode if no mode has been set.) - - Added SDL_GetKeyRepeat() - - Added SDL_config.h, with defaults for various build environments. - -1.2.7: - Added CPU feature detection functions to SDL_cpuinfo.h: - SDL_HasRDTSC(), SDL_HasMMX(), SDL_Has3DNow(), SDL_HasSSE(), - SDL_HasAltiVec() - Added function to create RWops from const memory: SDL_RWFromConstMem() - -1.2.6: - Added SDL_LoadObject(), SDL_LoadFunction(), and SDL_UnloadObject() - - Added SDL_GL_MULTISAMPLEBUFFERS and SDL_GL_MULTISAMPLESAMPLES for FSAA - -1.2.5: - Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5) - - Added SDL_GL_STEREO for stereoscopic OpenGL contexts - -1.2.0: - Added SDL_VIDEOEXPOSE event to signal that the screen needs to - be redrawn. This is currently only delivered to OpenGL windows - on X11, though it may be delivered in the future when the video - memory is lost under DirectX. - -1.1.8: - You can pass SDL_NOFRAME to SDL_VideoMode() to create a window - that has no title bar or frame decoration. Fullscreen video - modes automatically have this flag set. - - Added a function to query the clipping rectangle for a surface: - void SDL_GetClipRect(SDL_Surface *surface, SDL_Rect *rect) - - Added a function to query the current event filter: - SDL_EventFilter SDL_GetEventFilter(void) - - If you pass -1 to SDL_ShowCursor(), it won't change the current - cursor visibility state, but will still return it. - - SDL_LockSurface() and SDL_UnlockSurface() are recursive, meaning - you can nest them as deep as you want, as long as each lock call - has a matching unlock call. The surface remains locked until the - last matching unlock call. - - Note that you may not blit to or from a locked surface. - -1.1.7: - The SDL_SetGammaRamp() and SDL_GetGammaRamp() functions now take - arrays of Uint16 values instead of Uint8 values. For the most part, - you can just take your old values and shift them up 8 bits to get - new correct values for your gamma ramps. - - You can pass SDL_RLEACCEL in flags passed to SDL_ConvertSurface() - and SDL will try to RLE accelerate colorkey and alpha blits in the - resulting surface. - -1.1.6: - Added a function to return the thread ID of a specific thread: - Uint32 SDL_GetThreadID(SDL_Thread *thread) - If 'thread' is NULL, this function returns the id for this thread. - -1.1.5: - The YUV overlay structure has been changed to use an array of - pitches and pixels representing the planes of a YUV image, to - better enable hardware acceleration. The YV12 and IYUV formats - each have three planes, corresponding to the Y, U, and V portions - of the image, while packed pixel YUV formats just have one plane. - - For palettized mode (8bpp), the screen colormap is now split in - a physical and a logical palette. The physical palette determines - what colours the screen pixels will get when displayed, and the - logical palette controls the mapping from blits to/from the screen. - A new function, SDL_SetPalette() has been added to change - logical and physical palettes separately. SDL_SetColors() works - just as before, and is equivalent to calling SDL_SetPalette() with - a flag argument of (SDL_LOGPAL|SDL_PHYSPAL). - - SDL_BlitSurface() no longer modifies the source rectangle, only the - destination rectangle. The width/height members of the destination - rectangle are ignored, only the position is used. - - The old source clipping function SDL_SetClipping() has been replaced - with a more useful function to set the destination clipping rectangle: - SDL_bool SDL_SetClipRect(SDL_Surface *surface, SDL_Rect *rect) - - Added a function to see what subsystems have been initialized: - Uint32 SDL_WasInit(Uint32 flags) - - The Big Alpha Flip: SDL now treats alpha as opacity like everybody - else, and not as transparency: - - A new cpp symbol: SDL_ALPHA_OPAQUE is defined as 255 - A new cpp symbol: SDL_ALPHA_TRANSPARENT is defined as 0 - Values between 0 and 255 vary from fully transparent to fully opaque. - - New functions: - SDL_DisplayFormatAlpha() - Returns a surface converted to a format with alpha-channel - that can be blit efficiently to the screen. (In other words, - like SDL_DisplayFormat() but the resulting surface has - an alpha channel.) This is useful for surfaces with alpha. - SDL_MapRGBA() - Works as SDL_MapRGB() but takes an additional alpha parameter. - SDL_GetRGBA() - Works as SDL_GetRGB() but also returns the alpha value - (SDL_ALPHA_OPAQUE for formats without an alpha channel) - - Both SDL_GetRGB() and SDL_GetRGBA() now always return values in - the [0..255] interval. Previously, SDL_GetRGB() would return - (0xf8, 0xfc, 0xf8) for a completely white pixel in RGB565 format. - (N.B.: This is broken for bit fields < 3 bits.) - - SDL_MapRGB() returns pixels in which the alpha channel is set opaque. - - SDL_SetAlpha() can now be used for both setting the per-surface - alpha, using the new way of thinking of alpha, and also to enable - and disable per-pixel alpha blending for surfaces with an alpha - channel: - To disable alpha blending: - SDL_SetAlpha(surface, 0, 0); - To re-enable alpha blending: - SDL_SetAlpha(surface, SDL_SRCALPHA, 0); - Surfaces with an alpha channel have blending enabled by default. - - SDL_SetAlpha() now accepts SDL_RLEACCEL as a flag, which requests - RLE acceleration of blits, just as like with SDL_SetColorKey(). - This flag can be set for both surfaces with an alpha channel - and surfaces with an alpha value set by SDL_SetAlpha(). - As always, RLE surfaces must be locked before pixel access is - allowed, and unlocked before any other SDL operations are done - on it. - - The blit semantics for surfaces with and without alpha and colorkey - have now been defined: - - RGBA->RGB: - SDL_SRCALPHA set: - alpha-blend (using alpha-channel). - SDL_SRCCOLORKEY ignored. - SDL_SRCALPHA not set: - copy RGB. - if SDL_SRCCOLORKEY set, only copy the pixels matching the - RGB values of the source colour key, ignoring alpha in the - comparison. - - RGB->RGBA: - SDL_SRCALPHA set: - alpha-blend (using the source per-surface alpha value); - set destination alpha to opaque. - SDL_SRCALPHA not set: - copy RGB, set destination alpha to opaque. - both: - if SDL_SRCCOLORKEY set, only copy the pixels matching the - source colour key. - - RGBA->RGBA: - SDL_SRCALPHA set: - alpha-blend (using the source alpha channel) the RGB values; - leave destination alpha untouched. [Note: is this correct?] - SDL_SRCCOLORKEY ignored. - SDL_SRCALPHA not set: - copy all of RGBA to the destination. - if SDL_SRCCOLORKEY set, only copy the pixels matching the - RGB values of the source colour key, ignoring alpha in the - comparison. - - RGB->RGB: - SDL_SRCALPHA set: - alpha-blend (using the source per-surface alpha value). - SDL_SRCALPHA not set: - copy RGB. - both: - if SDL_SRCCOLORKEY set, only copy the pixels matching the - source colour key. - - As a special case, blits from surfaces with per-surface alpha - value of 128 (50% transparency) are optimised and much faster - than other alpha values. This does not apply to surfaces with - alpha channels (per-pixel alpha). - - New functions for manipulating the gamma of the display have - been added: - int SDL_SetGamma(float red, float green, float blue); - int SDL_SetGammaRamp(Uint8 *red, Uint8 *green, Uint8 *blue); - int SDL_GetGammaRamp(Uint8 *red, Uint8 *green, Uint8 *blue); - Gamma ramps are tables with 256 entries which map the screen color - components into actually displayed colors. For an example of - implementing gamma correction and gamma fades, see test/testgamma.c - Gamma control is not supported on all hardware. - -1.1.4: - The size of the SDL_CDtrack structure changed from 8 to 12 bytes - as the size of the length member was extended to 32 bits. - - You can now use SDL for 2D blitting with a GL mode by passing the - SDL_OPENGLBLIT flag to SDL_SetVideoMode(). You can specify 16 or - 32 bpp, and the data in the framebuffer is put into the GL scene - when you call SDL_UpdateRects(), and the scene will be visible - when you call SDL_GL_SwapBuffers(). - - Run the "testgl" test program with the -logo command line option - to see an example of this blending of 2D and 3D in SDL. - -1.1.3: - Added SDL_FreeRW() to the API, to complement SDL_AllocRW() - - Added resizable window support - just add SDL_RESIZABLE to the - SDL_SetVideoMode() flags, and then wait for SDL_VIDEORESIZE events. - See SDL_events.h for details on the new SDL_ResizeEvent structure. - - Added condition variable support, based on mutexes and semaphores. - SDL_CreateCond() - SDL_DestroyCond() - SDL_CondSignal() - SDL_CondBroadcast() - SDL_CondWait() - SDL_CondTimedWait() - The new function prototypes are in SDL_mutex.h - - Added counting semaphore support, based on the mutex primitive. - SDL_CreateSemaphore() - SDL_DestroySemaphore() - SDL_SemWait() - SDL_SemTryWait() - SDL_SemWaitTimeout() - SDL_SemPost() - SDL_SemValue() - The new function prototypes are in SDL_mutex.h - - Added support for asynchronous blitting. To take advantage of this, - you must set the SDL_ASYNCBLIT flag when setting the video mode and - creating surfaces that you want accelerated in this way. You must - lock surfaces that have this flag set, and the lock will block until - any queued blits have completed. - - Added YUV video overlay support. - The supported YUV formats are: YV12, IYUV, YUY2, UYVY, and YVYU. - This function creates an overlay surface: - SDL_CreateYUVOverlay() - You must lock and unlock the overlay to get access to the data: - SDL_LockYUVOverlay() SDL_UnlockYUVOverlay() - You can then display the overlay: - SDL_DisplayYUVOverlay() - You must free the overlay when you are done using it: - SDL_FreeYUVOverlay() - See SDL_video.h for the full function prototypes. - - The joystick hat position constants have been changed: - Old constant New constant - ------------ ------------ - 0 SDL_HAT_CENTERED - 1 SDL_HAT_UP - 2 SDL_HAT_RIGHTUP - 3 SDL_HAT_RIGHT - 4 SDL_HAT_RIGHTDOWN - 5 SDL_HAT_DOWN - 6 SDL_HAT_LEFTDOWN - 7 SDL_HAT_LEFT - 8 SDL_HAT_LEFTUP - The new constants are bitmasks, so you can check for the - individual axes like this: - if ( hat_position & SDL_HAT_UP ) { - } - and you'll catch left-up, up, and right-up. - -1.1.2: - Added multiple timer support: - SDL_AddTimer() and SDL_RemoveTimer() - - SDL_WM_SetIcon() now respects the icon colorkey if mask is NULL. - -1.1.0: - Added initial OpenGL support. - First set GL attributes (such as RGB depth, alpha depth, etc.) - SDL_GL_SetAttribute() - Then call SDL_SetVideoMode() with the SDL_OPENGL flag. - Perform all of your normal GL drawing. - Finally swap the buffers with the new SDL function: - SDL_GL_SwapBuffers() - See the new 'testgl' test program for an example of using GL with SDL. - - You can load GL extension functions by using the function: - SDL_GL_LoadProcAddress() - - Added functions to initialize and cleanup specific SDL subsystems: - SDL_InitSubSystem() and SDL_QuitSubSystem() - - Added user-defined event type: - typedef struct { - Uint8 type; - int code; - void *data1; - void *data2; - } SDL_UserEvent; - This structure is in the "user" member of an SDL_Event. - - Added a function to push events into the event queue: - SDL_PushEvent() - - Example of using the new SDL user-defined events: - { - SDL_Event event; - - event.type = SDL_USEREVENT; - event.user.code = my_event_code; - event.user.data1 = significant_data; - event.user.data2 = 0; - SDL_PushEvent(&event); - } - - Added a function to get mouse deltas since last query: - SDL_GetRelativeMouseState() - - Added a boolean datatype to SDL_types.h: - SDL_bool = { SDL_TRUE, SDL_FALSE } - - Added a function to get the current audio status: - SDL_GetAudioState(); - It returns one of: - SDL_AUDIO_STOPPED, - SDL_AUDIO_PLAYING, - SDL_AUDIO_PAUSED - - Added an AAlib driver (ASCII Art) - by Stephane Peter. - -1.0.6: - The input grab state is reset after each call to SDL_SetVideoMode(). - The input is grabbed by default in fullscreen mode, and ungrabbed in - windowed mode. If you want to set input grab to a particular value, - you should set it after each call to SDL_SetVideoMode(). - -1.0.5: - Exposed SDL_AudioInit(), SDL_VideoInit() - Added SDL_AudioDriverName() and SDL_VideoDriverName() - - Added new window manager function: - SDL_WM_ToggleFullScreen() - This is currently implemented only on Linux - - The ALT-ENTER code has been removed - it's not appropriate for a - lib to bind keys when they aren't even emergency escape sequences. - - ALT-ENTER functionality can be implemented with the following code: - - int Handle_AltEnter(const SDL_Event *event) - { - if ( event->type == SDL_KEYDOWN ) { - if ( (event->key.keysym.sym == SDLK_RETURN) && - (event->key.keysym.mod & KMOD_ALT) ) { - SDL_WM_ToggleFullScreen(SDL_GetVideoSurface()); - return(0); - } - } - return(1); - } - SDL_SetEventFilter(Handle_AltEnter); - -1.0.3: - Under X11, if you grab the input and hide the mouse cursor, - the mouse will go into a "relative motion" mode where you - will always get relative motion events no matter how far in - each direction you move the mouse - relative motion is not - bounded by the edges of the window (though the absolute values - of the mouse positions are clamped by the size of the window). - The SVGAlib, framebuffer console, and DirectInput drivers all - have this behavior naturally, and the GDI and BWindow drivers - never go into "relative motion" mode. - -1.0.2: - Added a function to enable keyboard repeat: - SDL_EnableKeyRepeat() - - Added a function to grab the mouse and keyboard input - SDL_WM_GrabInput() - - Added a function to iconify the window. - SDL_WM_IconifyWindow() - If this function succeeds, the application will receive an event - signaling SDL_APPACTIVE event - -1.0.1: - Added constants to SDL_audio.h for 16-bit native byte ordering: - AUDIO_U16SYS, AUDIO_S16SYS - -1.0.0: - New public release - -Version 0.11: - -0.11.5: - A new function SDL_GetVideoSurface() has been added, and returns - a pointer to the current display surface. - - SDL_AllocSurface() has been renamed SDL_CreateRGBSurface(), and - a new function SDL_CreateRGBSurfaceFrom() has been added to allow - creating an SDL surface from an existing pixel data buffer. - - Added SDL_GetRGB() to the headers and documentation. - -0.11.4: - SDL_SetLibraryPath() is no longer meaningful, and has been removed. - -0.11.3: - A new flag for SDL_Init(), SDL_INIT_NOPARACHUTE, prevents SDL from - installing fatal signal handlers on operating systems that support - them. - -Version 0.9: - -0.9.15: - SDL_CreateColorCursor() has been removed. Color cursors should - be implemented as sprites, blitted by the application when the - cursor moves. To get smooth color cursor updates when the app - is busy, pass the SDL_INIT_EVENTTHREAD flag to SDL_Init(). This - allows you to handle the mouse motion in another thread from an - event filter function, but is currently only supported by Linux - and BeOS. Note that you'll have to protect the display surface - from multi-threaded access by using mutexes if you do this. - - Thread-safe surface support has been removed from SDL. - This makes blitting somewhat faster, by removing SDL_MiddleBlit(). - Code that used SDL_MiddleBlit() should use SDL_LowerBlit() instead. - You can make your surfaces thread-safe by allocating your own - mutex and making lock/unlock calls around accesses to your surface. - -0.9.14: - SDL_GetMouseState() now takes pointers to int rather than Uint16. - - If you set the SDL_WINDOWID environment variable under UNIX X11, - SDL will use that as the main window instead of creating it's own. - This is an unsupported extension to SDL, and not portable at all. - -0.9.13: - Added a function SDL_SetLibraryPath() which can be used to specify - the directory containing the SDL dynamic libraries. This is useful - for commercial applications which ship with particular versions - of the libraries, and for security on multi-user systems. - If this function is not used, the default system directories are - searched using the native dynamic object loading mechanism. - - In order to support C linkage under Visual C++, you must declare - main() without any return type: - main(int argc, char *argv[]) { - /* Do the program... */ - return(0); - } - C++ programs should also return a value if compiled under VC++. - - The blit_endian member of the SDL_VideoInfo struct has been removed. - - SDL_SymToASCII() has been replaced with SDL_GetKeyName(), so there - is now no longer any function to translate a keysym to a character. - - The SDL_keysym structure has been extended with a 'scancode' and - 'unicode' member. The 'scancode' is a hardware specific scancode - for the key that was pressed, and may be 0. The 'unicode' member - is a 16-bit UNICODE translation of the key that was pressed along - with any modifiers or compose keys that have been pressed. - If no UNICODE translation exists for the key, 'unicode' will be 0. - - Added a function SDL_EnableUNICODE() to enable/disable UNICODE - translation of character keypresses. Translation defaults off. - - To convert existing code to use the new API, change code which - uses SDL_SymToASCII() to get the keyname to use SDL_GetKeyName(), - and change code which uses it to get the ASCII value of a sym to - use the 'unicode' member of the event keysym. - -0.9.12: - There is partial support for 64-bit datatypes. I don't recommend - you use this if you have a choice, because 64-bit datatypes are not - supported on many platforms. On platforms for which it is supported, - the SDL_HAS_64BIT_TYPE C preprocessor define will be enabled, and - you can use the Uint64 and Sint64 datatypes. - - Added functions to SDL_endian.h to support 64-bit datatypes: - SDL_SwapLE64(), SDL_SwapBE64(), - SDL_ReadLE64(), SDL_ReadBE64(), SDL_WriteLE64(), SDL_WriteBE64() - - A new member "len_ratio" has been added to the SDL_AudioCVT structure, - and allows you to determine either the original buffer length or the - converted buffer length, given the other. - - A new function SDL_FreeWAV() has been added to the API to free data - allocated by SDL_LoadWAV_RW(). This is necessary under Win32 since - the gcc compiled DLL uses a different heap than VC++ compiled apps. - - SDL now has initial support for international keyboards using the - Latin character set. - If a particular mapping is desired, you can set the DEFAULT_KEYBOARD - compile-time variable, or you can set the environment variable - "SDL_KEYBOARD" to a string identifying the keyboard mapping you desire. - The valid values for these variables can be found in SDL_keyboard.c - - Full support for German and French keyboards under X11 is implemented. - -0.9.11: - The THREADED_EVENTS compile-time define has been replaced with the - SDL_INIT_EVENTTHREAD flag. If this flag is passed to SDL_Init(), - SDL will create a separate thread to perform input event handling. - If this flag is passed to SDL_Init(), and the OS doesn't support - event handling in a separate thread, SDL_Init() will fail. - Be sure to add calls to SDL_Delay() in your main thread to allow - the OS to schedule your event thread, or it may starve, leading - to slow event delivery and/or dropped events. - Currently MacOS and Win32 do not support this flag, while BeOS - and Linux do support it. I recommend that your application only - use this flag if absolutely necessary. - - The SDL thread function passed to SDL_CreateThread() now returns a - status. This status can be retrieved by passing a non-NULL pointer - as the 'status' argument to SDL_WaitThread(). - - The volume parameter to SDL_MixAudio() has been increased in range - from (0-8) to (0-128) - - SDL now has a data source abstraction which can encompass a file, - an area of memory, or any custom object you can envision. It uses - these abstractions, SDL_RWops, in the endian read/write functions, - and the built-in WAV and BMP file loaders. This means you can load - WAV chunks from memory mapped files, compressed archives, network - pipes, or anything else that has a data read abstraction. - - There are three built-in data source abstractions: - SDL_RWFromFile(), SDL_RWFromFP(), SDL_RWFromMem() - along with a generic data source allocation function: - SDL_AllocRW() - These data sources can be used like stdio file pointers with the - following convenience functions: - SDL_RWseek(), SDL_RWread(), SDL_RWwrite(), SDL_RWclose() - These functions are defined in the new header file "SDL_rwops.h" - - The endian swapping functions have been turned into macros for speed - and SDL_CalculateEndian() has been removed. SDL_endian.h now defines - SDL_BYTEORDER as either SDL_BIG_ENDIAN or SDL_LIL_ENDIAN depending on - the endianness of the host system. - - The endian read/write functions now take an SDL_RWops pointer - instead of a stdio FILE pointer, to support the new data source - abstraction. - - The SDL_*LoadWAV() functions have been replaced with a single - SDL_LoadWAV_RW() function that takes a SDL_RWops pointer as it's - first parameter, and a flag whether or not to automatically - free it as the second parameter. SDL_LoadWAV() is a macro for - backward compatibility and convenience: - SDL_LoadWAV_RW(SDL_RWFromFile("sample.wav", "rb"), 1, ...); - - The SDL_*LoadBMP()/SDL_*SaveBMP() functions have each been replaced - with a single function that takes a SDL_RWops pointer as it's - first parameter, and a flag whether or not to automatically - free it as the second parameter. SDL_LoadBMP() and SDL_SaveBMP() - are macros for backward compatibility and convenience: - SDL_LoadBMP_RW(SDL_RWFromFile("sample.bmp", "rb"), 1, ...); - SDL_SaveBMP_RW(SDL_RWFromFile("sample.bmp", "wb"), 1, ...); - Note that these functions use SDL_RWseek() extensively, and should - not be used on pipes or other non-seekable data sources. - -0.9.10: - The Linux SDL_SysWMInfo and SDL_SysWMMsg structures have been - extended to support multiple types of display drivers, as well as - safe access to the X11 display when THREADED_EVENTS is enabled. - The new structures are documented in the SDL_syswm.h header file. - - Thanks to John Elliott , the UK keyboard - should now work properly, as well as the "Windows" keys on US - keyboards. - - The Linux CD-ROM code now reads the CD-ROM devices from /etc/fstab - instead of trying to open each block device on the system. - The CD must be listed in /etc/fstab as using the iso9660 filesystem. - - On Linux, if you define THREADED_EVENTS at compile time, a separate - thread will be spawned to gather X events asynchronously from the - graphics updates. This hasn't been extensively tested, but it does - provide a means of handling keyboard and mouse input in a separate - thread from the graphics thread. (This is now enabled by default.) - - A special access function SDL_PeepEvents() allows you to manipulate - the event queue in a thread-safe manner, including peeking at events, - removing events of a specified type, and adding new events of arbitrary - type to the queue (use the new 'user' member of the SDL_Event type). - - If you use SDL_PeepEvents() to gather events, then the main graphics - thread needs to call SDL_PumpEvents() periodically to drive the event - loop and generate input events. This is not necessary if SDL has been - compiled with THREADED_EVENTS defined, but doesn't hurt. - - A new function SDL_ThreadID() returns the identifier associated with - the current thread. - -0.9.9: - The AUDIO_STEREO format flag has been replaced with a new 'channels' - member of the SDL_AudioSpec structure. The channels are 1 for mono - audio, and 2 for stereo audio. In the future more channels may be - supported for 3D surround sound. - - The SDL_MixAudio() function now takes an additional volume parameter, - which should be set to SDL_MIX_MAXVOLUME for compatibility with the - original function. - - The CD-ROM functions which take a 'cdrom' parameter can now be - passed NULL, and will act on the last successfully opened CD-ROM. - -0.9.8: - No changes, bugfixes only. - -0.9.7: - No changes, bugfixes only. - -0.9.6: - Added a fast rectangle fill function: SDL_FillRect() - - Addition of a useful function for getting info on the video hardware: - const SDL_VideoInfo *SDL_GetVideoInfo(void) - This function replaces SDL_GetDisplayFormat(). - - Initial support for double-buffering: - Use the SDL_DOUBLEBUF flag in SDL_SetVideoMode() - Update the screen with a new function: SDL_Flip() - - SDL_AllocSurface() takes two new flags: - SDL_SRCCOLORKEY means that the surface will be used for colorkey blits - and if the hardware supports hardware acceleration of colorkey blits - between two surfaces in video memory, to place the surface in video - memory if possible, otherwise it will be placed in system memory. - SDL_SRCALPHA means that the surface will be used for alpha blits and - if the hardware supports hardware acceleration of alpha blits between - two surfaces in video memory, to place the surface in video memory - if possible, otherwise it will be placed in system memory. - SDL_HWSURFACE now means that the surface will be created with the - same format as the display surface, since having surfaces in video - memory is only useful for fast blitting to the screen, and you can't - blit surfaces with different surface formats in video memory. - -0.9.5: - You can now pass a NULL mask to SDL_WM_SetIcon(), and it will assume - that the icon consists of the entire image. - - SDL_LowerBlit() is back -- but don't use it on the display surface. - It is exactly the same as SDL_MiddleBlit(), but doesn't check for - thread safety. - - Added SDL_FPLoadBMP(), SDL_FPSaveBMP(), SDL_FPLoadWAV(), which take - a FILE pointer instead of a file name. - - Added CD-ROM audio control API: - SDL_CDNumDrives() - SDL_CDName() - SDL_CDOpen() - SDL_CDStatus() - SDL_CDPlayTracks() - SDL_CDPlay() - SDL_CDPause() - SDL_CDResume() - SDL_CDStop() - SDL_CDEject() - SDL_CDClose() - -0.9.4: - No changes, bugfixes only. - -0.9.3: - Mouse motion event now includes relative motion information: - Sint16 event->motion.xrel, Sint16 event->motion.yrel - - X11 keyrepeat handling can be disabled by defining IGNORE_X_KEYREPEAT - (Add -DIGNORE_X_KEYREPEAT to CFLAGS line in obj/x11Makefile) - -0.9.2: - No changes, bugfixes only. - -0.9.1: - Removed SDL_MapSurface() and SDL_UnmapSurface() -- surfaces are now - automatically mapped on blit. - -0.8.0: - SDL stable release diff --git a/Externals/SDL/Xcode.tar.gz b/Externals/SDL/Xcode.tar.gz deleted file mode 100644 index b18e74ef6f..0000000000 Binary files a/Externals/SDL/Xcode.tar.gz and /dev/null differ diff --git a/Externals/SDL/acinclude/alsa.m4 b/Externals/SDL/acinclude/alsa.m4 deleted file mode 100644 index d818e70dbb..0000000000 --- a/Externals/SDL/acinclude/alsa.m4 +++ /dev/null @@ -1,145 +0,0 @@ -############################################################################## -dnl Configure Paths for Alsa -dnl Some modifications by Richard Boulton -dnl Christopher Lansdown -dnl Jaroslav Kysela -dnl Last modification: alsa.m4,v 1.23 2004/01/16 18:14:22 tiwai Exp -dnl AM_PATH_ALSA([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for libasound, and define ALSA_CFLAGS and ALSA_LIBS as appropriate. -dnl enables arguments --with-alsa-prefix= -dnl --with-alsa-enc-prefix= -dnl --disable-alsatest -dnl -dnl For backwards compatibility, if ACTION_IF_NOT_FOUND is not specified, -dnl and the alsa libraries are not found, a fatal AC_MSG_ERROR() will result. -dnl -AC_DEFUN([AM_PATH_ALSA], -[dnl Save the original CFLAGS, LDFLAGS, and LIBS -alsa_save_CFLAGS="$CFLAGS" -alsa_save_LDFLAGS="$LDFLAGS" -alsa_save_LIBS="$LIBS" -alsa_found=yes - -dnl -dnl Get the cflags and libraries for alsa -dnl -AC_ARG_WITH(alsa-prefix, -[ --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)], -[alsa_prefix="$withval"], [alsa_prefix=""]) - -AC_ARG_WITH(alsa-inc-prefix, -[ --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)], -[alsa_inc_prefix="$withval"], [alsa_inc_prefix=""]) - -dnl FIXME: this is not yet implemented -AC_ARG_ENABLE(alsatest, -[ --disable-alsatest Do not try to compile and run a test Alsa program], -[enable_alsatest="$enableval"], -[enable_alsatest=yes]) - -dnl Add any special include directories -AC_MSG_CHECKING(for ALSA CFLAGS) -if test "$alsa_inc_prefix" != "" ; then - ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" - CFLAGS="$CFLAGS -I$alsa_inc_prefix" -fi -AC_MSG_RESULT($ALSA_CFLAGS) - -dnl add any special lib dirs -AC_MSG_CHECKING(for ALSA LDFLAGS) -if test "$alsa_prefix" != "" ; then - ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" - LDFLAGS="$LDFLAGS $ALSA_LIBS" -fi - -dnl add the alsa library -ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" -LIBS=`echo $LIBS | sed 's/-lm//'` -LIBS=`echo $LIBS | sed 's/-ldl//'` -LIBS=`echo $LIBS | sed 's/-lpthread//'` -LIBS=`echo $LIBS | sed 's/ //'` -LIBS="$ALSA_LIBS $LIBS" -AC_MSG_RESULT($ALSA_LIBS) - -dnl Check for a working version of libasound that is of the right version. -min_alsa_version=ifelse([$1], ,0.1.1,$1) -AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version) -no_alsa="" - alsa_min_major_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - alsa_min_minor_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - alsa_min_micro_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - -AC_LANG_SAVE -AC_LANG_C -AC_TRY_COMPILE([ -#include -], [ -/* ensure backward compatibility */ -#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) -#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR -#endif -#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) -#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR -#endif -#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) -#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR -#endif - -# if(SND_LIB_MAJOR > $alsa_min_major_version) - exit(0); -# else -# if(SND_LIB_MAJOR < $alsa_min_major_version) -# error not present -# endif - -# if(SND_LIB_MINOR > $alsa_min_minor_version) - exit(0); -# else -# if(SND_LIB_MINOR < $alsa_min_minor_version) -# error not present -# endif - -# if(SND_LIB_SUBMINOR < $alsa_min_micro_version) -# error not present -# endif -# endif -# endif -exit(0); -], - [AC_MSG_RESULT(found.)], - [AC_MSG_RESULT(not present.) - ifelse([$3], , [AC_MSG_ERROR(Sufficiently new version of libasound not found.)]) - alsa_found=no] -) -AC_LANG_RESTORE - -dnl Now that we know that we have the right version, let's see if we have the library and not just the headers. -if test "x$enable_alsatest" = "xyes"; then -AC_CHECK_LIB([asound], [snd_ctl_open],, - [ifelse([$3], , [AC_MSG_ERROR(No linkable libasound was found.)]) - alsa_found=no] -) -fi - -if test "x$alsa_found" = "xyes" ; then - ifelse([$2], , :, [$2]) - LIBS=`echo $LIBS | sed 's/-lasound//g'` - LIBS=`echo $LIBS | sed 's/ //'` - LIBS="-lasound $LIBS" -fi -if test "x$alsa_found" = "xno" ; then - ifelse([$3], , :, [$3]) - CFLAGS="$alsa_save_CFLAGS" - LDFLAGS="$alsa_save_LDFLAGS" - LIBS="$alsa_save_LIBS" - ALSA_CFLAGS="" - ALSA_LIBS="" -fi - -dnl That should be it. Now just export out symbols: -AC_SUBST(ALSA_CFLAGS) -AC_SUBST(ALSA_LIBS) -]) diff --git a/Externals/SDL/acinclude/esd.m4 b/Externals/SDL/acinclude/esd.m4 deleted file mode 100644 index 58d64a9048..0000000000 --- a/Externals/SDL/acinclude/esd.m4 +++ /dev/null @@ -1,168 +0,0 @@ -############################################################################## -# -# --- esd.m4 --- -# -# Configure paths for ESD -# Manish Singh 98-9-30 -# stolen back from Frank Belew -# stolen from Manish Singh -# Shamelessly stolen from Owen Taylor - -dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS -dnl -AC_DEFUN([AM_PATH_ESD], -[dnl -dnl Get the cflags and libraries from the esd-config script -dnl -AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)], - esd_prefix="$withval", esd_prefix="") -AC_ARG_WITH(esd-exec-prefix,[ --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)], - esd_exec_prefix="$withval", esd_exec_prefix="") -AC_ARG_ENABLE(esdtest, [ --disable-esdtest Do not try to compile and run a test ESD program], - , enable_esdtest=yes) - - if test x$esd_exec_prefix != x ; then - esd_args="$esd_args --exec-prefix=$esd_exec_prefix" - if test x${ESD_CONFIG+set} != xset ; then - ESD_CONFIG=$esd_exec_prefix/bin/esd-config - fi - fi - if test x$esd_prefix != x ; then - esd_args="$esd_args --prefix=$esd_prefix" - if test x${ESD_CONFIG+set} != xset ; then - ESD_CONFIG=$esd_prefix/bin/esd-config - fi - fi - - AC_PATH_PROG(ESD_CONFIG, esd-config, no) - min_esd_version=ifelse([$1], ,0.2.7,$1) - AC_MSG_CHECKING(for ESD - version >= $min_esd_version) - no_esd="" - if test "$ESD_CONFIG" = "no" ; then - no_esd=yes - else - ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags` - ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs` - - esd_major_version=`$ESD_CONFIG $esd_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - esd_minor_version=`$ESD_CONFIG $esd_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_esdtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $ESD_CFLAGS" - LIBS="$LIBS $ESD_LIBS" -dnl -dnl Now check if the installed ESD is sufficiently new. (Also sanity -dnl checks the results of esd-config to some extent -dnl - rm -f conf.esdtest - AC_TRY_RUN([ -#include -#include -#include -#include - -char* -my_strdup (char *str) -{ - char *new_str; - - if (str) - { - new_str = malloc ((strlen (str) + 1) * sizeof(char)); - strcpy (new_str, str); - } - else - new_str = NULL; - - return new_str; -} - -int main () -{ - int major, minor, micro; - char *tmp_version; - - system ("touch conf.esdtest"); - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = my_strdup("$min_esd_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_esd_version"); - exit(1); - } - - if (($esd_major_version > major) || - (($esd_major_version == major) && ($esd_minor_version > minor)) || - (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version); - printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro); - printf("*** best to upgrade to the required version.\n"); - printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n"); - printf("*** to point to the correct copy of esd-config, and remove the file\n"); - printf("*** config.cache before re-running configure\n"); - return 1; - } -} - -],, no_esd=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_esd" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$ESD_CONFIG" = "no" ; then - echo "*** The esd-config script installed by ESD could not be found" - echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the ESD_CONFIG environment variable to the" - echo "*** full path to esd-config." - else - if test -f conf.esdtest ; then - : - else - echo "*** Could not run ESD test program, checking why..." - CFLAGS="$CFLAGS $ESD_CFLAGS" - LIBS="$LIBS $ESD_LIBS" - AC_TRY_LINK([ -#include -#include -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding ESD or finding the wrong" - echo "*** version of ESD. If it is not finding ESD, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means ESD was incorrectly installed" - echo "*** or that you have moved ESD since it was installed. In the latter case, you" - echo "*** may want to edit the esd-config script: $ESD_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - ESD_CFLAGS="" - ESD_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(ESD_CFLAGS) - AC_SUBST(ESD_LIBS) - rm -f conf.esdtest -]) diff --git a/Externals/SDL/acinclude/libtool.m4 b/Externals/SDL/acinclude/libtool.m4 deleted file mode 100644 index 6894db826b..0000000000 --- a/Externals/SDL/acinclude/libtool.m4 +++ /dev/null @@ -1,7370 +0,0 @@ -############################################################################## -# Based on libtool-2.2.6a -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- -# -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -m4_define([_LT_COPYING], [dnl -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. -# Written by Gordon Matzigkeit, 1996 -# -# This file is part of GNU Libtool. -# -# GNU Libtool is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of -# the License, or (at your option) any later version. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -# obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -]) - -# serial 56 LT_INIT - - -# LT_PREREQ(VERSION) -# ------------------ -# Complain and exit if this libtool version is less that VERSION. -m4_defun([LT_PREREQ], -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, - [m4_default([$3], - [m4_fatal([Libtool version $1 or higher is required], - 63)])], - [$2])]) - - -# _LT_CHECK_BUILDDIR -# ------------------ -# Complain if the absolute build directory name contains unusual characters -m4_defun([_LT_CHECK_BUILDDIR], -[case `pwd` in - *\ * | *\ *) - AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; -esac -]) - - -# LT_INIT([OPTIONS]) -# ------------------ -AC_DEFUN([LT_INIT], -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT -AC_BEFORE([$0], [LT_LANG])dnl -AC_BEFORE([$0], [LT_OUTPUT])dnl -AC_BEFORE([$0], [LTDL_INIT])dnl -m4_require([_LT_CHECK_BUILDDIR])dnl - -dnl Autoconf doesn't catch unexpanded LT_ macros by default: -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 -dnl unless we require an AC_DEFUNed macro: -AC_REQUIRE([LTOPTIONS_VERSION])dnl -AC_REQUIRE([LTSUGAR_VERSION])dnl -AC_REQUIRE([LTVERSION_VERSION])dnl -AC_REQUIRE([LTOBSOLETE_VERSION])dnl -m4_require([_LT_PROG_LTMAIN])dnl - -dnl Parse OPTIONS -_LT_SET_OPTIONS([$0], [$1]) - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ltmain" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' -AC_SUBST(LIBTOOL)dnl - -_LT_SETUP - -# Only expand once: -m4_define([LT_INIT]) -])# LT_INIT - -# Old names: -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_PROG_LIBTOOL], []) -dnl AC_DEFUN([AM_PROG_LIBTOOL], []) - - -# _LT_CC_BASENAME(CC) -# ------------------- -# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. -m4_defun([_LT_CC_BASENAME], -[for cc_temp in $1""; do - case $cc_temp in - compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; - distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` -]) - - -# _LT_FILEUTILS_DEFAULTS -# ---------------------- -# It is okay to use these file commands and assume they have been set -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. -m4_defun([_LT_FILEUTILS_DEFAULTS], -[: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} -])# _LT_FILEUTILS_DEFAULTS - - -# _LT_SETUP -# --------- -m4_defun([_LT_SETUP], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -_LT_DECL([], [host_alias], [0], [The host system])dnl -_LT_DECL([], [host], [0])dnl -_LT_DECL([], [host_os], [0])dnl -dnl -_LT_DECL([], [build_alias], [0], [The build system])dnl -_LT_DECL([], [build], [0])dnl -_LT_DECL([], [build_os], [0])dnl -dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_PATH_LD])dnl -AC_REQUIRE([LT_PATH_NM])dnl -dnl -AC_REQUIRE([AC_PROG_LN_S])dnl -test -z "$LN_S" && LN_S="ln -s" -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl -dnl -AC_REQUIRE([LT_CMD_MAX_LEN])dnl -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl -dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_CHECK_SHELL_FEATURES])dnl -m4_require([_LT_CMD_RELOAD])dnl -m4_require([_LT_CHECK_MAGIC_METHOD])dnl -m4_require([_LT_CMD_OLD_ARCHIVE])dnl -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl - -_LT_CONFIG_LIBTOOL_INIT([ -# See if we are running on zsh, and set the options which allow our -# commands through without removal of \ escapes INIT. -if test -n "\${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi -]) -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - -_LT_CHECK_OBJDIR - -m4_require([_LT_TAG_COMPILER])dnl -_LT_PROG_ECHO_BACKSLASH - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\([["`\\]]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld="$lt_cv_prog_gnu_ld" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -_LT_CC_BASENAME([$compiler]) - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - _LT_PATH_MAGIC - fi - ;; -esac - -# Use C for the default configuration in the libtool script -LT_SUPPORTED_TAG([CC]) -_LT_LANG_C_CONFIG -_LT_LANG_DEFAULT_CONFIG -_LT_CONFIG_COMMANDS -])# _LT_SETUP - - -# _LT_PROG_LTMAIN -# --------------- -# Note that this code is called both from `configure', and `config.status' -# now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, -# `config.status' has no value for ac_aux_dir unless we are using Automake, -# so we pass a copy along to make sure it has a sensible value anyway. -m4_defun([_LT_PROG_LTMAIN], -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) -ltmain="$ac_aux_dir/ltmain.sh" -])# _LT_PROG_LTMAIN - - -## ------------------------------------- ## -## Accumulate code for creating libtool. ## -## ------------------------------------- ## - -# So that we can recreate a full libtool script including additional -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS -# in macros and then make a single call at the end using the `libtool' -# label. - - -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) -# ---------------------------------------- -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. -m4_define([_LT_CONFIG_LIBTOOL_INIT], -[m4_ifval([$1], - [m4_append([_LT_OUTPUT_LIBTOOL_INIT], - [$1 -])])]) - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_INIT]) - - -# _LT_CONFIG_LIBTOOL([COMMANDS]) -# ------------------------------ -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. -m4_define([_LT_CONFIG_LIBTOOL], -[m4_ifval([$1], - [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], - [$1 -])])]) - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) - - -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) -# ----------------------------------------------------- -m4_defun([_LT_CONFIG_SAVE_COMMANDS], -[_LT_CONFIG_LIBTOOL([$1]) -_LT_CONFIG_LIBTOOL_INIT([$2]) -]) - - -# _LT_FORMAT_COMMENT([COMMENT]) -# ----------------------------- -# Add leading comment marks to the start of each line, and a trailing -# full-stop to the whole comment if one is not present already. -m4_define([_LT_FORMAT_COMMENT], -[m4_ifval([$1], [ -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], - [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) -)]) - - - -## ------------------------ ## -## FIXME: Eliminate VARNAME ## -## ------------------------ ## - - -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) -# ------------------------------------------------------------------- -# CONFIGNAME is the name given to the value in the libtool script. -# VARNAME is the (base) name used in the configure script. -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on -# VARNAME. Any other value will be used directly. -m4_define([_LT_DECL], -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ], - [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], - [m4_ifval([$1], [$1], [$2])]) - lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) - m4_ifval([$4], - [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) - lt_dict_add_subkey([lt_decl_dict], [$2], - [tagged?], [m4_ifval([$5], [yes], [no])])]) -]) - - -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) -# -------------------------------------------------------- -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) - - -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) -# ------------------------------------------------ -m4_define([lt_decl_tag_varnames], -[_lt_decl_filter([tagged?], [yes], $@)]) - - -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) -# --------------------------------------------------------- -m4_define([_lt_decl_filter], -[m4_case([$#], - [0], [m4_fatal([$0: too few arguments: $#])], - [1], [m4_fatal([$0: too few arguments: $#: $1])], - [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], - [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], - [lt_dict_filter([lt_decl_dict], $@)])[]dnl -]) - - -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) -# -------------------------------------------------- -m4_define([lt_decl_quote_varnames], -[_lt_decl_filter([value], [1], $@)]) - - -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) -# --------------------------------------------------- -m4_define([lt_decl_dquote_varnames], -[_lt_decl_filter([value], [2], $@)]) - - -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) -# --------------------------------------------------- -m4_define([lt_decl_varnames_tagged], -[m4_assert([$# <= 2])dnl -_$0(m4_quote(m4_default([$1], [[, ]])), - m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), - m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) -m4_define([_lt_decl_varnames_tagged], -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) - - -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) -# ------------------------------------------------ -m4_define([lt_decl_all_varnames], -[_$0(m4_quote(m4_default([$1], [[, ]])), - m4_if([$2], [], - m4_quote(lt_decl_varnames), - m4_quote(m4_shift($@))))[]dnl -]) -m4_define([_lt_decl_all_varnames], -[lt_join($@, lt_decl_varnames_tagged([$1], - lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl -]) - - -# _LT_CONFIG_STATUS_DECLARE([VARNAME]) -# ------------------------------------ -# Quote a variable value, and forward it to `config.status' so that its -# declaration there will have the same value as in `configure'. VARNAME -# must have a single quote delimited value for this to work. -m4_define([_LT_CONFIG_STATUS_DECLARE], -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) - - -# _LT_CONFIG_STATUS_DECLARATIONS -# ------------------------------ -# We delimit libtool config variables with single quotes, so when -# we write them to config.status, we have to be sure to quote all -# embedded single quotes properly. In configure, this macro expands -# each variable declared with _LT_DECL (and _LT_TAGDECL) into: -# -# ='`$ECHO "X$" | $Xsed -e "$delay_single_quote_subst"`' -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), - [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) - - -# _LT_LIBTOOL_TAGS -# ---------------- -# Output comment and list of tags supported by the script -m4_defun([_LT_LIBTOOL_TAGS], -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl -available_tags="_LT_TAGS"dnl -]) - - -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) -# ----------------------------------- -# Extract the dictionary values for VARNAME (optionally with TAG) and -# expand to a commented shell variable setting: -# -# # Some comment about what VAR is for. -# visible_name=$lt_internal_name -m4_define([_LT_LIBTOOL_DECLARE], -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], - [description])))[]dnl -m4_pushdef([_libtool_name], - m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), - [0], [_libtool_name=[$]$1], - [1], [_libtool_name=$lt_[]$1], - [2], [_libtool_name=$lt_[]$1], - [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl -]) - - -# _LT_LIBTOOL_CONFIG_VARS -# ----------------------- -# Produce commented declarations of non-tagged libtool config variables -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool' -# script. Tagged libtool config variables (even for the LIBTOOL CONFIG -# section) are produced by _LT_LIBTOOL_TAG_VARS. -m4_defun([_LT_LIBTOOL_CONFIG_VARS], -[m4_foreach([_lt_var], - m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) - - -# _LT_LIBTOOL_TAG_VARS(TAG) -# ------------------------- -m4_define([_LT_LIBTOOL_TAG_VARS], -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), - [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) - - -# _LT_TAGVAR(VARNAME, [TAGNAME]) -# ------------------------------ -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) - - -# _LT_CONFIG_COMMANDS -# ------------------- -# Send accumulated output to $CONFIG_STATUS. Thanks to the lists of -# variables for single and double quote escaping we saved from calls -# to _LT_DECL, we can put quote escaped variables declarations -# into `config.status', and then the shell code to quote escape them in -# for loops in `config.status'. Finally, any additional code accumulated -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. -m4_defun([_LT_CONFIG_COMMANDS], -[AC_PROVIDE_IFELSE([LT_OUTPUT], - dnl If the libtool generation code has been placed in $CONFIG_LT, - dnl instead of duplicating it all over again into config.status, - dnl then we will have config.status run $CONFIG_LT later, so it - dnl needs to know what name is stored there: - [AC_CONFIG_COMMANDS([libtool], - [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], - dnl If the libtool generation code is destined for config.status, - dnl expand the accumulated commands and init code now: - [AC_CONFIG_COMMANDS([libtool], - [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) -])#_LT_CONFIG_COMMANDS - - -# Initialize. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], -[ - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -sed_quote_subst='$sed_quote_subst' -double_quote_subst='$double_quote_subst' -delay_variable_subst='$delay_variable_subst' -_LT_CONFIG_STATUS_DECLARATIONS -LTCC='$LTCC' -LTCFLAGS='$LTCFLAGS' -compiler='$compiler_DEFAULT' - -# Quote evaled strings. -for var in lt_decl_all_varnames([[ \ -]], lt_decl_quote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Double-quote double-evaled strings. -for var in lt_decl_all_varnames([[ \ -]], lt_decl_dquote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in - *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" - ;; - *) - eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" - ;; - esac -done - -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\[$]0 --fallback-echo"')dnl " - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` - ;; -esac - -_LT_OUTPUT_LIBTOOL_INIT -]) - - -# LT_OUTPUT -# --------- -# This macro allows early generation of the libtool script (before -# AC_OUTPUT is called), incase it is used in configure for compilation -# tests. -AC_DEFUN([LT_OUTPUT], -[: ${CONFIG_LT=./config.lt} -AC_MSG_NOTICE([creating $CONFIG_LT]) -cat >"$CONFIG_LT" <<_LTEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate a libtool stub with the current configuration. - -lt_cl_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_LTEOF - -cat >>"$CONFIG_LT" <<\_LTEOF -AS_SHELL_SANITIZE -_AS_PREPARE - -exec AS_MESSAGE_FD>&1 -exec AS_MESSAGE_LOG_FD>>config.log -{ - echo - AS_BOX([Running $as_me.]) -} >&AS_MESSAGE_LOG_FD - -lt_cl_help="\ -\`$as_me' creates a local libtool stub from the current configuration, -for use in further configure time tests before the real libtool is -generated. - -Usage: $[0] [[OPTIONS]] - - -h, --help print this help, then exit - -V, --version print version number, then exit - -q, --quiet do not print progress messages - -d, --debug don't remove temporary files - -Report bugs to ." - -lt_cl_version="\ -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) -configured by $[0], generated by m4_PACKAGE_STRING. - -Copyright (C) 2008 Free Software Foundation, Inc. -This config.lt script is free software; the Free Software Foundation -gives unlimited permision to copy, distribute and modify it." - -while test $[#] != 0 -do - case $[1] in - --version | --v* | -V ) - echo "$lt_cl_version"; exit 0 ;; - --help | --h* | -h ) - echo "$lt_cl_help"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --quiet | --q* | --silent | --s* | -q ) - lt_cl_silent=: ;; - - -*) AC_MSG_ERROR([unrecognized option: $[1] -Try \`$[0] --help' for more information.]) ;; - - *) AC_MSG_ERROR([unrecognized argument: $[1] -Try \`$[0] --help' for more information.]) ;; - esac - shift -done - -if $lt_cl_silent; then - exec AS_MESSAGE_FD>/dev/null -fi -_LTEOF - -cat >>"$CONFIG_LT" <<_LTEOF -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT -_LTEOF - -cat >>"$CONFIG_LT" <<\_LTEOF -AC_MSG_NOTICE([creating $ofile]) -_LT_OUTPUT_LIBTOOL_COMMANDS -AS_EXIT(0) -_LTEOF -chmod +x "$CONFIG_LT" - -# configure is writing to config.log, but config.lt does its own redirection, -# appending to config.log, which fails on DOS, as config.log is still kept -# open by configure. Here we exec the FD to /dev/null, effectively closing -# config.log, so it can be properly (re)opened and appended to by config.lt. -if test "$no_create" != yes; then - lt_cl_success=: - test "$silent" = yes && - lt_config_lt_args="$lt_config_lt_args --quiet" - exec AS_MESSAGE_LOG_FD>/dev/null - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false - exec AS_MESSAGE_LOG_FD>>config.log - $lt_cl_success || AS_EXIT(1) -fi -])# LT_OUTPUT - - -# _LT_CONFIG(TAG) -# --------------- -# If TAG is the built-in tag, create an initial libtool script with a -# default configuration from the untagged config vars. Otherwise add code -# to config.status for appending the configuration named by TAG from the -# matching tagged config vars. -m4_defun([_LT_CONFIG], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -_LT_CONFIG_SAVE_COMMANDS([ - m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl - m4_if(_LT_TAG, [C], [ - # See if we are running on zsh, and set the options which allow our - # commands through without removal of \ escapes. - if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST - fi - - cfgfile="${ofile}T" - trap "$RM \"$cfgfile\"; exit 1" 1 2 15 - $RM "$cfgfile" - - cat <<_LT_EOF >> "$cfgfile" -#! $SHELL - -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# NOTE: Changes made to this file will be lost: look at ltmain.sh. -# -_LT_COPYING -_LT_LIBTOOL_TAGS - -# ### BEGIN LIBTOOL CONFIG -_LT_LIBTOOL_CONFIG_VARS -_LT_LIBTOOL_TAG_VARS -# ### END LIBTOOL CONFIG - -_LT_EOF - - case $host_os in - aix3*) - cat <<\_LT_EOF >> "$cfgfile" -# AIX sometimes has problems with the GCC collect2 program. For some -# reason, if we set the COLLECT_NAMES environment variable, the problems -# vanish in a puff of smoke. -if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES -fi -_LT_EOF - ;; - esac - - _LT_PROG_LTMAIN - - # We use sed instead of cat because bash on DJGPP gets confused if - # if finds mixed CR/LF and LF-only lines. Since sed operates in - # text mode, it properly converts lines to CR/LF. This bash problem - # is reportedly fixed, but why not run on old versions too? - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - _LT_PROG_XSI_SHELLFNS - - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || - (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") - chmod +x "$ofile" -], -[cat <<_LT_EOF >> "$ofile" - -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded -dnl in a comment (ie after a #). -# ### BEGIN LIBTOOL TAG CONFIG: $1 -_LT_LIBTOOL_TAG_VARS(_LT_TAG) -# ### END LIBTOOL TAG CONFIG: $1 -_LT_EOF -])dnl /m4_if -], -[m4_if([$1], [], [ - PACKAGE='$PACKAGE' - VERSION='$VERSION' - TIMESTAMP='$TIMESTAMP' - RM='$RM' - ofile='$ofile'], []) -])dnl /_LT_CONFIG_SAVE_COMMANDS -])# _LT_CONFIG - - -# LT_SUPPORTED_TAG(TAG) -# --------------------- -# Trace this macro to discover what tags are supported by the libtool -# --tag option, using: -# autoconf --trace 'LT_SUPPORTED_TAG:$1' -AC_DEFUN([LT_SUPPORTED_TAG], []) - - -# C support is built-in for now -m4_define([_LT_LANG_C_enabled], []) -m4_define([_LT_TAGS], []) - - -# LT_LANG(LANG) -# ------------- -# Enable libtool support for the given language if not already enabled. -AC_DEFUN([LT_LANG], -[AC_BEFORE([$0], [LT_OUTPUT])dnl -m4_case([$1], - [C], [_LT_LANG(C)], - [C++], [_LT_LANG(CXX)], - [Java], [_LT_LANG(GCJ)], - [Fortran 77], [_LT_LANG(F77)], - [Fortran], [_LT_LANG(FC)], - [Windows Resource], [_LT_LANG(RC)], - [m4_ifdef([_LT_LANG_]$1[_CONFIG], - [_LT_LANG($1)], - [m4_fatal([$0: unsupported language: "$1"])])])dnl -])# LT_LANG - - -# _LT_LANG(LANGNAME) -# ------------------ -m4_defun([_LT_LANG], -[m4_ifdef([_LT_LANG_]$1[_enabled], [], - [LT_SUPPORTED_TAG([$1])dnl - m4_append([_LT_TAGS], [$1 ])dnl - m4_define([_LT_LANG_]$1[_enabled], [])dnl - _LT_LANG_$1_CONFIG($1)])dnl -])# _LT_LANG - - -# _LT_LANG_DEFAULT_CONFIG -# ----------------------- -m4_defun([_LT_LANG_DEFAULT_CONFIG], -[AC_PROVIDE_IFELSE([AC_PROG_CXX], - [LT_LANG(CXX)], - [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) - -AC_PROVIDE_IFELSE([AC_PROG_F77], - [LT_LANG(F77)], - [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) - -AC_PROVIDE_IFELSE([AC_PROG_FC], - [LT_LANG(FC)], - [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) - -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal -dnl pulling things in needlessly. -AC_PROVIDE_IFELSE([AC_PROG_GCJ], - [LT_LANG(GCJ)], - [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], - [LT_LANG(GCJ)], - [AC_PROVIDE_IFELSE([LT_PROG_GCJ], - [LT_LANG(GCJ)], - [m4_ifdef([AC_PROG_GCJ], - [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) - m4_ifdef([A][M_PROG_GCJ], - [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) - m4_ifdef([LT_PROG_GCJ], - [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) - -AC_PROVIDE_IFELSE([LT_PROG_RC], - [LT_LANG(RC)], - [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) -])# _LT_LANG_DEFAULT_CONFIG - -# Obsolete macros: -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_CXX], []) -dnl AC_DEFUN([AC_LIBTOOL_F77], []) -dnl AC_DEFUN([AC_LIBTOOL_FC], []) -dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) - - -# _LT_TAG_COMPILER -# ---------------- -m4_defun([_LT_TAG_COMPILER], -[AC_REQUIRE([AC_PROG_CC])dnl - -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC -])# _LT_TAG_COMPILER - - -# _LT_COMPILER_BOILERPLATE -# ------------------------ -# Check for compiler boilerplate output or warnings with -# the simple compiler test code. -m4_defun([_LT_COMPILER_BOILERPLATE], -[m4_require([_LT_DECL_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* -])# _LT_COMPILER_BOILERPLATE - - -# _LT_LINKER_BOILERPLATE -# ---------------------- -# Check for linker boilerplate output or warnings with -# the simple link test code. -m4_defun([_LT_LINKER_BOILERPLATE], -[m4_require([_LT_DECL_SED])dnl -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* -])# _LT_LINKER_BOILERPLATE - -# _LT_REQUIRED_DARWIN_CHECKS -# ------------------------- -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ - case $host_os in - rhapsody* | darwin*) - AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) - AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) - AC_CHECK_TOOL([LIPO], [lipo], [:]) - AC_CHECK_TOOL([OTOOL], [otool], [:]) - AC_CHECK_TOOL([OTOOL64], [otool64], [:]) - _LT_DECL([], [DSYMUTIL], [1], - [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) - _LT_DECL([], [NMEDIT], [1], - [Tool to change global to local symbols on Mac OS X]) - _LT_DECL([], [LIPO], [1], - [Tool to manipulate fat objects and archives on Mac OS X]) - _LT_DECL([], [OTOOL], [1], - [ldd/readelf like tool for Mach-O binaries on Mac OS X]) - _LT_DECL([], [OTOOL64], [1], - [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) - - AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], - [lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&AS_MESSAGE_LOG_FD - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi]) - AC_CACHE_CHECK([for -exported_symbols_list linker flag], - [lt_cv_ld_exported_symbols_list], - [lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [lt_cv_ld_exported_symbols_list=yes], - [lt_cv_ld_exported_symbols_list=no]) - LDFLAGS="$save_LDFLAGS" - ]) - case $host_os in - rhapsody* | darwin1.[[012]]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[[012]]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - if test "$DSYMUTIL" != ":"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac -]) - - -# _LT_DARWIN_LINKER_FEATURES -# -------------------------- -# Checks for linker and compiler features on darwin -m4_defun([_LT_DARWIN_LINKER_FEATURES], -[ - m4_require([_LT_REQUIRED_DARWIN_CHECKS]) - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_automatic, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(whole_archive_flag_spec, $1)='' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - m4_if([$1], [CXX], -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then - _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" - _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" - fi -],[]) - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi -]) - -# _LT_SYS_MODULE_PATH_AIX -# ----------------------- -# Links a minimal program and checks the executable -# for the system default hardcoded library path. In most cases, -# this is /usr/lib:/lib, but when the MPI compilers are used -# the location of the communication and MPI libs are included too. -# If we don't find anything, use the default library path according -# to the aix ld manual. -m4_defun([_LT_SYS_MODULE_PATH_AIX], -[m4_require([_LT_DECL_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi],[]) -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi -])# _LT_SYS_MODULE_PATH_AIX - - -# _LT_SHELL_INIT(ARG) -# ------------------- -m4_define([_LT_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_SHELL_INIT - - -# _LT_PROG_ECHO_BACKSLASH -# ----------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. -m4_defun([_LT_PROG_ECHO_BACKSLASH], -[_LT_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -[$]* -_LT_EOF - exit 0 -fi - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi - -AC_SUBST(lt_ECHO) -]) -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) -_LT_DECL([], [ECHO], [1], - [An echo program that does not interpret backslashes]) -])# _LT_PROG_ECHO_BACKSLASH - - -# _LT_ENABLE_LOCK -# --------------- -m4_defun([_LT_ENABLE_LOCK], -[AC_ARG_ENABLE([libtool-lock], - [AS_HELP_STRING([--disable-libtool-lock], - [avoid locking (might break parallel builds)])]) -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, - [AC_LANG_PUSH(C) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) - AC_LANG_POP]) - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if AC_TRY_EVAL(ac_compile); then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks="$enable_libtool_lock" -])# _LT_ENABLE_LOCK - - -# _LT_CMD_OLD_ARCHIVE -# ------------------- -m4_defun([_LT_CMD_OLD_ARCHIVE], -[AC_CHECK_TOOL(AR, ar, false) -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -_LT_DECL([], [AR], [1], [The archiver]) -_LT_DECL([], [AR_FLAGS], [1]) - -AC_CHECK_TOOL(STRIP, strip, :) -test -z "$STRIP" && STRIP=: -_LT_DECL([], [STRIP], [1], [A symbol stripping program]) - -AC_CHECK_TOOL(RANLIB, ranlib, :) -test -z "$RANLIB" && RANLIB=: -_LT_DECL([], [RANLIB], [1], - [Commands used to install an old-style archive]) - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi -_LT_DECL([], [old_postinstall_cmds], [2]) -_LT_DECL([], [old_postuninstall_cmds], [2]) -_LT_TAGDECL([], [old_archive_cmds], [2], - [Commands used to build an old-style archive]) -])# _LT_CMD_OLD_ARCHIVE - - -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------------------- -# Check whether the given compiler option works -AC_DEFUN([_LT_COMPILER_OPTION], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$3" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - fi - $RM conftest* -]) - -if test x"[$]$2" = xyes; then - m4_if([$5], , :, [$5]) -else - m4_if([$6], , :, [$6]) -fi -])# _LT_COMPILER_OPTION - -# Old name: -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) - - -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, -# [ACTION-SUCCESS], [ACTION-FAILURE]) -# ---------------------------------------------------- -# Check whether the given linker option works -AC_DEFUN([_LT_LINKER_OPTION], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_SED])dnl -AC_CACHE_CHECK([$1], [$2], - [$2=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $3" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&AS_MESSAGE_LOG_FD - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - $2=yes - fi - else - $2=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" -]) - -if test x"[$]$2" = xyes; then - m4_if([$4], , :, [$4]) -else - m4_if([$5], , :, [$5]) -fi -])# _LT_LINKER_OPTION - -# Old name: -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) - - -# LT_CMD_MAX_LEN -#--------------- -AC_DEFUN([LT_CMD_MAX_LEN], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -# find the maximum length of command line arguments -AC_MSG_CHECKING([the maximum length of command line arguments]) -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - beos*) - # On BeOS, this test takes a really really long time. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8 ; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - teststring= - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac -]) -if test -n $lt_cv_sys_max_cmd_len ; then - AC_MSG_RESULT($lt_cv_sys_max_cmd_len) -else - AC_MSG_RESULT(none) -fi -max_cmd_len=$lt_cv_sys_max_cmd_len -_LT_DECL([], [max_cmd_len], [0], - [What is the maximum length of a command?]) -])# LT_CMD_MAX_LEN - -# Old name: -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) - - -# _LT_HEADER_DLFCN -# ---------------- -m4_defun([_LT_HEADER_DLFCN], -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl -])# _LT_HEADER_DLFCN - - -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, -# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) -# ---------------------------------------------------------------- -m4_defun([_LT_TRY_DLOPEN_SELF], -[m4_require([_LT_HEADER_DLFCN])dnl -if test "$cross_compiling" = yes; then : - [$4] -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -[#line __oline__ "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -}] -_LT_EOF - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) $1 ;; - x$lt_dlneed_uscore) $2 ;; - x$lt_dlunknown|x*) $3 ;; - esac - else : - # compilation failed - $3 - fi -fi -rm -fr conftest* -])# _LT_TRY_DLOPEN_SELF - - -# LT_SYS_DLOPEN_SELF -# ------------------ -AC_DEFUN([LT_SYS_DLOPEN_SELF], -[m4_require([_LT_HEADER_DLFCN])dnl -if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32* | cegcc*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ]) - ;; - - *) - AC_CHECK_FUNC([shl_load], - [lt_cv_dlopen="shl_load"], - [AC_CHECK_LIB([dld], [shl_load], - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], - [AC_CHECK_FUNC([dlopen], - [lt_cv_dlopen="dlopen"], - [AC_CHECK_LIB([dl], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], - [AC_CHECK_LIB([svld], [dlopen], - [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], - [AC_CHECK_LIB([dld], [dld_link], - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) - ]) - ]) - ]) - ]) - ]) - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - AC_CACHE_CHECK([whether a program can dlopen itself], - lt_cv_dlopen_self, [dnl - _LT_TRY_DLOPEN_SELF( - lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, - lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) - ]) - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - AC_CACHE_CHECK([whether a statically linked program can dlopen itself], - lt_cv_dlopen_self_static, [dnl - _LT_TRY_DLOPEN_SELF( - lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, - lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) - ]) - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi -_LT_DECL([dlopen_support], [enable_dlopen], [0], - [Whether dlopen is supported]) -_LT_DECL([dlopen_self], [enable_dlopen_self], [0], - [Whether dlopen of programs is supported]) -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], - [Whether dlopen of statically linked programs is supported]) -])# LT_SYS_DLOPEN_SELF - -# Old name: -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) - - -# _LT_COMPILER_C_O([TAGNAME]) -# --------------------------- -# Check to see if options -c and -o are simultaneously supported by compiler. -# This macro does not hard code the compiler like AC_PROG_CC_C_O. -m4_defun([_LT_COMPILER_C_O], -[m4_require([_LT_DECL_SED])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_TAG_COMPILER])dnl -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], - [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - fi - fi - chmod u+w . 2>&AS_MESSAGE_LOG_FD - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* -]) -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], - [Does compiler simultaneously support -c and -o options?]) -])# _LT_COMPILER_C_O - - -# _LT_COMPILER_FILE_LOCKS([TAGNAME]) -# ---------------------------------- -# Check to see if we can do hard links to lock some files if needed -m4_defun([_LT_COMPILER_FILE_LOCKS], -[m4_require([_LT_ENABLE_LOCK])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -_LT_COMPILER_C_O([$1]) - -hard_links="nottested" -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - AC_MSG_CHECKING([if we can lock with hard links]) - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - AC_MSG_RESULT([$hard_links]) - if test "$hard_links" = no; then - AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) - need_locks=warn - fi -else - need_locks=no -fi -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) -])# _LT_COMPILER_FILE_LOCKS - - -# _LT_CHECK_OBJDIR -# ---------------- -m4_defun([_LT_CHECK_OBJDIR], -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], -[rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null]) -objdir=$lt_cv_objdir -_LT_DECL([], [objdir], [0], - [The name of the directory that contains temporary libtool files])dnl -m4_pattern_allow([LT_OBJDIR])dnl -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", - [Define to the sub-directory in which libtool stores uninstalled libraries.]) -])# _LT_CHECK_OBJDIR - - -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) -# -------------------------------------- -# Check hardcoding attributes. -m4_defun([_LT_LINKER_HARDCODE_LIBPATH], -[AC_MSG_CHECKING([how to hardcode library paths into programs]) -_LT_TAGVAR(hardcode_action, $1)= -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || - test -n "$_LT_TAGVAR(runpath_var, $1)" || - test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && - test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then - # Linking always hardcodes the temporary library directory. - _LT_TAGVAR(hardcode_action, $1)=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - _LT_TAGVAR(hardcode_action, $1)=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - _LT_TAGVAR(hardcode_action, $1)=unsupported -fi -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) - -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || - test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi -_LT_TAGDECL([], [hardcode_action], [0], - [How to hardcode a shared library path into an executable]) -])# _LT_LINKER_HARDCODE_LIBPATH - - -# _LT_CMD_STRIPLIB -# ---------------- -m4_defun([_LT_CMD_STRIPLIB], -[m4_require([_LT_DECL_EGREP]) -striplib= -old_striplib= -AC_MSG_CHECKING([whether stripping libraries is possible]) -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - AC_MSG_RESULT([yes]) -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - fi - ;; - *) - AC_MSG_RESULT([no]) - ;; - esac -fi -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) -_LT_DECL([], [striplib], [1]) -])# _LT_CMD_STRIPLIB - - -# _LT_SYS_DYNAMIC_LINKER([TAG]) -# ----------------------------- -# PORTME Fill in your ld.so characteristics -m4_defun([_LT_SYS_DYNAMIC_LINKER], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_OBJDUMP])dnl -m4_require([_LT_DECL_SED])dnl -AC_MSG_CHECKING([dynamic linker characteristics]) -m4_if([$1], - [], [ -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[[lt_foo]]++; } - if (lt_freq[[lt_foo]] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi]) -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[[4-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[[01]] | aix4.[[01]].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[[45]]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - #soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - soname_spec='`echo ${libname} | sed -e 's/^lib//'`${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - #soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - soname_spec='`echo ${libname} | $SED -e 's/^lib//'`${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -m4_if([$1], [],[ - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[[123]]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[[01]]* | freebsdelf3.[[01]]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ - freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[[3-9]]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], - [shlibpath_overrides_runpath=yes])]) - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[[89]] | openbsd2.[[89]].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -AC_MSG_RESULT([$dynamic_linker]) -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - -_LT_DECL([], [variables_saved_for_relink], [1], - [Variables whose values should be saved in libtool wrapper scripts and - restored at link time]) -_LT_DECL([], [need_lib_prefix], [0], - [Do we need the "lib" prefix for modules?]) -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) -_LT_DECL([], [version_type], [0], [Library versioning type]) -_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) -_LT_DECL([], [shlibpath_overrides_runpath], [0], - [Is shlibpath searched before the hard-coded library search path?]) -_LT_DECL([], [libname_spec], [1], [Format of library name prefix]) -_LT_DECL([], [library_names_spec], [1], - [[List of archive names. First name is the real one, the rest are links. - The last name is the one that the linker finds with -lNAME]]) -_LT_DECL([], [soname_spec], [1], - [[The coded name of the library, if different from the real name]]) -_LT_DECL([], [postinstall_cmds], [2], - [Command to use after installation of a shared archive]) -_LT_DECL([], [postuninstall_cmds], [2], - [Command to use after uninstallation of a shared archive]) -_LT_DECL([], [finish_cmds], [2], - [Commands used to finish a libtool library installation in a directory]) -_LT_DECL([], [finish_eval], [1], - [[As "finish_cmds", except a single script fragment to be evaled but - not shown]]) -_LT_DECL([], [hardcode_into_libs], [0], - [Whether we should hardcode library paths into libraries]) -_LT_DECL([], [sys_lib_search_path_spec], [2], - [Compile-time system search path for libraries]) -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], - [Run-time system search path for libraries]) -])# _LT_SYS_DYNAMIC_LINKER - - -# _LT_PATH_TOOL_PREFIX(TOOL) -# -------------------------- -# find a file program which can recognize shared library -AC_DEFUN([_LT_PATH_TOOL_PREFIX], -[m4_require([_LT_DECL_EGREP])dnl -AC_MSG_CHECKING([for $1]) -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, -[case $MAGIC_CMD in -[[\\/*] | ?:[\\/]*]) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -dnl $ac_dummy forces splitting on constant user-supplied paths. -dnl POSIX.2 word splitting is done only on the output of word expansions, -dnl not every word. This closes a longstanding sh security hole. - ac_dummy="m4_if([$2], , $PATH, [$2])" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$1; then - lt_cv_path_MAGIC_CMD="$ac_dir/$1" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac]) -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - AC_MSG_RESULT($MAGIC_CMD) -else - AC_MSG_RESULT(no) -fi -_LT_DECL([], [MAGIC_CMD], [0], - [Used to examine libraries when file_magic_cmd begins with "file"])dnl -])# _LT_PATH_TOOL_PREFIX - -# Old name: -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) - - -# _LT_PATH_MAGIC -# -------------- -# find a file program which can recognize a shared library -m4_defun([_LT_PATH_MAGIC], -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) - else - MAGIC_CMD=: - fi -fi -])# _LT_PATH_MAGIC - - -# LT_PATH_LD -# ---------- -# find the pathname to the GNU or non-GNU linker -AC_DEFUN([LT_PATH_LD], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_CANONICAL_BUILD])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_DECL_EGREP])dnl - -AC_ARG_WITH([gnu-ld], - [AS_HELP_STRING([--with-gnu-ld], - [assume the C compiler uses GNU ld @<:@default=no@:>@])], - [test "$withval" = no || with_gnu_ld=yes], - [with_gnu_ld=no])dnl - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - AC_MSG_CHECKING([for ld used by $CC]) - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [[\\/]]* | ?:[[\\/]]*) - re_direlt='/[[^/]][[^/]]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - AC_MSG_CHECKING([for GNU ld]) -else - AC_MSG_CHECKING([for non-GNU ld]) -fi -AC_CACHE_VAL(lt_cv_path_LD, -[if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - lt_cv_deplibs_check_method=pass_all - ;; - -cegcc) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[[3-9]]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=pass_all - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -esac -]) -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - -_LT_DECL([], [deplibs_check_method], [1], - [Method to check whether dependent libraries are shared objects]) -_LT_DECL([], [file_magic_cmd], [1], - [Command to use when deplibs_check_method == "file_magic"]) -])# _LT_CHECK_MAGIC_METHOD - - -# LT_PATH_NM -# ---------- -# find the pathname to a BSD- or MS-compatible name lister -AC_DEFUN([LT_PATH_NM], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, -[if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - : ${lt_cv_path_NM=no} -fi]) -if test "$lt_cv_path_NM" != "no"; then - NM="$lt_cv_path_NM" -else - # Didn't find any BSD compatible name lister, look for dumpbin. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) - AC_SUBST([DUMPBIN]) - if test "$DUMPBIN" != ":"; then - NM="$DUMPBIN" - fi -fi -test -z "$NM" && NM=nm -AC_SUBST([NM]) -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl - -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], - [lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) - cat conftest.out >&AS_MESSAGE_LOG_FD - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest*]) -])# LT_PATH_NM - -# Old names: -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_PROG_NM], []) -dnl AC_DEFUN([AC_PROG_NM], []) - - -# LT_LIB_M -# -------- -# check for math library -AC_DEFUN([LT_LIB_M], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -LIBM= -case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) - # These system don't have libm, or don't need it - ;; -*-ncr-sysv4.3*) - AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") - AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") - ;; -*) - AC_CHECK_LIB(m, cos, LIBM="-lm") - ;; -esac -AC_SUBST([LIBM]) -])# LT_LIB_M - -# Old name: -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_CHECK_LIBM], []) - - -# _LT_COMPILER_NO_RTTI([TAGNAME]) -# ------------------------------- -m4_defun([_LT_COMPILER_NO_RTTI], -[m4_require([_LT_TAG_COMPILER])dnl - -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - -if test "$GCC" = yes; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - - _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], - lt_cv_prog_compiler_rtti_exceptions, - [-fno-rtti -fno-exceptions], [], - [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) -fi -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], - [Compiler flag to turn off builtin functions]) -])# _LT_COMPILER_NO_RTTI - - -# _LT_CMD_GLOBAL_SYMBOLS -# ---------------------- -m4_defun([_LT_CMD_GLOBAL_SYMBOLS], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_PATH_NM])dnl -AC_REQUIRE([LT_PATH_LD])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_TAG_COMPILER])dnl - -# Check for command to grab the raw symbol name followed by C symbol from nm. -AC_MSG_CHECKING([command to parse $NM output from $compiler object]) -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], -[ -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[[BCDEGRST]]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[[BCDT]]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[[ABCDGISTW]]' - ;; -hpux*) - if test "$host_cpu" = ia64; then - symcode='[[ABCDEGRST]]' - fi - ;; -irix* | nonstopux*) - symcode='[[BCDEGRST]]' - ;; -osf*) - symcode='[[BCDEGQRST]]' - ;; -solaris*) - symcode='[[BDRT]]' - ;; -sco3.2v5*) - symcode='[[DT]]' - ;; -sysv4.2uw2*) - symcode='[[DT]]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[[ABDT]]' - ;; -sysv4) - symcode='[[DFNSTU]]' - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[[ABCDGIRSTW]]' ;; -esac - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function - # and D for any global variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK ['"\ -" {last_section=section; section=\$ 3};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx]" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if AC_TRY_EVAL(ac_compile); then - # Now try to grab the symbols. - nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then - cat <<_LT_EOF > conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[[]] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" - if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done -]) -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - AC_MSG_RESULT(failed) -else - AC_MSG_RESULT(ok) -fi - -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], - [Take the output of nm and produce a listing of raw symbols and C names]) -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], - [Transform the output of nm in a proper C declaration]) -_LT_DECL([global_symbol_to_c_name_address], - [lt_cv_sys_global_symbol_to_c_name_address], [1], - [Transform the output of nm in a C name address pair]) -_LT_DECL([global_symbol_to_c_name_address_lib_prefix], - [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], - [Transform the output of nm in a C name address pair when lib prefix is needed]) -]) # _LT_CMD_GLOBAL_SYMBOLS - - -# _LT_COMPILER_PIC([TAGNAME]) -# --------------------------- -m4_defun([_LT_COMPILER_PIC], -[m4_require([_LT_TAG_COMPILER])dnl -_LT_TAGVAR(lt_prog_compiler_wl, $1)= -_LT_TAGVAR(lt_prog_compiler_pic, $1)= -_LT_TAGVAR(lt_prog_compiler_static, $1)= - -AC_MSG_CHECKING([for $compiler option to produce PIC]) -m4_if([$1], [CXX], [ - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - case $host_os in - aix[[4-9]]*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - fi - ;; - aCC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - ecpc* ) - # old Intel C++ for x86_64 which still supported -KPIC. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - icpc* ) - # Intel C++, used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - cxx*) - # Digital/Compaq C++ - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - lcc*) - # Lucid - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - ;; - *) - ;; - esac - ;; - vxworks*) - ;; - *) - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -], -[ - if test "$GCC" = yes; then - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - ;; - - interix[[3-9]]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic - fi - ;; - - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - else - _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - m4_if([$1], [GCJ], [], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) - ;; - - hpux9* | hpux10* | hpux11*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # PIC (with -KPIC) is the default. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - # old Intel for x86_64 which still supported -KPIC. - ecc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' - _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - ccc*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All Alpha code is PIC. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='' - ;; - esac - ;; - esac - ;; - - newsos6) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - # All OSF/1 code is PIC. - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - rdos*) - _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' - ;; - - solaris*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; - *) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; - esac - ;; - - sunos4*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - unicos*) - _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - - uts4*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' - _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - ;; - - *) - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no - ;; - esac - fi -]) -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - _LT_TAGVAR(lt_prog_compiler_pic, $1)= - ;; - *) - _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" - ;; -esac -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], - [How to pass a linker flag through the compiler]) - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then - _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], - [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], - [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], - [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in - "" | " "*) ;; - *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; - esac], - [_LT_TAGVAR(lt_prog_compiler_pic, $1)= - _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) -fi -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], - [Additional compiler flags for building library objects]) - -# -# Check to make sure the static flag actually works. -# -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], - _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), - $lt_tmp_static_flag, - [], - [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], - [Compiler flag to prevent dynamic linking]) -])# _LT_COMPILER_PIC - - -# _LT_LINKER_SHLIBS([TAGNAME]) -# ---------------------------- -# See if the linker supports building shared libraries. -m4_defun([_LT_LINKER_SHLIBS], -[AC_REQUIRE([LT_PATH_LD])dnl -AC_REQUIRE([LT_PATH_NM])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl -m4_require([_LT_DECL_SED])dnl -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -m4_require([_LT_TAG_COMPILER])dnl -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) -m4_if([$1], [CXX], [ - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix[[4-9]]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; - cygwin* | mingw* | cegcc*) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - *) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] -], [ - runpath_var= - _LT_TAGVAR(allow_undefined_flag, $1)= - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(archive_cmds, $1)= - _LT_TAGVAR(archive_expsym_cmds, $1)= - _LT_TAGVAR(compiler_needs_object, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - _LT_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - _LT_TAGVAR(hardcode_automatic, $1)=no - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= - _LT_TAGVAR(hardcode_libdir_separator, $1)= - _LT_TAGVAR(hardcode_minus_L, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(inherit_rpath, $1)=no - _LT_TAGVAR(link_all_deplibs, $1)=unknown - _LT_TAGVAR(module_cmds, $1)= - _LT_TAGVAR(module_expsym_cmds, $1)= - _LT_TAGVAR(old_archive_from_new_cmds, $1)= - _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= - _LT_TAGVAR(thread_safe_flag_spec, $1)= - _LT_TAGVAR(whole_archive_flag_spec, $1)= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - _LT_TAGVAR(include_expsyms, $1)= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. -dnl Note also adjust exclude_expsyms for C++ above. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - _LT_TAGVAR(ld_shlibs, $1)=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix[[3-9]]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='' - ;; - m68k) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - interix[[3-9]]*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test "$tmp_diet" = no - then - tmp_addflag= - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - _LT_TAGVAR(whole_archive_flag_spec, $1)= - tmp_sharedflag='--shared' ;; - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - xlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) - _LT_TAGVAR(ld_shlibs, $1)=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - sunos4*) - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - - if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then - runpath_var= - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(export_dynamic_flag_spec, $1)= - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=yes - _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - _LT_TAGVAR(hardcode_direct, $1)=unsupported - fi - ;; - - aix[[4-9]]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_TAGVAR(archive_cmds, $1)='' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' - - if test "$GCC" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - _LT_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared libraries. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='' - ;; - m68k) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - ;; - - bsdi[[45]]*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - ;; - - darwin* | rhapsody*) - _LT_DARWIN_LINKER_FEATURES($1) - ;; - - dgux*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - freebsd1*) - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - hpux9*) - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_direct, $1)=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - _LT_TAGVAR(hardcode_minus_L, $1)=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - AC_LINK_IFELSE(int foo(void) {}, - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - ) - LDFLAGS="$save_LDFLAGS" - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(inherit_rpath, $1)=yes - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - newsos6) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *nto* | *qnx*) - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - else - case $host_os in - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - ;; - esac - fi - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - os2*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - else - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - fi - _LT_TAGVAR(archive_cmds_need_lc, $1)='no' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - ;; - - solaris*) - _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' - if test "$GCC" = yes; then - wlarc='${wl}' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' - ;; - *) - wlarc='${wl}' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - fi - ;; - esac - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4) - case $host_vendor in - sni) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' - _LT_TAGVAR(hardcode_direct, $1)=no - ;; - motorola) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - sysv4.3*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - _LT_TAGVAR(ld_shlibs, $1)=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - *) - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - - if test x$host_vendor = xsni; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' - ;; - esac - fi - fi -]) -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld - -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl -_LT_DECL([], [extract_expsyms_cmds], [2], - [The commands to extract the exported symbol list from a shared archive]) - -# -# Do we need to explicitly link libc? -# -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in -x|xyes) - # Assume -lc should be added - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $_LT_TAGVAR(archive_cmds, $1) in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) - _LT_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) - then - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) - ;; - esac - fi - ;; -esac - -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], - [Whether or not to add -lc for building shared libraries]) -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes], - [enable_shared_with_static_runtimes], [0], - [Whether or not to disallow shared libs when runtime libs are static]) -_LT_TAGDECL([], [export_dynamic_flag_spec], [1], - [Compiler flag to allow reflexive dlopens]) -_LT_TAGDECL([], [whole_archive_flag_spec], [1], - [Compiler flag to generate shared objects directly from archives]) -_LT_TAGDECL([], [compiler_needs_object], [1], - [Whether the compiler copes with passing no objects directly]) -_LT_TAGDECL([], [old_archive_from_new_cmds], [2], - [Create an old-style archive from a shared archive]) -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], - [Create a temporary old-style archive to link instead of a shared archive]) -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) -_LT_TAGDECL([], [archive_expsym_cmds], [2]) -_LT_TAGDECL([], [module_cmds], [2], - [Commands used to build a loadable module if different from building - a shared archive.]) -_LT_TAGDECL([], [module_expsym_cmds], [2]) -_LT_TAGDECL([], [with_gnu_ld], [1], - [Whether we are building with GNU ld or not]) -_LT_TAGDECL([], [allow_undefined_flag], [1], - [Flag that allows shared libraries with undefined symbols to be built]) -_LT_TAGDECL([], [no_undefined_flag], [1], - [Flag that enforces no undefined symbols]) -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], - [Flag to hardcode $libdir into a binary during linking. - This must work even if $libdir does not exist]) -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], - [[If ld is used when linking, flag to hardcode $libdir into a binary - during linking. This must work even if $libdir does not exist]]) -_LT_TAGDECL([], [hardcode_libdir_separator], [1], - [Whether we need a single "-rpath" flag with a separated argument]) -_LT_TAGDECL([], [hardcode_direct], [0], - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes - DIR into the resulting binary]) -_LT_TAGDECL([], [hardcode_direct_absolute], [0], - [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes - DIR into the resulting binary and the resulting library dependency is - "absolute", i.e impossible to change by setting ${shlibpath_var} if the - library is relocated]) -_LT_TAGDECL([], [hardcode_minus_L], [0], - [Set to "yes" if using the -LDIR flag during linking hardcodes DIR - into the resulting binary]) -_LT_TAGDECL([], [hardcode_shlibpath_var], [0], - [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR - into the resulting binary]) -_LT_TAGDECL([], [hardcode_automatic], [0], - [Set to "yes" if building a shared library automatically hardcodes DIR - into the library and all subsequent libraries and executables linked - against it]) -_LT_TAGDECL([], [inherit_rpath], [0], - [Set to yes if linker adds runtime paths of dependent libraries - to runtime path list]) -_LT_TAGDECL([], [link_all_deplibs], [0], - [Whether libtool must link a program against all its dependency libraries]) -_LT_TAGDECL([], [fix_srcfile_path], [1], - [Fix the shell variable $srcfile for the compiler]) -_LT_TAGDECL([], [always_export_symbols], [0], - [Set to "yes" if exported symbols are required]) -_LT_TAGDECL([], [export_symbols_cmds], [2], - [The commands to list exported symbols]) -_LT_TAGDECL([], [exclude_expsyms], [1], - [Symbols that should not be listed in the preloaded symbols]) -_LT_TAGDECL([], [include_expsyms], [1], - [Symbols that must always be exported]) -_LT_TAGDECL([], [prelink_cmds], [2], - [Commands necessary for linking programs (against libraries) with templates]) -_LT_TAGDECL([], [file_list_spec], [1], - [Specify filename containing input files]) -dnl FIXME: Not yet implemented -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], -dnl [Compiler flag to generate thread safe objects]) -])# _LT_LINKER_SHLIBS - - -# _LT_LANG_C_CONFIG([TAG]) -# ------------------------ -# Ensure that the configuration variables for a C compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to `libtool'. -m4_defun([_LT_LANG_C_CONFIG], -[m4_require([_LT_DECL_EGREP])dnl -lt_save_CC="$CC" -AC_LANG_PUSH(C) - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - -_LT_TAG_COMPILER -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - LT_SYS_DLOPEN_SELF - _LT_CMD_STRIPLIB - - # Report which library types will actually be built - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_CONFIG($1) -fi -AC_LANG_POP -CC="$lt_save_CC" -])# _LT_LANG_C_CONFIG - - -# _LT_PROG_CXX -# ------------ -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ -# compiler, we have our own version here. -m4_defun([_LT_PROG_CXX], -[ -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) -AC_PROG_CXX -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - AC_PROG_CXXCPP -else - _lt_caught_CXX_error=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_CXX - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_CXX], []) - - -# _LT_LANG_CXX_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a C++ compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to `libtool'. -m4_defun([_LT_LANG_CXX_CONFIG], -[AC_REQUIRE([_LT_PROG_CXX])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl - -AC_LANG_PUSH(C++) -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(compiler_needs_object, $1)=no -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the CXX compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_caught_CXX_error" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="int some_variable = 0;" - - # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_LD=$LD - lt_save_GCC=$GCC - GCC=$GXX - lt_save_with_gnu_ld=$with_gnu_ld - lt_save_path_LD=$lt_cv_path_LD - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx - else - $as_unset lt_cv_prog_gnu_ld - fi - if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX - else - $as_unset lt_cv_path_LD - fi - test -z "${LDCXX+set}" || LD=$LDCXX - CC=${CXX-"c++"} - compiler=$CC - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - - if test -n "$compiler"; then - # We don't want -fno-exception when compiling C++ code, so set the - # no_builtin_flag separately - if test "$GXX" = yes; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' - else - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= - fi - - if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - LT_PATH_LD - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | - $GREP 'no-whole-archive' > /dev/null; then - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - _LT_TAGVAR(whole_archive_flag_spec, $1)= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - GXX=no - with_gnu_ld=no - wlarc= - fi - - # PORTME: fill in a description of your system's C++ link characteristics - AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) - _LT_TAGVAR(ld_shlibs, $1)=yes - case $host_os in - aix3*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aix[[4-9]]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - _LT_TAGVAR(archive_cmds, $1)='' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' - - if test "$GXX" = yes; then - case $host_os in aix4.[[012]]|aix4.[[012]].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - _LT_TAGVAR(hardcode_direct, $1)=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - _LT_TAGVAR(hardcode_minus_L, $1)=yes - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)= - fi - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. - _LT_TAGVAR(always_export_symbols, $1)=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(allow_undefined_flag, $1)='-berok' - # Determine the default libpath from the value encoded in an empty - # executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' - _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - _LT_SYS_MODULE_PATH_AIX - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - # This is similar to how AIX traditionally builds its shared - # libraries. - _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - darwin* | rhapsody*) - _LT_DARWIN_LINKER_FEATURES($1) - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - freebsd[[12]]*) - # C++ shared libraries reported to be fairly broken before - # switch to ELF - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - freebsd-elf*) - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - ;; - - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - _LT_TAGVAR(ld_shlibs, $1)=yes - ;; - - gnu*) - ;; - - hpux9*) - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - *) - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - interix[[3-9]]*) - _LT_TAGVAR(hardcode_direct, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' - fi - fi - _LT_TAGVAR(link_all_deplibs, $1)=yes - ;; - esac - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - _LT_TAGVAR(inherit_rpath, $1)=yes - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc* | ecpc* ) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - case `$CC -V` in - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) - _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' - _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ - $RANLIB $oldlib' - _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - *) # Version 6 will use weak symbols - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - xl*) - # IBM XL 8.0 on PPC, with GNU ld - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - _LT_TAGVAR(compiler_needs_object, $1)=yes - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - - lynxos*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - m88k*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - - *nto* | *qnx*) - _LT_TAGVAR(ld_shlibs, $1)=yes - ;; - - openbsd2*) - # C++ shared libraries are fairly broken - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - _LT_TAGVAR(hardcode_direct, $1)=yes - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_direct_absolute, $1)=yes - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' - _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd=echo - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - case $host in - osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; - *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; - esac - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - cxx*) - case $host in - osf3*) - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - ;; - *) - _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ - $RM $lib.exp' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - case $host in - osf3*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - esac - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; - esac - ;; - - psos*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - _LT_TAGVAR(archive_cmds_need_lc,$1)=yes - _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' - _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' - ;; - esac - _LT_TAGVAR(link_all_deplibs, $1)=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' - if $CC --version | $GREP -v '^2\.7' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - fi - - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' - case $host_os in - solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; - *) - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' - _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' - _LT_TAGVAR(hardcode_libdir_separator, $1)=':' - _LT_TAGVAR(link_all_deplibs, $1)=yes - _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - ;; - - vxworks*) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - - *) - # FIXME: insert proper C++ library support - _LT_TAGVAR(ld_shlibs, $1)=no - ;; - esac - - AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) - test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no - - _LT_TAGVAR(GCC, $1)="$GXX" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_SYS_HIDDEN_LIBDEPS($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - CC=$lt_save_CC - LDCXX=$LD - LD=$lt_save_LD - GCC=$lt_save_GCC - with_gnu_ld=$lt_save_with_gnu_ld - lt_cv_path_LDCXX=$lt_cv_path_LD - lt_cv_path_LD=$lt_save_path_LD - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -fi # test "$_lt_caught_CXX_error" != yes - -AC_LANG_POP -])# _LT_LANG_CXX_CONFIG - - -# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) -# --------------------------------- -# Figure out "hidden" library dependencies from verbose -# compiler output when linking a shared library. -# Parse the compiler output and extract the necessary -# objects, libraries and library flags. -m4_defun([_LT_SYS_HIDDEN_LIBDEPS], -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl -# Dependencies to place before and after the object being linked: -_LT_TAGVAR(predep_objects, $1)= -_LT_TAGVAR(postdep_objects, $1)= -_LT_TAGVAR(predeps, $1)= -_LT_TAGVAR(postdeps, $1)= -_LT_TAGVAR(compiler_lib_search_path, $1)= - -dnl we can't use the lt_simple_compile_test_code here, -dnl because it contains code intended for an executable, -dnl not a library. It's possible we should let each -dnl tag define a new lt_????_link_test_code variable, -dnl but it's only used here... -m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF -int a; -void foo (void) { a = 0; } -_LT_EOF -], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -_LT_EOF -], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF - subroutine foo - implicit none - integer*4 a - a=0 - return - end -_LT_EOF -], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF - subroutine foo - implicit none - integer a - a=0 - return - end -_LT_EOF -], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF -public class foo { - private int a; - public void bar (void) { - a = 0; - } -}; -_LT_EOF -]) -dnl Parse the compiler output and extract the necessary -dnl objects, libraries and library flags. -if AC_TRY_EVAL(ac_compile); then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - for p in `eval "$output_verbose_link_cmd"`; do - case $p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" || - test $p = "-R"; then - prev=$p - continue - else - prev= - fi - - if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then - _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" - else - _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$_LT_TAGVAR(postdeps, $1)"; then - _LT_TAGVAR(postdeps, $1)="${prev}${p}" - else - _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" - fi - fi - ;; - - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$_LT_TAGVAR(predep_objects, $1)"; then - _LT_TAGVAR(predep_objects, $1)="$p" - else - _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" - fi - else - if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then - _LT_TAGVAR(postdep_objects, $1)="$p" - else - _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling $1 test program" -fi - -$RM -f confest.$objext - -# PORTME: override above test on systems where it is broken -m4_if([$1], [CXX], -[case $host_os in -interix[[3-9]]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - _LT_TAGVAR(predep_objects,$1)= - _LT_TAGVAR(postdep_objects,$1)= - _LT_TAGVAR(postdeps,$1)= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - if test "$solaris_use_stlport4" != yes; then - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac -]) - -case " $_LT_TAGVAR(postdeps, $1) " in -*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; -esac - _LT_TAGVAR(compiler_lib_search_dirs, $1)= -if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` -fi -_LT_TAGDECL([], [compiler_lib_search_dirs], [1], - [The directories searched by this compiler when creating a shared library]) -_LT_TAGDECL([], [predep_objects], [1], - [Dependencies to place before and after the objects being linked to - create a shared library]) -_LT_TAGDECL([], [postdep_objects], [1]) -_LT_TAGDECL([], [predeps], [1]) -_LT_TAGDECL([], [postdeps], [1]) -_LT_TAGDECL([], [compiler_lib_search_path], [1], - [The library search path used internally by the compiler when linking - a shared library]) -])# _LT_SYS_HIDDEN_LIBDEPS - - -# _LT_PROG_F77 -# ------------ -# Since AC_PROG_F77 is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_F77], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) -AC_PROG_F77 -if test -z "$F77" || test "X$F77" = "Xno"; then - _lt_disable_F77=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_F77 - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_F77], []) - - -# _LT_LANG_F77_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a Fortran 77 compiler are -# suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_F77_CONFIG], -[AC_REQUIRE([_LT_PROG_F77])dnl -AC_LANG_PUSH(Fortran 77) - -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for f77 test sources. -ac_ext=f - -# Object file extension for compiled f77 test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the F77 compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_disable_F77" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="\ - subroutine t - return - end -" - - # Code to be used in simple link tests - lt_simple_link_test_code="\ - program t - end -" - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC="$CC" - lt_save_GCC=$GCC - CC=${F77-"f77"} - compiler=$CC - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - GCC=$G77 - if test -n "$compiler"; then - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_TAGVAR(GCC, $1)="$G77" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - GCC=$lt_save_GCC - CC="$lt_save_CC" -fi # test "$_lt_disable_F77" != yes - -AC_LANG_POP -])# _LT_LANG_F77_CONFIG - - -# _LT_PROG_FC -# ----------- -# Since AC_PROG_FC is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_FC], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) -AC_PROG_FC -if test -z "$FC" || test "X$FC" = "Xno"; then - _lt_disable_FC=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_FC - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_FC], []) - - -# _LT_LANG_FC_CONFIG([TAG]) -# ------------------------- -# Ensure that the configuration variables for a Fortran compiler are -# suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_FC_CONFIG], -[AC_REQUIRE([_LT_PROG_FC])dnl -AC_LANG_PUSH(Fortran) - -_LT_TAGVAR(archive_cmds_need_lc, $1)=no -_LT_TAGVAR(allow_undefined_flag, $1)= -_LT_TAGVAR(always_export_symbols, $1)=no -_LT_TAGVAR(archive_expsym_cmds, $1)= -_LT_TAGVAR(export_dynamic_flag_spec, $1)= -_LT_TAGVAR(hardcode_direct, $1)=no -_LT_TAGVAR(hardcode_direct_absolute, $1)=no -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= -_LT_TAGVAR(hardcode_libdir_separator, $1)= -_LT_TAGVAR(hardcode_minus_L, $1)=no -_LT_TAGVAR(hardcode_automatic, $1)=no -_LT_TAGVAR(inherit_rpath, $1)=no -_LT_TAGVAR(module_cmds, $1)= -_LT_TAGVAR(module_expsym_cmds, $1)= -_LT_TAGVAR(link_all_deplibs, $1)=unknown -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds -_LT_TAGVAR(no_undefined_flag, $1)= -_LT_TAGVAR(whole_archive_flag_spec, $1)= -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no - -# Source file extension for fc test sources. -ac_ext=${ac_fc_srcext-f} - -# Object file extension for compiled fc test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# No sense in running all these tests if we already determined that -# the FC compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_disable_FC" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="\ - subroutine t - return - end -" - - # Code to be used in simple link tests - lt_simple_link_test_code="\ - program t - end -" - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - _LT_TAG_COMPILER - - # save warnings/boilerplate of simple test code - _LT_COMPILER_BOILERPLATE - _LT_LINKER_BOILERPLATE - - # Allow CC to be a program name with arguments. - lt_save_CC="$CC" - lt_save_GCC=$GCC - CC=${FC-"f95"} - compiler=$CC - GCC=$ac_cv_fc_compiler_gnu - - _LT_TAGVAR(compiler, $1)=$CC - _LT_CC_BASENAME([$compiler]) - - if test -n "$compiler"; then - AC_MSG_CHECKING([if libtool supports shared libraries]) - AC_MSG_RESULT([$can_build_shared]) - - AC_MSG_CHECKING([whether to build shared libraries]) - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - aix[[4-9]]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - AC_MSG_RESULT([$enable_shared]) - - AC_MSG_CHECKING([whether to build static libraries]) - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - AC_MSG_RESULT([$enable_static]) - - _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" - _LT_TAGVAR(LD, $1)="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - _LT_SYS_HIDDEN_LIBDEPS($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_SYS_DYNAMIC_LINKER($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) - fi # test -n "$compiler" - - GCC=$lt_save_GCC - CC="$lt_save_CC" -fi # test "$_lt_disable_FC" != yes - -AC_LANG_POP -])# _LT_LANG_FC_CONFIG - - -# _LT_LANG_GCJ_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for the GNU Java Compiler compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_GCJ_CONFIG], -[AC_REQUIRE([LT_PROG_GCJ])dnl -AC_LANG_SAVE - -# Source file extension for Java test sources. -ac_ext=java - -# Object file extension for compiled Java test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="class foo {}" - -# Code to be used in simple link tests -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -lt_save_GCC=$GCC -GCC=yes -CC=${GCJ-"gcj"} -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_TAGVAR(LD, $1)="$LD" -_LT_CC_BASENAME([$compiler]) - -# GCJ did not exist at the time GCC didn't implicitly link libc in. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no - -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - _LT_COMPILER_NO_RTTI($1) - _LT_COMPILER_PIC($1) - _LT_COMPILER_C_O($1) - _LT_COMPILER_FILE_LOCKS($1) - _LT_LINKER_SHLIBS($1) - _LT_LINKER_HARDCODE_LIBPATH($1) - - _LT_CONFIG($1) -fi - -AC_LANG_RESTORE - -GCC=$lt_save_GCC -CC="$lt_save_CC" -])# _LT_LANG_GCJ_CONFIG - - -# _LT_LANG_RC_CONFIG([TAG]) -# ------------------------- -# Ensure that the configuration variables for the Windows resource compiler -# are suitably defined. These variables are subsequently used by _LT_CONFIG -# to write the compiler configuration to `libtool'. -m4_defun([_LT_LANG_RC_CONFIG], -[AC_REQUIRE([LT_PROG_RC])dnl -AC_LANG_SAVE - -# Source file extension for RC test sources. -ac_ext=rc - -# Object file extension for compiled RC test sources. -objext=o -_LT_TAGVAR(objext, $1)=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' - -# Code to be used in simple link tests -lt_simple_link_test_code="$lt_simple_compile_test_code" - -# ltmain only uses $CC for tagged configurations so make sure $CC is set. -_LT_TAG_COMPILER - -# save warnings/boilerplate of simple test code -_LT_COMPILER_BOILERPLATE -_LT_LINKER_BOILERPLATE - -# Allow CC to be a program name with arguments. -lt_save_CC="$CC" -lt_save_GCC=$GCC -GCC= -CC=${RC-"windres"} -compiler=$CC -_LT_TAGVAR(compiler, $1)=$CC -_LT_CC_BASENAME([$compiler]) -_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes - -if test -n "$compiler"; then - : - _LT_CONFIG($1) -fi - -GCC=$lt_save_GCC -AC_LANG_RESTORE -CC="$lt_save_CC" -])# _LT_LANG_RC_CONFIG - - -# LT_PROG_GCJ -# ----------- -AC_DEFUN([LT_PROG_GCJ], -[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], - [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], - [AC_CHECK_TOOL(GCJ, gcj,) - test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" - AC_SUBST(GCJFLAGS)])])[]dnl -]) - -# Old name: -AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_GCJ], []) - - -# LT_PROG_RC -# ---------- -AC_DEFUN([LT_PROG_RC], -[AC_CHECK_TOOL(RC, windres,) -]) - -# Old name: -AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_RC], []) - - -# _LT_DECL_EGREP -# -------------- -# If we don't have a new enough Autoconf to choose the best grep -# available, choose the one first in the user's PATH. -m4_defun([_LT_DECL_EGREP], -[AC_REQUIRE([AC_PROG_EGREP])dnl -AC_REQUIRE([AC_PROG_FGREP])dnl -test -z "$GREP" && GREP=grep -_LT_DECL([], [GREP], [1], [A grep program that handles long lines]) -_LT_DECL([], [EGREP], [1], [An ERE matcher]) -_LT_DECL([], [FGREP], [1], [A literal string matcher]) -dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too -AC_SUBST([GREP]) -]) - - -# _LT_DECL_OBJDUMP -# -------------- -# If we don't have a new enough Autoconf to choose the best objdump -# available, choose the one first in the user's PATH. -m4_defun([_LT_DECL_OBJDUMP], -[AC_CHECK_TOOL(OBJDUMP, objdump, false) -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) -AC_SUBST([OBJDUMP]) -]) - - -# _LT_DECL_SED -# ------------ -# Check for a fully-functional sed program, that truncates -# as few characters as possible. Prefer GNU sed if found. -m4_defun([_LT_DECL_SED], -[AC_PROG_SED -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" -_LT_DECL([], [SED], [1], [A sed program that does not truncate output]) -_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], - [Sed that helps us avoid accidentally triggering echo(1) options like -n]) -])# _LT_DECL_SED - -m4_ifndef([AC_PROG_SED], [ -############################################################ -# NOTE: This macro has been submitted for inclusion into # -# GNU Autoconf as AC_PROG_SED. When it is available in # -# a released version of Autoconf we should remove this # -# macro and use it instead. # -############################################################ - -m4_defun([AC_PROG_SED], -[AC_MSG_CHECKING([for a sed that does not truncate output]) -AC_CACHE_VAL(lt_cv_path_SED, -[# Loop through the user's path and test for sed and gsed. -# Then use that list of sed's as ones to test for truncation. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for lt_ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then - lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" - fi - done - done -done -IFS=$as_save_IFS -lt_ac_max=0 -lt_ac_count=0 -# Add /usr/xpg4/bin/sed as it is typically found on Solaris -# along with /bin/sed that truncates output. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do - test ! -f $lt_ac_sed && continue - cat /dev/null > conftest.in - lt_ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >conftest.in - # Check for GNU sed and select it if it is found. - if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then - lt_cv_path_SED=$lt_ac_sed - break - fi - while true; do - cat conftest.in conftest.in >conftest.tmp - mv conftest.tmp conftest.in - cp conftest.in conftest.nl - echo >>conftest.nl - $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break - cmp -s conftest.out conftest.nl || break - # 10000 chars as input seems more than enough - test $lt_ac_count -gt 10 && break - lt_ac_count=`expr $lt_ac_count + 1` - if test $lt_ac_count -gt $lt_ac_max; then - lt_ac_max=$lt_ac_count - lt_cv_path_SED=$lt_ac_sed - fi - done -done -]) -SED=$lt_cv_path_SED -AC_SUBST([SED]) -AC_MSG_RESULT([$SED]) -])#AC_PROG_SED -])#m4_ifndef - -# Old name: -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([LT_AC_PROG_SED], []) - - -# _LT_CHECK_SHELL_FEATURES -# ------------------------ -# Find out whether the shell is Bourne or XSI compatible, -# or has some other useful features. -m4_defun([_LT_CHECK_SHELL_FEATURES], -[AC_MSG_CHECKING([whether the shell understands some XSI constructs]) -# Try some XSI features -xsi_shell=no -( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=yes -AC_MSG_RESULT([$xsi_shell]) -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) - -AC_MSG_CHECKING([whether the shell understands "+="]) -lt_shell_append=no -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=yes -AC_MSG_RESULT([$lt_shell_append]) -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) - -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false -fi -_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac -_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl -_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl -])# _LT_CHECK_SHELL_FEATURES - - -# _LT_PROG_XSI_SHELLFNS -# --------------------- -# Bourne and XSI compatible variants of some useful shell functions. -m4_defun([_LT_PROG_XSI_SHELLFNS], -[case $xsi_shell in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac -} - -# func_basename file -func_basename () -{ - func_basename_result="${1##*/}" -} - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac - func_basename_result="${1##*/}" -} - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -func_stripname () -{ - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are - # positional parameters, so assign one to ordinary parameter first. - func_stripname_result=${3} - func_stripname_result=${func_stripname_result#"${1}"} - func_stripname_result=${func_stripname_result%"${2}"} -} - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=${1%%=*} - func_opt_split_arg=${1#*=} -} - -# func_lo2o object -func_lo2o () -{ - case ${1} in - *.lo) func_lo2o_result=${1%.lo}.${objext} ;; - *) func_lo2o_result=${1} ;; - esac -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=${1%.*}.lo -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=$(( $[*] )) -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=${#1} -} - -_LT_EOF - ;; - *) # Bourne compatible functions. - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi -} - -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - -dnl func_dirname_and_basename -dnl A portable version of this function is already defined in general.m4sh -dnl so there is no need for it here. - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# func_strip_suffix prefix name -func_stripname () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; - esac -} - -# sed scripts: -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[[^=]]*=//' - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` -} - -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$[@]"` -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` -} - -_LT_EOF -esac - -case $lt_shell_append in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$[1]+=\$[2]" -} -_LT_EOF - ;; - *) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$[1]=\$$[1]\$[2]" -} - -_LT_EOF - ;; - esac -]) - diff --git a/Externals/SDL/acinclude/ltdl.m4 b/Externals/SDL/acinclude/ltdl.m4 deleted file mode 100644 index e2b7129919..0000000000 --- a/Externals/SDL/acinclude/ltdl.m4 +++ /dev/null @@ -1,806 +0,0 @@ -############################################################################## -# ltdl.m4 - Configure ltdl for the target system. -*-Autoconf-*- -# -# Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc. -# Written by Thomas Tanner, 1999 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 17 LTDL_INIT - -# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE]) -# ------------------------------------------ -# DIRECTORY contains the libltdl sources. It is okay to call this -# function multiple times, as long as the same DIRECTORY is always given. -AC_DEFUN([LT_CONFIG_LTDL_DIR], -[AC_BEFORE([$0], [LTDL_INIT]) -_$0($*) -])# LT_CONFIG_LTDL_DIR - -# We break this out into a separate macro, so that we can call it safely -# internally without being caught accidentally by the sed scan in libtoolize. -m4_defun([_LT_CONFIG_LTDL_DIR], -[dnl remove trailing slashes -m4_pushdef([_ARG_DIR], m4_bpatsubst([$1], [/*$])) -m4_case(_LTDL_DIR, - [], [dnl only set lt_ltdl_dir if _ARG_DIR is not simply `.' - m4_if(_ARG_DIR, [.], - [], - [m4_define([_LTDL_DIR], _ARG_DIR) - _LT_SHELL_INIT([lt_ltdl_dir=']_ARG_DIR['])])], - [m4_if(_ARG_DIR, _LTDL_DIR, - [], - [m4_fatal([multiple libltdl directories: `]_LTDL_DIR[', `]_ARG_DIR['])])]) -m4_popdef([_ARG_DIR]) -])# _LT_CONFIG_LTDL_DIR - -# Initialise: -m4_define([_LTDL_DIR], []) - - -# _LT_BUILD_PREFIX -# ---------------- -# If Autoconf is new enough, expand to `${top_build_prefix}', otherwise -# to `${top_builddir}/'. -m4_define([_LT_BUILD_PREFIX], -[m4_ifdef([AC_AUTOCONF_VERSION], - [m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.62]), - [-1], [m4_ifdef([_AC_HAVE_TOP_BUILD_PREFIX], - [${top_build_prefix}], - [${top_builddir}/])], - [${top_build_prefix}])], - [${top_builddir}/])[]dnl -]) - - -# LTDL_CONVENIENCE -# ---------------- -# sets LIBLTDL to the link flags for the libltdl convenience library and -# LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-convenience to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called here. LIBLTDL will be prefixed with -# '${top_build_prefix}' if available, otherwise with '${top_builddir}/', -# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single -# quotes!). If your package is not flat and you're not using automake, -# define top_build_prefix, top_builddir, and top_srcdir appropriately -# in your Makefiles. -AC_DEFUN([LTDL_CONVENIENCE], -[AC_BEFORE([$0], [LTDL_INIT])dnl -dnl Although the argument is deprecated and no longer documented, -dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one -dnl here make sure it is the same as any other declaration of libltdl's -dnl location! This also ensures lt_ltdl_dir is set when configure.ac is -dnl not yet using an explicit LT_CONFIG_LTDL_DIR. -m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl -_$0() -])# LTDL_CONVENIENCE - -# AC_LIBLTDL_CONVENIENCE accepted a directory argument in older libtools, -# now we have LT_CONFIG_LTDL_DIR: -AU_DEFUN([AC_LIBLTDL_CONVENIENCE], -[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) -_LTDL_CONVENIENCE]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBLTDL_CONVENIENCE], []) - - -# _LTDL_CONVENIENCE -# ----------------- -# Code shared by LTDL_CONVENIENCE and LTDL_INIT([convenience]). -m4_defun([_LTDL_CONVENIENCE], -[case $enable_ltdl_convenience in - no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; - "") enable_ltdl_convenience=yes - ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; -esac -LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la" -LTDLDEPS=$LIBLTDL -LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}" - -AC_SUBST([LIBLTDL]) -AC_SUBST([LTDLDEPS]) -AC_SUBST([LTDLINCL]) - -# For backwards non-gettext consistent compatibility... -INCLTDL="$LTDLINCL" -AC_SUBST([INCLTDL]) -])# _LTDL_CONVENIENCE - - -# LTDL_INSTALLABLE -# ---------------- -# sets LIBLTDL to the link flags for the libltdl installable library -# and LTDLINCL to the include flags for the libltdl header and adds -# --enable-ltdl-install to the configure arguments. Note that -# AC_CONFIG_SUBDIRS is not called from here. If an installed libltdl -# is not found, LIBLTDL will be prefixed with '${top_build_prefix}' if -# available, otherwise with '${top_builddir}/', and LTDLINCL will be -# prefixed with '${top_srcdir}/' (note the single quotes!). If your -# package is not flat and you're not using automake, define top_build_prefix, -# top_builddir, and top_srcdir appropriately in your Makefiles. -# In the future, this macro may have to be called after LT_INIT. -AC_DEFUN([LTDL_INSTALLABLE], -[AC_BEFORE([$0], [LTDL_INIT])dnl -dnl Although the argument is deprecated and no longer documented, -dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one -dnl here make sure it is the same as any other declaration of libltdl's -dnl location! This also ensures lt_ltdl_dir is set when configure.ac is -dnl not yet using an explicit LT_CONFIG_LTDL_DIR. -m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl -_$0() -])# LTDL_INSTALLABLE - -# AC_LIBLTDL_INSTALLABLE accepted a directory argument in older libtools, -# now we have LT_CONFIG_LTDL_DIR: -AU_DEFUN([AC_LIBLTDL_INSTALLABLE], -[_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) -_LTDL_INSTALLABLE]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBLTDL_INSTALLABLE], []) - - -# _LTDL_INSTALLABLE -# ----------------- -# Code shared by LTDL_INSTALLABLE and LTDL_INIT([installable]). -m4_defun([_LTDL_INSTALLABLE], -[if test -f $prefix/lib/libltdl.la; then - lt_save_LDFLAGS="$LDFLAGS" - LDFLAGS="-L$prefix/lib $LDFLAGS" - AC_CHECK_LIB([ltdl], [lt_dlinit], [lt_lib_ltdl=yes]) - LDFLAGS="$lt_save_LDFLAGS" - if test x"${lt_lib_ltdl-no}" = xyes; then - if test x"$enable_ltdl_install" != xyes; then - # Don't overwrite $prefix/lib/libltdl.la without --enable-ltdl-install - AC_MSG_WARN([not overwriting libltdl at $prefix, force with `--enable-ltdl-install']) - enable_ltdl_install=no - fi - elif test x"$enable_ltdl_install" = xno; then - AC_MSG_WARN([libltdl not installed, but installation disabled]) - fi -fi - -# If configure.ac declared an installable ltdl, and the user didn't override -# with --disable-ltdl-install, we will install the shipped libltdl. -case $enable_ltdl_install in - no) ac_configure_args="$ac_configure_args --enable-ltdl-install=no" - LIBLTDL="-lltdl" - LTDLDEPS= - LTDLINCL= - ;; - *) enable_ltdl_install=yes - ac_configure_args="$ac_configure_args --enable-ltdl-install" - LIBLTDL='_LT_BUILD_PREFIX'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdl.la" - LTDLDEPS=$LIBLTDL - LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}" - ;; -esac - -AC_SUBST([LIBLTDL]) -AC_SUBST([LTDLDEPS]) -AC_SUBST([LTDLINCL]) - -# For backwards non-gettext consistent compatibility... -INCLTDL="$LTDLINCL" -AC_SUBST([INCLTDL]) -])# LTDL_INSTALLABLE - - -# _LTDL_MODE_DISPATCH -# ------------------- -m4_define([_LTDL_MODE_DISPATCH], -[dnl If _LTDL_DIR is `.', then we are configuring libltdl itself: -m4_if(_LTDL_DIR, [], - [], - dnl if _LTDL_MODE was not set already, the default value is `subproject': - [m4_case(m4_default(_LTDL_MODE, [subproject]), - [subproject], [AC_CONFIG_SUBDIRS(_LTDL_DIR) - _LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"])], - [nonrecursive], [_LT_SHELL_INIT([lt_dlopen_dir="$lt_ltdl_dir"; lt_libobj_prefix="$lt_ltdl_dir/"])], - [recursive], [], - [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])dnl -dnl Be careful not to expand twice: -m4_define([$0], []) -])# _LTDL_MODE_DISPATCH - - -# _LT_LIBOBJ(MODULE_NAME) -# ----------------------- -# Like AC_LIBOBJ, except that MODULE_NAME goes into _LT_LIBOBJS instead -# of into LIBOBJS. -AC_DEFUN([_LT_LIBOBJ], [ - m4_pattern_allow([^_LT_LIBOBJS$]) - _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" -])# _LT_LIBOBJS - - -# LTDL_INIT([OPTIONS]) -# -------------------- -# Clients of libltdl can use this macro to allow the installer to -# choose between a shipped copy of the ltdl sources or a preinstalled -# version of the library. If the shipped ltdl sources are not in a -# subdirectory named libltdl, the directory name must be given by -# LT_CONFIG_LTDL_DIR. -AC_DEFUN([LTDL_INIT], -[dnl Parse OPTIONS -_LT_SET_OPTIONS([$0], [$1]) - -dnl We need to keep our own list of libobjs separate from our parent project, -dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while -dnl we look for our own LIBOBJs. -m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) -m4_pushdef([AC_LIBSOURCES]) - -dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: -m4_if(_LTDL_MODE, [], - [m4_define([_LTDL_MODE], m4_default([$2], [subproject])) - m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])], - [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])]) - -AC_ARG_WITH([included_ltdl], - [AS_HELP_STRING([--with-included-ltdl], - [use the GNU ltdl sources included here])]) - -if test "x$with_included_ltdl" != xyes; then - # We are not being forced to use the included libltdl sources, so - # decide whether there is a useful installed version we can use. - AC_CHECK_HEADER([ltdl.h], - [AC_CHECK_DECL([lt_dlinterface_register], - [AC_CHECK_LIB([ltdl], [lt_dladvise_preload], - [with_included_ltdl=no], - [with_included_ltdl=yes])], - [with_included_ltdl=yes], - [AC_INCLUDES_DEFAULT - #include ])], - [with_included_ltdl=yes], - [AC_INCLUDES_DEFAULT] - ) -fi - -dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE -dnl was called yet, then for old times' sake, we assume libltdl is in an -dnl eponymous directory: -AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) - -AC_ARG_WITH([ltdl_include], - [AS_HELP_STRING([--with-ltdl-include=DIR], - [use the ltdl headers installed in DIR])]) - -if test -n "$with_ltdl_include"; then - if test -f "$with_ltdl_include/ltdl.h"; then : - else - AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include']) - fi -else - with_ltdl_include=no -fi - -AC_ARG_WITH([ltdl_lib], - [AS_HELP_STRING([--with-ltdl-lib=DIR], - [use the libltdl.la installed in DIR])]) - -if test -n "$with_ltdl_lib"; then - if test -f "$with_ltdl_lib/libltdl.la"; then : - else - AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib']) - fi -else - with_ltdl_lib=no -fi - -case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in - ,yes,no,no,) - m4_case(m4_default(_LTDL_TYPE, [convenience]), - [convenience], [_LTDL_CONVENIENCE], - [installable], [_LTDL_INSTALLABLE], - [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)]) - ;; - ,no,no,no,) - # If the included ltdl is not to be used, then use the - # preinstalled libltdl we found. - AC_DEFINE([HAVE_LTDL], [1], - [Define this if a modern libltdl is already installed]) - LIBLTDL=-lltdl - LTDLDEPS= - LTDLINCL= - ;; - ,no*,no,*) - AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together]) - ;; - *) with_included_ltdl=no - LIBLTDL="-L$with_ltdl_lib -lltdl" - LTDLDEPS= - LTDLINCL="-I$with_ltdl_include" - ;; -esac -INCLTDL="$LTDLINCL" - -# Report our decision... -AC_MSG_CHECKING([where to find libltdl headers]) -AC_MSG_RESULT([$LTDLINCL]) -AC_MSG_CHECKING([where to find libltdl library]) -AC_MSG_RESULT([$LIBLTDL]) - -_LTDL_SETUP - -dnl restore autoconf definition. -m4_popdef([AC_LIBOBJ]) -m4_popdef([AC_LIBSOURCES]) - -AC_CONFIG_COMMANDS_PRE([ - _ltdl_libobjs= - _ltdl_ltlibobjs= - if test -n "$_LT_LIBOBJS"; then - # Remove the extension. - _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' - for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do - _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" - _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" - done - fi - AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs]) - AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs]) -]) - -# Only expand once: -m4_define([LTDL_INIT]) -])# LTDL_INIT - -# Old names: -AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) -AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) -AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIB_LTDL], []) -dnl AC_DEFUN([AC_WITH_LTDL], []) -dnl AC_DEFUN([LT_WITH_LTDL], []) - - -# _LTDL_SETUP -# ----------- -# Perform all the checks necessary for compilation of the ltdl objects -# -- including compiler checks and header checks. This is a public -# interface mainly for the benefit of libltdl's own configure.ac, most -# other users should call LTDL_INIT instead. -AC_DEFUN([_LTDL_SETUP], -[AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([LT_SYS_MODULE_EXT])dnl -AC_REQUIRE([LT_SYS_MODULE_PATH])dnl -AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl -AC_REQUIRE([LT_LIB_DLLOAD])dnl -AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl -AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl -AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl -AC_REQUIRE([gl_FUNC_ARGZ])dnl - -m4_require([_LT_CHECK_OBJDIR])dnl -m4_require([_LT_HEADER_DLFCN])dnl -m4_require([_LT_CHECK_DLPREOPEN])dnl -m4_require([_LT_DECL_SED])dnl - -dnl Don't require this, or it will be expanded earlier than the code -dnl that sets the variables it relies on: -_LT_ENABLE_INSTALL - -dnl _LTDL_MODE specific code must be called at least once: -_LTDL_MODE_DISPATCH - -# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS -# the user used. This is so that ltdl.h can pick up the parent projects -# config.h file, The first file in AC_CONFIG_HEADERS must contain the -# definitions required by ltdl.c. -# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). -AC_CONFIG_COMMANDS_PRE([dnl -m4_pattern_allow([^LT_CONFIG_H$])dnl -m4_ifset([AH_HEADER], - [LT_CONFIG_H=AH_HEADER], - [m4_ifset([AC_LIST_HEADERS], - [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`], - [])])]) -AC_SUBST([LT_CONFIG_H]) - -AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h], - [], [], [AC_INCLUDES_DEFAULT]) - -AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) -AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) - -AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) - -name=ltdl -LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""` -AC_SUBST([LTDLOPEN]) -])# _LTDL_SETUP - - -# _LT_ENABLE_INSTALL -# ------------------ -m4_define([_LT_ENABLE_INSTALL], -[AC_ARG_ENABLE([ltdl-install], - [AS_HELP_STRING([--enable-ltdl-install], [install libltdl])]) - -case ,${enable_ltdl_install},${enable_ltdl_convenience} in - *yes*) ;; - *) enable_ltdl_convenience=yes ;; -esac - -m4_ifdef([AM_CONDITIONAL], -[AM_CONDITIONAL(INSTALL_LTDL, test x"${enable_ltdl_install-no}" != xno) - AM_CONDITIONAL(CONVENIENCE_LTDL, test x"${enable_ltdl_convenience-no}" != xno)]) -])# _LT_ENABLE_INSTALL - - -# LT_SYS_DLOPEN_DEPLIBS -# --------------------- -AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -AC_CACHE_CHECK([whether deplibs are loaded by dlopen], - [lt_cv_sys_dlopen_deplibs], - [# PORTME does your system automatically load deplibs for dlopen? - # or its logical equivalent (e.g. shl_load for HP-UX < 11) - # For now, we just catch OSes we know something about -- in the - # future, we'll try test this programmatically. - lt_cv_sys_dlopen_deplibs=unknown - case $host_os in - aix3*|aix4.1.*|aix4.2.*) - # Unknown whether this is true for these versions of AIX, but - # we want this `case' here to explicitly catch those versions. - lt_cv_sys_dlopen_deplibs=unknown - ;; - aix[[4-9]]*) - lt_cv_sys_dlopen_deplibs=yes - ;; - amigaos*) - case $host_cpu in - powerpc) - lt_cv_sys_dlopen_deplibs=no - ;; - esac - ;; - darwin*) - # Assuming the user has installed a libdl from somewhere, this is true - # If you are looking for one http://www.opendarwin.org/projects/dlcompat - lt_cv_sys_dlopen_deplibs=yes - ;; - freebsd* | dragonfly*) - lt_cv_sys_dlopen_deplibs=yes - ;; - gnu* | linux* | k*bsd*-gnu) - # GNU and its variants, using gnu ld.so (Glibc) - lt_cv_sys_dlopen_deplibs=yes - ;; - hpux10*|hpux11*) - lt_cv_sys_dlopen_deplibs=yes - ;; - interix*) - lt_cv_sys_dlopen_deplibs=yes - ;; - irix[[12345]]*|irix6.[[01]]*) - # Catch all versions of IRIX before 6.2, and indicate that we don't - # know how it worked for any of those versions. - lt_cv_sys_dlopen_deplibs=unknown - ;; - irix*) - # The case above catches anything before 6.2, and it's known that - # at 6.2 and later dlopen does load deplibs. - lt_cv_sys_dlopen_deplibs=yes - ;; - netbsd*) - lt_cv_sys_dlopen_deplibs=yes - ;; - openbsd*) - lt_cv_sys_dlopen_deplibs=yes - ;; - osf[[1234]]*) - # dlopen did load deplibs (at least at 4.x), but until the 5.x series, - # it did *not* use an RPATH in a shared library to find objects the - # library depends on, so we explicitly say `no'. - lt_cv_sys_dlopen_deplibs=no - ;; - osf5.0|osf5.0a|osf5.1) - # dlopen *does* load deplibs and with the right loader patch applied - # it even uses RPATH in a shared library to search for shared objects - # that the library depends on, but there's no easy way to know if that - # patch is installed. Since this is the case, all we can really - # say is unknown -- it depends on the patch being installed. If - # it is, this changes to `yes'. Without it, it would be `no'. - lt_cv_sys_dlopen_deplibs=unknown - ;; - osf*) - # the two cases above should catch all versions of osf <= 5.1. Read - # the comments above for what we know about them. - # At > 5.1, deplibs are loaded *and* any RPATH in a shared library - # is used to find them so we can finally say `yes'. - lt_cv_sys_dlopen_deplibs=yes - ;; - qnx*) - lt_cv_sys_dlopen_deplibs=yes - ;; - solaris*) - lt_cv_sys_dlopen_deplibs=yes - ;; - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - libltdl_cv_sys_dlopen_deplibs=yes - ;; - esac - ]) -if test "$lt_cv_sys_dlopen_deplibs" != yes; then - AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], - [Define if the OS needs help to load dependent libraries for dlopen().]) -fi -])# LT_SYS_DLOPEN_DEPLIBS - -# Old name: -AU_ALIAS([AC_LTDL_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], []) - - -# LT_SYS_MODULE_EXT -# ----------------- -AC_DEFUN([LT_SYS_MODULE_EXT], -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl -AC_CACHE_CHECK([which extension is used for runtime loadable modules], - [libltdl_cv_shlibext], -[ -module=yes -eval libltdl_cv_shlibext=$shrext_cmds - ]) -if test -n "$libltdl_cv_shlibext"; then - m4_pattern_allow([LT_MODULE_EXT])dnl - AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], - [Define to the extension used for runtime loadable modules, say, ".so".]) -fi -])# LT_SYS_MODULE_EXT - -# Old name: -AU_ALIAS([AC_LTDL_SHLIBEXT], [LT_SYS_MODULE_EXT]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SHLIBEXT], []) - - -# LT_SYS_MODULE_PATH -# ------------------ -AC_DEFUN([LT_SYS_MODULE_PATH], -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl -AC_CACHE_CHECK([which variable specifies run-time module search path], - [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"]) -if test -n "$lt_cv_module_path_var"; then - m4_pattern_allow([LT_MODULE_PATH_VAR])dnl - AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"], - [Define to the name of the environment variable that determines the run-time module search path.]) -fi -])# LT_SYS_MODULE_PATH - -# Old name: -AU_ALIAS([AC_LTDL_SHLIBPATH], [LT_SYS_MODULE_PATH]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SHLIBPATH], []) - - -# LT_SYS_DLSEARCH_PATH -# -------------------- -AC_DEFUN([LT_SYS_DLSEARCH_PATH], -[m4_require([_LT_SYS_DYNAMIC_LINKER])dnl -AC_CACHE_CHECK([for the default library search path], - [lt_cv_sys_dlsearch_path], - [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"]) -if test -n "$lt_cv_sys_dlsearch_path"; then - sys_dlsearch_path= - for dir in $lt_cv_sys_dlsearch_path; do - if test -z "$sys_dlsearch_path"; then - sys_dlsearch_path="$dir" - else - sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir" - fi - done - m4_pattern_allow([LT_DLSEARCH_PATH])dnl - AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"], - [Define to the system default library search path.]) -fi -])# LT_SYS_DLSEARCH_PATH - -# Old name: -AU_ALIAS([AC_LTDL_SYSSEARCHPATH], [LT_SYS_DLSEARCH_PATH]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SYSSEARCHPATH], []) - - -# _LT_CHECK_DLPREOPEN -# ------------------- -m4_defun([_LT_CHECK_DLPREOPEN], -[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -AC_CACHE_CHECK([whether libtool supports -dlopen/-dlpreopen], - [libltdl_cv_preloaded_symbols], - [if test -n "$lt_cv_sys_global_symbol_pipe"; then - libltdl_cv_preloaded_symbols=yes - else - libltdl_cv_preloaded_symbols=no - fi - ]) -if test x"$libltdl_cv_preloaded_symbols" = xyes; then - AC_DEFINE([HAVE_PRELOADED_SYMBOLS], [1], - [Define if libtool can extract symbol lists from object files.]) -fi -])# _LT_CHECK_DLPREOPEN - - -# LT_LIB_DLLOAD -# ------------- -AC_DEFUN([LT_LIB_DLLOAD], -[m4_pattern_allow([^LT_DLLOADERS$]) -LT_DLLOADERS= -AC_SUBST([LT_DLLOADERS]) - -AC_LANG_PUSH([C]) - -LIBADD_DLOPEN= -AC_SEARCH_LIBS([dlopen], [dl], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.]) - if test "$ac_cv_search_dlopen" != "none required" ; then - LIBADD_DLOPEN="-ldl" - fi - libltdl_cv_lib_dl_dlopen="yes" - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], - [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H -# include -#endif - ]], [[dlopen(0, 0);]])], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.]) - libltdl_cv_func_dlopen="yes" - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], - [AC_CHECK_LIB([svld], [dlopen], - [AC_DEFINE([HAVE_LIBDL], [1], - [Define if you have the libdl library or equivalent.]) - LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) -if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes -then - lt_save_LIBS="$LIBS" - LIBS="$LIBS $LIBADD_DLOPEN" - AC_CHECK_FUNCS([dlerror]) - LIBS="$lt_save_LIBS" -fi -AC_SUBST([LIBADD_DLOPEN]) - -LIBADD_SHL_LOAD= -AC_CHECK_FUNC([shl_load], - [AC_DEFINE([HAVE_SHL_LOAD], [1], - [Define if you have the shl_load function.]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], - [AC_CHECK_LIB([dld], [shl_load], - [AC_DEFINE([HAVE_SHL_LOAD], [1], - [Define if you have the shl_load function.]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" - LIBADD_SHL_LOAD="-ldld"])]) -AC_SUBST([LIBADD_SHL_LOAD]) - -case $host_os in -darwin[[1567]].*) -# We only want this for pre-Mac OS X 10.4. - AC_CHECK_FUNC([_dyld_func_lookup], - [AC_DEFINE([HAVE_DYLD], [1], - [Define if you have the _dyld_func_lookup function.]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) - ;; -beos*) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" - ;; -cygwin* | mingw* | os2* | pw32*) - AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include ]]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" - ;; -esac - -AC_CHECK_LIB([dld], [dld_link], - [AC_DEFINE([HAVE_DLD], [1], - [Define if you have the GNU dld library.]) - LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) -AC_SUBST([LIBADD_DLD_LINK]) - -m4_pattern_allow([^LT_DLPREOPEN$]) -LT_DLPREOPEN= -if test -n "$LT_DLLOADERS" -then - for lt_loader in $LT_DLLOADERS; do - LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " - done - AC_DEFINE([HAVE_LIBDLLOADER], [1], - [Define if libdlloader will be built on this platform]) -fi -AC_SUBST([LT_DLPREOPEN]) - -dnl This isn't used anymore, but set it for backwards compatibility -LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" -AC_SUBST([LIBADD_DL]) - -AC_LANG_POP -])# LT_LIB_DLLOAD - -# Old name: -AU_ALIAS([AC_LTDL_DLLIB], [LT_LIB_DLLOAD]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_DLLIB], []) - - -# LT_SYS_SYMBOL_USCORE -# -------------------- -# does the compiler prefix global symbols with an underscore? -AC_DEFUN([LT_SYS_SYMBOL_USCORE], -[m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl -AC_CACHE_CHECK([for _ prefix in compiled symbols], - [lt_cv_sys_symbol_underscore], - [lt_cv_sys_symbol_underscore=no - cat > conftest.$ac_ext <<_LT_EOF -void nm_test_func(){} -int main(){nm_test_func;return 0;} -_LT_EOF - if AC_TRY_EVAL(ac_compile); then - # Now try to grab the symbols. - ac_nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then - # See whether the symbols have a leading underscore. - if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then - lt_cv_sys_symbol_underscore=yes - else - if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then - : - else - echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD - fi - fi - else - echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD - fi - else - echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD - cat conftest.c >&AS_MESSAGE_LOG_FD - fi - rm -rf conftest* - ]) - sys_symbol_underscore=$lt_cv_sys_symbol_underscore - AC_SUBST([sys_symbol_underscore]) -])# LT_SYS_SYMBOL_USCORE - -# Old name: -AU_ALIAS([AC_LTDL_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], []) - - -# LT_FUNC_DLSYM_USCORE -# -------------------- -AC_DEFUN([LT_FUNC_DLSYM_USCORE], -[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl -if test x"$lt_cv_sys_symbol_underscore" = xyes; then - if test x"$libltdl_cv_func_dlopen" = xyes || - test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then - AC_CACHE_CHECK([whether we have to add an underscore for dlsym], - [libltdl_cv_need_uscore], - [libltdl_cv_need_uscore=unknown - save_LIBS="$LIBS" - LIBS="$LIBS $LIBADD_DLOPEN" - _LT_TRY_DLOPEN_SELF( - [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes], - [], [libltdl_cv_need_uscore=cross]) - LIBS="$save_LIBS" - ]) - fi -fi - -if test x"$libltdl_cv_need_uscore" = xyes; then - AC_DEFINE([NEED_USCORE], [1], - [Define if dlsym() requires a leading underscore in symbol names.]) -fi -])# LT_FUNC_DLSYM_USCORE - -# Old name: -AU_ALIAS([AC_LTDL_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE]) -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LTDL_DLSYM_USCORE], []) - diff --git a/Externals/SDL/acinclude/ltoptions.m4 b/Externals/SDL/acinclude/ltoptions.m4 deleted file mode 100644 index d4df679195..0000000000 --- a/Externals/SDL/acinclude/ltoptions.m4 +++ /dev/null @@ -1,370 +0,0 @@ -############################################################################## -# Helper functions for option handling. -*- Autoconf -*- -# -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 6 ltoptions.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) - - -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) -# ------------------------------------------ -m4_define([_LT_MANGLE_OPTION], -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) - - -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) -# --------------------------------------- -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a -# matching handler defined, dispatch to it. Other OPTION-NAMEs are -# saved as a flag. -m4_define([_LT_SET_OPTION], -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), - _LT_MANGLE_DEFUN([$1], [$2]), - [m4_warning([Unknown $1 option `$2'])])[]dnl -]) - - -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) -# ------------------------------------------------------------ -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -m4_define([_LT_IF_OPTION], -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) - - -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) -# ------------------------------------------------------- -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME -# are set. -m4_define([_LT_UNLESS_OPTIONS], -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), - [m4_define([$0_found])])])[]dnl -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 -])[]dnl -]) - - -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) -# ---------------------------------------- -# OPTION-LIST is a space-separated list of Libtool options associated -# with MACRO-NAME. If any OPTION has a matching handler declared with -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about -# the unknown option and exit. -m4_defun([_LT_SET_OPTIONS], -[# Set options -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), - [_LT_SET_OPTION([$1], _LT_Option)]) - -m4_if([$1],[LT_INIT],[ - dnl - dnl Simply set some default values (i.e off) if boolean options were not - dnl specified: - _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no - ]) - _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no - ]) - dnl - dnl If no reference was made to various pairs of opposing options, then - dnl we run the default mode handler for the pair. For example, if neither - dnl `shared' nor `disable-shared' was passed, we enable building of shared - dnl archives by default: - _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) - _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) - _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], - [_LT_ENABLE_FAST_INSTALL]) - ]) -])# _LT_SET_OPTIONS - - -## --------------------------------- ## -## Macros to handle LT_INIT options. ## -## --------------------------------- ## - -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) -# ----------------------------------------- -m4_define([_LT_MANGLE_DEFUN], -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) - - -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) -# ----------------------------------------------- -m4_define([LT_OPTION_DEFINE], -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl -])# LT_OPTION_DEFINE - - -# dlopen -# ------ -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes -]) - -AU_DEFUN([AC_LIBTOOL_DLOPEN], -[_LT_SET_OPTION([LT_INIT], [dlopen]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `dlopen' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) - - -# win32-dll -# --------- -# Declare package support for building win32 dll's. -LT_OPTION_DEFINE([LT_INIT], [win32-dll], -[enable_win32_dll=yes - -case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) - AC_CHECK_TOOL(AS, as, false) - AC_CHECK_TOOL(DLLTOOL, dlltool, false) - AC_CHECK_TOOL(OBJDUMP, objdump, false) - ;; -esac - -test -z "$AS" && AS=as -_LT_DECL([], [AS], [0], [Assembler program])dnl - -test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl - -test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl -])# win32-dll - -AU_DEFUN([AC_LIBTOOL_WIN32_DLL], -[AC_REQUIRE([AC_CANONICAL_HOST])dnl -_LT_SET_OPTION([LT_INIT], [win32-dll]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `win32-dll' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) - - -# _LT_ENABLE_SHARED([DEFAULT]) -# ---------------------------- -# implement the --enable-shared flag, and supports the `shared' and -# `disable-shared' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_SHARED], -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([shared], - [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], - [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) - - _LT_DECL([build_libtool_libs], [enable_shared], [0], - [Whether or not to build shared libraries]) -])# _LT_ENABLE_SHARED - -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) -]) - -AC_DEFUN([AC_DISABLE_SHARED], -[_LT_SET_OPTION([LT_INIT], [disable-shared]) -]) - -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_SHARED], []) -dnl AC_DEFUN([AM_DISABLE_SHARED], []) - - - -# _LT_ENABLE_STATIC([DEFAULT]) -# ---------------------------- -# implement the --enable-static flag, and support the `static' and -# `disable-static' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_STATIC], -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([static], - [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], - [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_static=]_LT_ENABLE_STATIC_DEFAULT) - - _LT_DECL([build_old_libs], [enable_static], [0], - [Whether or not to build static libraries]) -])# _LT_ENABLE_STATIC - -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) - -# Old names: -AC_DEFUN([AC_ENABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) -]) - -AC_DEFUN([AC_DISABLE_STATIC], -[_LT_SET_OPTION([LT_INIT], [disable-static]) -]) - -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AM_ENABLE_STATIC], []) -dnl AC_DEFUN([AM_DISABLE_STATIC], []) - - - -# _LT_ENABLE_FAST_INSTALL([DEFAULT]) -# ---------------------------------- -# implement the --enable-fast-install flag, and support the `fast-install' -# and `disable-fast-install' LT_INIT options. -# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. -m4_define([_LT_ENABLE_FAST_INSTALL], -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl -AC_ARG_ENABLE([fast-install], - [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], - [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], - [p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac], - [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) - -_LT_DECL([fast_install], [enable_fast_install], [0], - [Whether or not to optimize for fast installation])dnl -])# _LT_ENABLE_FAST_INSTALL - -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) - -# Old names: -AU_DEFUN([AC_ENABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the `fast-install' option into LT_INIT's first parameter.]) -]) - -AU_DEFUN([AC_DISABLE_FAST_INSTALL], -[_LT_SET_OPTION([LT_INIT], [disable-fast-install]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you put -the `disable-fast-install' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) - - -# _LT_WITH_PIC([MODE]) -# -------------------- -# implement the --with-pic flag, and support the `pic-only' and `no-pic' -# LT_INIT options. -# MODE is either `yes' or `no'. If omitted, it defaults to `both'. -m4_define([_LT_WITH_PIC], -[AC_ARG_WITH([pic], - [AS_HELP_STRING([--with-pic], - [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], - [pic_mode=default]) - -test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) - -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl -])# _LT_WITH_PIC - -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) - -# Old name: -AU_DEFUN([AC_LIBTOOL_PICMODE], -[_LT_SET_OPTION([LT_INIT], [pic-only]) -AC_DIAGNOSE([obsolete], -[$0: Remove this warning and the call to _LT_SET_OPTION when you -put the `pic-only' option into LT_INIT's first parameter.]) -]) - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) - -## ----------------- ## -## LTDL_INIT Options ## -## ----------------- ## - -m4_define([_LTDL_MODE], []) -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], - [m4_define([_LTDL_MODE], [nonrecursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [recursive], - [m4_define([_LTDL_MODE], [recursive])]) -LT_OPTION_DEFINE([LTDL_INIT], [subproject], - [m4_define([_LTDL_MODE], [subproject])]) - -m4_define([_LTDL_TYPE], []) -LT_OPTION_DEFINE([LTDL_INIT], [installable], - [m4_define([_LTDL_TYPE], [installable])]) -LT_OPTION_DEFINE([LTDL_INIT], [convenience], - [m4_define([_LTDL_TYPE], [convenience])]) - diff --git a/Externals/SDL/acinclude/ltsugar.m4 b/Externals/SDL/acinclude/ltsugar.m4 deleted file mode 100644 index 02a939d819..0000000000 --- a/Externals/SDL/acinclude/ltsugar.m4 +++ /dev/null @@ -1,125 +0,0 @@ -############################################################################## -# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- -# -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. -# Written by Gary V. Vaughan, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 6 ltsugar.m4 - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) - - -# lt_join(SEP, ARG1, [ARG2...]) -# ----------------------------- -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their -# associated separator. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier -# versions in m4sugar had bugs. -m4_define([lt_join], -[m4_if([$#], [1], [], - [$#], [2], [[$2]], - [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) -m4_define([_lt_join], -[m4_if([$#$2], [2], [], - [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) - - -# lt_car(LIST) -# lt_cdr(LIST) -# ------------ -# Manipulate m4 lists. -# These macros are necessary as long as will still need to support -# Autoconf-2.59 which quotes differently. -m4_define([lt_car], [[$1]]) -m4_define([lt_cdr], -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], - [$#], 1, [], - [m4_dquote(m4_shift($@))])]) -m4_define([lt_unquote], $1) - - -# lt_append(MACRO-NAME, STRING, [SEPARATOR]) -# ------------------------------------------ -# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. -# Note that neither SEPARATOR nor STRING are expanded; they are appended -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). -# No SEPARATOR is output if MACRO-NAME was previously undefined (different -# than defined and empty). -# -# This macro is needed until we can rely on Autoconf 2.62, since earlier -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING. -m4_define([lt_append], -[m4_define([$1], - m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) - - - -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) -# ---------------------------------------------------------- -# Produce a SEP delimited list of all paired combinations of elements of -# PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list -# has the form PREFIXmINFIXSUFFIXn. -# Needed until we can rely on m4_combine added in Autoconf 2.62. -m4_define([lt_combine], -[m4_if(m4_eval([$# > 3]), [1], - [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl -[[m4_foreach([_Lt_prefix], [$2], - [m4_foreach([_Lt_suffix], - ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, - [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) - - -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) -# ----------------------------------------------------------------------- -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. -m4_define([lt_if_append_uniq], -[m4_ifdef([$1], - [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], - [lt_append([$1], [$2], [$3])$4], - [$5])], - [lt_append([$1], [$2], [$3])$4])]) - - -# lt_dict_add(DICT, KEY, VALUE) -# ----------------------------- -m4_define([lt_dict_add], -[m4_define([$1($2)], [$3])]) - - -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) -# -------------------------------------------- -m4_define([lt_dict_add_subkey], -[m4_define([$1($2:$3)], [$4])]) - - -# lt_dict_fetch(DICT, KEY, [SUBKEY]) -# ---------------------------------- -m4_define([lt_dict_fetch], -[m4_ifval([$3], - m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), - m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) - - -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) -# ----------------------------------------------------------------- -m4_define([lt_if_dict_fetch], -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], - [$5], - [$6])]) - - -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) -# -------------------------------------------------------------- -m4_define([lt_dict_filter], -[m4_if([$5], [], [], - [lt_join(m4_quote(m4_default([$4], [[, ]])), - lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), - [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl -]) - diff --git a/Externals/SDL/acinclude/ltversion.m4 b/Externals/SDL/acinclude/ltversion.m4 deleted file mode 100644 index 83a83f20ad..0000000000 --- a/Externals/SDL/acinclude/ltversion.m4 +++ /dev/null @@ -1,25 +0,0 @@ -############################################################################## -# ltversion.m4 -- version numbers -*- Autoconf -*- -# -# Copyright (C) 2004 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004 -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# Generated from ltversion.in. - -# serial 3012 ltversion.m4 -# This file is part of GNU Libtool - -m4_define([LT_PACKAGE_VERSION], [2.2.6]) -m4_define([LT_PACKAGE_REVISION], [1.3012]) - -AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.6' -macro_revision='1.3012' -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) -_LT_DECL(, macro_revision, 0) -]) - diff --git a/Externals/SDL/acinclude/lt~obsolete.m4 b/Externals/SDL/acinclude/lt~obsolete.m4 deleted file mode 100644 index 3b2acd4d00..0000000000 --- a/Externals/SDL/acinclude/lt~obsolete.m4 +++ /dev/null @@ -1,93 +0,0 @@ -############################################################################## -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- -# -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. -# Written by Scott James Remnant, 2004. -# -# This file is free software; the Free Software Foundation gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. - -# serial 4 lt~obsolete.m4 - -# These exist entirely to fool aclocal when bootstrapping libtool. -# -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) -# which have later been changed to m4_define as they aren't part of the -# exported API, or moved to Autoconf or Automake where they belong. -# -# The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us -# using a macro with the same name in our local m4/libtool.m4 it'll -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define -# and doesn't know about Autoconf macros at all.) -# -# So we provide this file, which has a silly filename so it's always -# included after everything else. This provides aclocal with the -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything -# because those macros already exist, or will be overwritten later. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. -# -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. -# Yes, that means every name once taken will need to remain here until -# we give up compatibility with versions before 1.7, at which point -# we need to keep only those names which we still refer to. - -# This is to help aclocal find these macros, as it can't see m4_define. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) - -m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) -m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) -m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) -m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) -m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) -m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) -m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) -m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) -m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) -m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) -m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) -m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) -m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) -m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) -m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) -m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) -m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) -m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) -m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) -m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) -m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) -m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) -m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) -m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) -m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) -m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) -m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) -m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) -m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) -m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) -m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) -m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) -m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) diff --git a/Externals/SDL/autogen.sh b/Externals/SDL/autogen.sh deleted file mode 100755 index 649d7b31e9..0000000000 --- a/Externals/SDL/autogen.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -echo "Generating build information using autoconf" -echo "This may take a while ..." - -# Regenerate configuration files -cat acinclude/* >aclocal.m4 -found=false -for autoconf in autoconf autoconf259 autoconf-2.59 -do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi -done -if test x$found = xfalse; then - echo "Couldn't find autoconf, aborting" - exit 1 -fi -(cd test; sh autogen.sh) - -# Run configure for this platform -echo "Now you are ready to run ./configure" diff --git a/Externals/SDL/build-scripts/config.guess b/Externals/SDL/build-scripts/config.guess deleted file mode 100755 index e792aac608..0000000000 --- a/Externals/SDL/build-scripts/config.guess +++ /dev/null @@ -1,1494 +0,0 @@ -#! /bin/sh -# Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. - -timestamp='2009-09-18' - -# This file is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Originally written by Per Bothner. Please send patches (context -# diff format) to and include a ChangeLog -# entry. -# -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. -# -# You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] - -Output the configuration name of the system \`$me' is run on. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.guess ($timestamp) - -Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" >&2 - exit 1 ;; - * ) - break ;; - esac -done - -if test $# != 0; then - echo "$me: too many arguments$help" >&2 - exit 1 -fi - -trap 'exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a -# compiler to aid in system detection is discouraged as it requires -# temporary files to be created and, as you can see below, it is a -# headache to deal with in a portable fashion. - -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. - -# Portable tmp directory creation inspired by the Autoconf team. - -set_cc_for_build=' -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; -: ${TMPDIR=/tmp} ; - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; -dummy=$tmp/dummy ; -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; -case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int x;" > $dummy.c ; - for c in cc gcc c89 c99 ; do - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then - CC_FOR_BUILD="$c"; break ; - fi ; - done ; - if test x"$CC_FOR_BUILD" = x ; then - CC_FOR_BUILD=no_compiler_found ; - fi - ;; - ,,*) CC_FOR_BUILD=$CC ;; - ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac ; set_cc_for_build= ;' - -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. -# (ghazi@noc.rutgers.edu 1994-08-24) -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then - PATH=$PATH:/.attbin ; export PATH -fi - -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown - -# Note: order is significant - the case branches are not exclusive. - -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in - *:NetBSD:*:*) - # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently - # switched to ELF, *-*-netbsd* would select the old - # object file format. This provides both forward - # compatibility and a consistent mechanism for selecting the - # object file format. - # - # Note: NetBSD doesn't particularly care about the vendor - # portion of the name. We always set it to "unknown". - sysctl="sysctl -n hw.machine_arch" - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` - case "${UNAME_MACHINE_ARCH}" in - armeb) machine=armeb-unknown ;; - arm*) machine=arm-unknown ;; - sh3el) machine=shl-unknown ;; - sh3eb) machine=sh-unknown ;; - sh5el) machine=sh5le-unknown ;; - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; - esac - # The Operating System including object format, if it has switched - # to ELF recently, or will in the future. - case "${UNAME_MACHINE_ARCH}" in - arm*|i386|m68k|ns32k|sh3*|sparc|vax) - eval $set_cc_for_build - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ELF__ - then - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). - # Return netbsd for either. FIX? - os=netbsd - else - os=netbsdelf - fi - ;; - *) - os=netbsd - ;; - esac - # The OS release - # Debian GNU/NetBSD machines have a different userland, and - # thus, need a distinct triplet. However, they do not need - # kernel version information, so it can be replaced with a - # suitable tag, in the style of linux-gnu. - case "${UNAME_VERSION}" in - Debian*) - release='-gnu' - ;; - *) - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - ;; - esac - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: - # contains redundant information, the shorter form: - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. - echo "${machine}-${os}${release}" - exit ;; - *:OpenBSD:*:*) - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} - exit ;; - *:ekkoBSD:*:*) - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} - exit ;; - *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} - exit ;; - macppc:MirBSD:*:*) - echo powerpc-unknown-mirbsd${UNAME_RELEASE} - exit ;; - *:MirBSD:*:*) - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} - exit ;; - alpha:OSF1:*:*) - case $UNAME_RELEASE in - *4.0) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - ;; - *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` - ;; - esac - # According to Compaq, /usr/sbin/psrinfo has been available on - # OSF/1 and Tru64 systems produced since 1995. I hope that - # covers most systems running today. This code pipes the CPU - # types through head -n 1, so we only detect the type of CPU 0. - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` - case "$ALPHA_CPU_TYPE" in - "EV4 (21064)") - UNAME_MACHINE="alpha" ;; - "EV4.5 (21064)") - UNAME_MACHINE="alpha" ;; - "LCA4 (21066/21068)") - UNAME_MACHINE="alpha" ;; - "EV5 (21164)") - UNAME_MACHINE="alphaev5" ;; - "EV5.6 (21164A)") - UNAME_MACHINE="alphaev56" ;; - "EV5.6 (21164PC)") - UNAME_MACHINE="alphapca56" ;; - "EV5.7 (21164PC)") - UNAME_MACHINE="alphapca57" ;; - "EV6 (21264)") - UNAME_MACHINE="alphaev6" ;; - "EV6.7 (21264A)") - UNAME_MACHINE="alphaev67" ;; - "EV6.8CB (21264C)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8AL (21264B)") - UNAME_MACHINE="alphaev68" ;; - "EV6.8CX (21264D)") - UNAME_MACHINE="alphaev68" ;; - "EV6.9A (21264/EV69A)") - UNAME_MACHINE="alphaev69" ;; - "EV7 (21364)") - UNAME_MACHINE="alphaev7" ;; - "EV7.9 (21364A)") - UNAME_MACHINE="alphaev79" ;; - esac - # A Pn.n version is a patched version. - # A Vn.n version is a released version. - # A Tn.n version is a released field test version. - # A Xn.n version is an unreleased experimental baselevel. - # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit ;; - Amiga*:UNIX_System_V:4.0:*) - echo m68k-unknown-sysv4 - exit ;; - *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-amigaos - exit ;; - *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-unknown-morphos - exit ;; - *:OS/390:*:*) - echo i370-ibm-openedition - exit ;; - *:z/VM:*:*) - echo s390-ibm-zvmoe - exit ;; - *:OS400:*:*) - echo powerpc-ibm-os400 - exit ;; - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) - echo arm-acorn-riscix${UNAME_RELEASE} - exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) - echo arm-unknown-riscos - exit ;; - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) - echo hppa1.1-hitachi-hiuxmpp - exit ;; - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. - if test "`(/bin/universe) 2>/dev/null`" = att ; then - echo pyramid-pyramid-sysv3 - else - echo pyramid-pyramid-bsd - fi - exit ;; - NILE*:*:*:dcosx) - echo pyramid-pyramid-svr4 - exit ;; - DRS?6000:unix:4.0:6*) - echo sparc-icl-nx6 - exit ;; - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) - case `/usr/bin/uname -p` in - sparc) echo sparc-icl-nx7; exit ;; - esac ;; - s390x:SunOS:*:*) - echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4H:SunOS:5.*:*) - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - eval $set_cc_for_build - SUN_ARCH="i386" - # If there is a compiler, see if it is configured for 64-bit objects. - # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. - # This test works for both compilers. - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - SUN_ARCH="x86_64" - fi - fi - echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:6*:*) - # According to config.sub, this is the proper way to canonicalize - # SunOS6. Hard to guess exactly what SunOS6 will be like, but - # it's likely to be more like Solaris than SunOS4. - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - sun4*:SunOS:*:*) - case "`/usr/bin/arch -k`" in - Series*|S4*) - UNAME_RELEASE=`uname -v` - ;; - esac - # Japanese Language versions have a version number like `4.1.3-JL'. - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` - exit ;; - sun3*:SunOS:*:*) - echo m68k-sun-sunos${UNAME_RELEASE} - exit ;; - sun*:*:4.2BSD:*) - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 - case "`/bin/arch`" in - sun3) - echo m68k-sun-sunos${UNAME_RELEASE} - ;; - sun4) - echo sparc-sun-sunos${UNAME_RELEASE} - ;; - esac - exit ;; - aushp:SunOS:*:*) - echo sparc-auspex-sunos${UNAME_RELEASE} - exit ;; - # The situation for MiNT is a little confusing. The machine name - # can be virtually everything (everything which is not - # "atarist" or "atariste" at least should have a processor - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" - # to the lowercase version "mint" (or "freemint"). Finally - # the system name "TOS" denotes a system which is actually not - # MiNT. But MiNT is downward compatible to TOS, so this should - # be no problem. - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} - exit ;; - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; - m68k:machten:*:*) - echo m68k-apple-machten${UNAME_RELEASE} - exit ;; - powerpc:machten:*:*) - echo powerpc-apple-machten${UNAME_RELEASE} - exit ;; - RISC*:Mach:*:*) - echo mips-dec-mach_bsd4.3 - exit ;; - RISC*:ULTRIX:*:*) - echo mips-dec-ultrix${UNAME_RELEASE} - exit ;; - VAX*:ULTRIX*:*:*) - echo vax-dec-ultrix${UNAME_RELEASE} - exit ;; - 2020:CLIX:*:* | 2430:CLIX:*:*) - echo clipper-intergraph-clix${UNAME_RELEASE} - exit ;; - mips:*:*:UMIPS | mips:*:*:RISCos) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif - #if defined (host_mips) && defined (MIPSEB) - #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); - #endif - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); - #endif - #endif - exit (-1); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && - dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && - SYSTEM_NAME=`$dummy $dummyarg` && - { echo "$SYSTEM_NAME"; exit; } - echo mips-mips-riscos${UNAME_RELEASE} - exit ;; - Motorola:PowerMAX_OS:*:*) - echo powerpc-motorola-powermax - exit ;; - Motorola:*:4.3:PL8-*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) - echo powerpc-harris-powermax - exit ;; - Night_Hawk:Power_UNIX:*:*) - echo powerpc-harris-powerunix - exit ;; - m88k:CX/UX:7*:*) - echo m88k-harris-cxux7 - exit ;; - m88k:*:4*:R4*) - echo m88k-motorola-sysv4 - exit ;; - m88k:*:3*:R3*) - echo m88k-motorola-sysv3 - exit ;; - AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] - then - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ - [ ${TARGET_BINARY_INTERFACE}x = x ] - then - echo m88k-dg-dgux${UNAME_RELEASE} - else - echo m88k-dg-dguxbcs${UNAME_RELEASE} - fi - else - echo i586-dg-dgux${UNAME_RELEASE} - fi - exit ;; - M88*:DolphinOS:*:*) # DolphinOS (SVR3) - echo m88k-dolphin-sysv3 - exit ;; - M88*:*:R3*:*) - # Delta 88k system running SVR3 - echo m88k-motorola-sysv3 - exit ;; - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) - echo m88k-tektronix-sysv3 - exit ;; - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) - echo m68k-tektronix-bsd - exit ;; - *:IRIX*:*:*) - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` - exit ;; - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' - i*86:AIX:*:*) - echo i386-ibm-aix - exit ;; - ia64:AIX:*:*) - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} - exit ;; - *:AIX:2:3) - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - - main() - { - if (!__power_pc()) - exit(1); - puts("powerpc-ibm-aix3.2.5"); - exit(0); - } -EOF - if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` - then - echo "$SYSTEM_NAME" - else - echo rs6000-ibm-aix3.2.5 - fi - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then - echo rs6000-ibm-aix3.2.4 - else - echo rs6000-ibm-aix3.2 - fi - exit ;; - *:AIX:*:[456]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then - IBM_ARCH=rs6000 - else - IBM_ARCH=powerpc - fi - if [ -x /usr/bin/oslevel ] ; then - IBM_REV=`/usr/bin/oslevel` - else - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} - fi - echo ${IBM_ARCH}-ibm-aix${IBM_REV} - exit ;; - *:AIX:*:*) - echo rs6000-ibm-aix - exit ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) - echo romp-ibm-bsd4.4 - exit ;; - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to - exit ;; # report: romp-ibm BSD 4.3 - *:BOSX:*:*) - echo rs6000-bull-bosx - exit ;; - DPX/2?00:B.O.S.:*:*) - echo m68k-bull-sysv3 - exit ;; - 9000/[34]??:4.3bsd:1.*:*) - echo m68k-hp-bsd - exit ;; - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) - echo m68k-hp-bsd4.4 - exit ;; - 9000/[34678]??:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; - 9000/[678][0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac - fi - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } -EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` - test -z "$HP_ARCH" && HP_ARCH=hppa - fi ;; - esac - if [ ${HP_ARCH} = "hppa2.0w" ] - then - eval $set_cc_for_build - - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler - # generating 64-bit code. GNU and HP use different nomenclature: - # - # $ CC_FOR_BUILD=cc ./config.guess - # => hppa2.0w-hp-hpux11.23 - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess - # => hppa64-hp-hpux11.23 - - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep -q __LP64__ - then - HP_ARCH="hppa2.0w" - else - HP_ARCH="hppa64" - fi - fi - echo ${HP_ARCH}-hp-hpux${HPUX_REV} - exit ;; - ia64:HP-UX:*:*) - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` - echo ia64-hp-hpux${HPUX_REV} - exit ;; - 3050*:HI-UX:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - int - main () - { - long cpu = sysconf (_SC_CPU_VERSION); - /* The order matters, because CPU_IS_HP_MC68K erroneously returns - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct - results, however. */ - if (CPU_IS_PA_RISC (cpu)) - { - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; - default: puts ("hppa-hitachi-hiuxwe2"); break; - } - } - else if (CPU_IS_HP_MC68K (cpu)) - puts ("m68k-hitachi-hiuxwe2"); - else puts ("unknown-hitachi-hiuxwe2"); - exit (0); - } -EOF - $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - echo unknown-hitachi-hiuxwe2 - exit ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) - echo hppa1.1-hp-bsd - exit ;; - 9000/8??:4.3bsd:*:*) - echo hppa1.0-hp-bsd - exit ;; - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) - echo hppa1.0-hp-mpeix - exit ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) - echo hppa1.1-hp-osf - exit ;; - hp8??:OSF1:*:*) - echo hppa1.0-hp-osf - exit ;; - i*86:OSF1:*:*) - if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-unknown-osf1mk - else - echo ${UNAME_MACHINE}-unknown-osf1 - fi - exit ;; - parisc*:Lites*:*:*) - echo hppa1.1-hp-lites - exit ;; - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) - echo c1-convex-bsd - exit ;; - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) - echo c34-convex-bsd - exit ;; - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) - echo c38-convex-bsd - exit ;; - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) - echo c4-convex-bsd - exit ;; - CRAY*Y-MP:*:*:*) - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*[A-Z]90:*:*:*) - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ - -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*TS:*:*:*) - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*T3E:*:*:*) - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - CRAY*SV1:*:*:*) - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - *:UNICOS/mp:*:*) - echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit ;; - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} - exit ;; - sparc*:BSD/OS:*:*) - echo sparc-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} - exit ;; - *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - esac - exit ;; - i*:CYGWIN*:*) - echo ${UNAME_MACHINE}-pc-cygwin - exit ;; - *:MINGW*:*) - echo ${UNAME_MACHINE}-pc-mingw32 - exit ;; - i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 - exit ;; - i*:PW*:*) - echo ${UNAME_MACHINE}-pc-pw32 - exit ;; - *:Interix*:[3456]*) - case ${UNAME_MACHINE} in - x86) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T | authenticamd | genuineintel) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; - IA64) - echo ia64-unknown-interix${UNAME_RELEASE} - exit ;; - esac ;; - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) - echo i${UNAME_MACHINE}-pc-mks - exit ;; - 8664:Windows_NT:*) - echo x86_64-pc-mks - exit ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i586-pc-interix - exit ;; - i*:UWIN*:*) - echo ${UNAME_MACHINE}-pc-uwin - exit ;; - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-unknown-cygwin - exit ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit ;; - prep*:SunOS:5.*:*) - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` - exit ;; - *:GNU:*:*) - # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` - exit ;; - *:GNU/*:*:*) - # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu - exit ;; - i*86:Minix:*:*) - echo ${UNAME_MACHINE}-pc-minix - exit ;; - alpha:Linux:*:*) - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in - EV5) UNAME_MACHINE=alphaev5 ;; - EV56) UNAME_MACHINE=alphaev56 ;; - PCA56) UNAME_MACHINE=alphapca56 ;; - PCA57) UNAME_MACHINE=alphapca56 ;; - EV6) UNAME_MACHINE=alphaev6 ;; - EV67) UNAME_MACHINE=alphaev67 ;; - EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep -q ld.so.1 - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} - exit ;; - arm*:Linux:*:*) - eval $set_cc_for_build - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ARM_EABI__ - then - echo ${UNAME_MACHINE}-unknown-linux-gnu - else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi - fi - exit ;; - avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - cris:Linux:*:*) - echo cris-axis-linux-gnu - exit ;; - crisv32:Linux:*:*) - echo crisv32-axis-linux-gnu - exit ;; - frv:Linux:*:*) - echo frv-unknown-linux-gnu - exit ;; - i*86:Linux:*:*) - echo ${UNAME_MACHINE}-pc-linux-gnu - exit ;; - ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - mips:Linux:*:* | mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef ${UNAME_MACHINE} - #undef ${UNAME_MACHINE}el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=${UNAME_MACHINE}el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=${UNAME_MACHINE} - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; - padre:Linux:*:*) - echo sparc-unknown-linux-gnu - exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu - exit ;; - parisc:Linux:*:* | hppa:Linux:*:*) - # Look for CPU level - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; - esac - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux - exit ;; - sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - vax:Linux:*:*) - echo ${UNAME_MACHINE}-dec-linux-gnu - exit ;; - x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu - exit ;; - xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - i*86:DYNIX/ptx:4*:*) - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. - # earlier versions are messed up and put the nodename in both - # sysname and nodename. - echo i386-sequent-sysv4 - exit ;; - i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, - # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} - exit ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit ;; - i*86:syllable:*:*) - echo ${UNAME_MACHINE}-pc-syllable - exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp - exit ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} - else - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} - fi - exit ;; - i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. - case `/bin/uname -X | grep "^Machine"` in - *486*) UNAME_MACHINE=i486 ;; - *Pentium) UNAME_MACHINE=i586 ;; - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; - esac - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} - exit ;; - i*86:*:3.2:*) - if test -f /usr/options/cb.name; then - UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ - && UNAME_MACHINE=i586 - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ - && UNAME_MACHINE=i686 - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ - && UNAME_MACHINE=i686 - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL - else - echo ${UNAME_MACHINE}-pc-sysv32 - fi - exit ;; - pc:*:*:*) - # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i586. - # Note: whatever this is, it MUST be the same as what config.sub - # prints for the "djgpp" host, or else GDB configury will decide that - # this is a cross-build. - echo i586-pc-msdosdjgpp - exit ;; - Intel:Mach:3*:*) - echo i386-pc-mach3 - exit ;; - paragon:*:*:*) - echo i860-intel-osf1 - exit ;; - i860:*:4.*:*) # i860-SVR4 - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 - else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 - fi - exit ;; - mini*:CTIX:SYS*5:*) - # "miniframe" - echo m68010-convergent-sysv - exit ;; - mc68k:UNIX:SYSTEM5:3.51m) - echo m68k-convergent-sysv - exit ;; - M680?0:D-NIX:5.3:*) - echo m68k-diab-dnix - exit ;; - M68*:*:R3V[5678]*:*) - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; - 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) - OS_REL='' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; - NCR*:*:4.2:* | MPRAS*:*:4.2:*) - OS_REL='.3' - test -r /etc/.relid \ - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } - /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-unknown-lynxos${UNAME_RELEASE} - exit ;; - mc68030:UNIX_System_V:4.*:*) - echo m68k-atari-sysv4 - exit ;; - TSUNAMI:LynxOS:2.*:*) - echo sparc-unknown-lynxos${UNAME_RELEASE} - exit ;; - rs6000:LynxOS:2.*:*) - echo rs6000-unknown-lynxos${UNAME_RELEASE} - exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) - echo powerpc-unknown-lynxos${UNAME_RELEASE} - exit ;; - SM[BE]S:UNIX_SV:*:*) - echo mips-dde-sysv${UNAME_RELEASE} - exit ;; - RM*:ReliantUNIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - RM*:SINIX-*:*:*) - echo mips-sni-sysv4 - exit ;; - *:SINIX-*:*:*) - if uname -p 2>/dev/null >/dev/null ; then - UNAME_MACHINE=`(uname -p) 2>/dev/null` - echo ${UNAME_MACHINE}-sni-sysv4 - else - echo ns32k-sni-sysv - fi - exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; - *:UNIX_System_V:4*:FTX*) - # From Gerald Hewes . - # How about differentiating between stratus architectures? -djm - echo hppa1.1-stratus-sysv4 - exit ;; - *:*:*:FTX*) - # From seanf@swdc.stratus.com. - echo i860-stratus-sysv4 - exit ;; - i*86:VOS:*:*) - # From Paul.Green@stratus.com. - echo ${UNAME_MACHINE}-stratus-vos - exit ;; - *:VOS:*:*) - # From Paul.Green@stratus.com. - echo hppa1.1-stratus-vos - exit ;; - mc68*:A/UX:*:*) - echo m68k-apple-aux${UNAME_RELEASE} - exit ;; - news*:NEWS-OS:6*:*) - echo mips-sony-newsos6 - exit ;; - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) - if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} - else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit ;; - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. - echo powerpc-be-beos - exit ;; - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. - echo powerpc-apple-beos - exit ;; - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. - echo i586-pc-beos - exit ;; - BePC:Haiku:*:*) # Haiku running on Intel PC compatible. - echo i586-pc-haiku - exit ;; - SX-4:SUPER-UX:*:*) - echo sx4-nec-superux${UNAME_RELEASE} - exit ;; - SX-5:SUPER-UX:*:*) - echo sx5-nec-superux${UNAME_RELEASE} - exit ;; - SX-6:SUPER-UX:*:*) - echo sx6-nec-superux${UNAME_RELEASE} - exit ;; - SX-7:SUPER-UX:*:*) - echo sx7-nec-superux${UNAME_RELEASE} - exit ;; - SX-8:SUPER-UX:*:*) - echo sx8-nec-superux${UNAME_RELEASE} - exit ;; - SX-8R:SUPER-UX:*:*) - echo sx8r-nec-superux${UNAME_RELEASE} - exit ;; - Power*:Rhapsody:*:*) - echo powerpc-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Rhapsody:*:*) - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} - exit ;; - *:Darwin:*:*) - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown - case $UNAME_PROCESSOR in - i386) - eval $set_cc_for_build - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null - then - UNAME_PROCESSOR="x86_64" - fi - fi ;; - unknown) UNAME_PROCESSOR=powerpc ;; - esac - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} - exit ;; - *:procnto*:*:* | *:QNX:[0123456789]*:*) - UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then - UNAME_PROCESSOR=i386 - UNAME_MACHINE=pc - fi - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} - exit ;; - *:QNX:*:4*) - echo i386-pc-qnx - exit ;; - NSE-?:NONSTOP_KERNEL:*:*) - echo nse-tandem-nsk${UNAME_RELEASE} - exit ;; - NSR-?:NONSTOP_KERNEL:*:*) - echo nsr-tandem-nsk${UNAME_RELEASE} - exit ;; - *:NonStop-UX:*:*) - echo mips-compaq-nonstopux - exit ;; - BS2000:POSIX*:*:*) - echo bs2000-siemens-sysv - exit ;; - DS/*:UNIX_System_V:*:*) - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} - exit ;; - *:Plan9:*:*) - # "uname -m" is not consistent, so use $cputype instead. 386 - # is converted to i386 for consistency with other x86 - # operating systems. - if test "$cputype" = "386"; then - UNAME_MACHINE=i386 - else - UNAME_MACHINE="$cputype" - fi - echo ${UNAME_MACHINE}-unknown-plan9 - exit ;; - *:TOPS-10:*:*) - echo pdp10-unknown-tops10 - exit ;; - *:TENEX:*:*) - echo pdp10-unknown-tenex - exit ;; - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) - echo pdp10-dec-tops20 - exit ;; - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) - echo pdp10-xkl-tops20 - exit ;; - *:TOPS-20:*:*) - echo pdp10-unknown-tops20 - exit ;; - *:ITS:*:*) - echo pdp10-unknown-its - exit ;; - SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} - exit ;; - *:DragonFly:*:*) - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` - exit ;; - *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` - case "${UNAME_MACHINE}" in - A*) echo alpha-dec-vms ; exit ;; - I*) echo ia64-dec-vms ; exit ;; - V*) echo vax-dec-vms ; exit ;; - esac ;; - *:XENIX:*:SysV) - echo i386-pc-xenix - exit ;; - i*86:skyos:*:*) - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' - exit ;; - i*86:rdos:*:*) - echo ${UNAME_MACHINE}-pc-rdos - exit ;; - i*86:AROS:*:*) - echo ${UNAME_MACHINE}-pc-aros - exit ;; -esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 - -eval $set_cc_for_build -cat >$dummy.c < -# include -#endif -main () -{ -#if defined (sony) -#if defined (MIPSEB) - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, - I don't know.... */ - printf ("mips-sony-bsd\n"); exit (0); -#else -#include - printf ("m68k-sony-newsos%s\n", -#ifdef NEWSOS4 - "4" -#else - "" -#endif - ); exit (0); -#endif -#endif - -#if defined (__arm) && defined (__acorn) && defined (__unix) - printf ("arm-acorn-riscix\n"); exit (0); -#endif - -#if defined (hp300) && !defined (hpux) - printf ("m68k-hp-bsd\n"); exit (0); -#endif - -#if defined (NeXT) -#if !defined (__ARCHITECTURE__) -#define __ARCHITECTURE__ "m68k" -#endif - int version; - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; - if (version < 4) - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); - else - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); - exit (0); -#endif - -#if defined (MULTIMAX) || defined (n16) -#if defined (UMAXV) - printf ("ns32k-encore-sysv\n"); exit (0); -#else -#if defined (CMU) - printf ("ns32k-encore-mach\n"); exit (0); -#else - printf ("ns32k-encore-bsd\n"); exit (0); -#endif -#endif -#endif - -#if defined (__386BSD__) - printf ("i386-pc-bsd\n"); exit (0); -#endif - -#if defined (sequent) -#if defined (i386) - printf ("i386-sequent-dynix\n"); exit (0); -#endif -#if defined (ns32000) - printf ("ns32k-sequent-dynix\n"); exit (0); -#endif -#endif - -#if defined (_SEQUENT_) - struct utsname un; - - uname(&un); - - if (strncmp(un.version, "V2", 2) == 0) { - printf ("i386-sequent-ptx2\n"); exit (0); - } - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ - printf ("i386-sequent-ptx1\n"); exit (0); - } - printf ("i386-sequent-ptx\n"); exit (0); - -#endif - -#if defined (vax) -# if !defined (ultrix) -# include -# if defined (BSD) -# if BSD == 43 - printf ("vax-dec-bsd4.3\n"); exit (0); -# else -# if BSD == 199006 - printf ("vax-dec-bsd4.3reno\n"); exit (0); -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# endif -# else - printf ("vax-dec-bsd\n"); exit (0); -# endif -# else - printf ("vax-dec-ultrix\n"); exit (0); -# endif -#endif - -#if defined (alliant) && defined (i860) - printf ("i860-alliant-bsd\n"); exit (0); -#endif - - exit (1); -} -EOF - -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && - { echo "$SYSTEM_NAME"; exit; } - -# Apollos put the system type in the environment. - -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } - -# Convex versions that predate uname can use getsysinfo(1) - -if [ -x /usr/convex/getsysinfo ] -then - case `getsysinfo -f cpu_type` in - c1*) - echo c1-convex-bsd - exit ;; - c2*) - if getsysinfo -f scalar_acc - then echo c32-convex-bsd - else echo c2-convex-bsd - fi - exit ;; - c34*) - echo c34-convex-bsd - exit ;; - c38*) - echo c38-convex-bsd - exit ;; - c4*) - echo c4-convex-bsd - exit ;; - esac -fi - -cat >&2 < in order to provide the needed -information to handle your system. - -config.guess timestamp = $timestamp - -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` - -hostinfo = `(hostinfo) 2>/dev/null` -/bin/universe = `(/bin/universe) 2>/dev/null` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` -/bin/arch = `(/bin/arch) 2>/dev/null` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` - -UNAME_MACHINE = ${UNAME_MACHINE} -UNAME_RELEASE = ${UNAME_RELEASE} -UNAME_SYSTEM = ${UNAME_SYSTEM} -UNAME_VERSION = ${UNAME_VERSION} -EOF - -exit 1 - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/Externals/SDL/build-scripts/config.sub b/Externals/SDL/build-scripts/config.sub deleted file mode 100755 index 5ecc18b6ad..0000000000 --- a/Externals/SDL/build-scripts/config.sub +++ /dev/null @@ -1,1700 +0,0 @@ -#! /bin/sh -# Configuration validation subroutine script. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. - -timestamp='2009-10-07' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Please send patches to . Submit a context -# diff and a properly formatted GNU ChangeLog entry. -# -# Configuration subroutine to validate and canonicalize a configuration type. -# Supply the specified configuration type as an argument. -# If it is invalid, we print an error message on stderr and exit with code 1. -# Otherwise, we print the canonical config type on stdout and succeed. - -# You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD - -# This file is supposed to be the same for all GNU packages -# and recognize all the CPU types, system types and aliases -# that are meaningful with *any* GNU software. -# Each package is responsible for reporting which valid configurations -# it does not support. The user should be able to distinguish -# a failure to support a valid configuration from a meaningless -# configuration. - -# The goal of this file is to map all the various variations of a given -# machine specification into a single specification in the form: -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -# or in some cases, the newer four-part form: -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -# It is wrong to echo any other type of specification. - -me=`echo "$0" | sed -e 's,.*/,,'` - -usage="\ -Usage: $0 [OPTION] CPU-MFR-OPSYS - $0 [OPTION] ALIAS - -Canonicalize a configuration name. - -Operation modes: - -h, --help print this help, then exit - -t, --time-stamp print date of last modification, then exit - -v, --version print version number, then exit - -Report bugs and patches to ." - -version="\ -GNU config.sub ($timestamp) - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. - -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." - -help=" -Try \`$me --help' for more information." - -# Parse command line -while test $# -gt 0 ; do - case $1 in - --time-stamp | --time* | -t ) - echo "$timestamp" ; exit ;; - --version | -v ) - echo "$version" ; exit ;; - --help | --h* | -h ) - echo "$usage"; exit ;; - -- ) # Stop option processing - shift; break ;; - - ) # Use stdin as input. - break ;; - -* ) - echo "$me: invalid option $1$help" - exit 1 ;; - - *local*) - # First pass through any local machine types. - echo $1 - exit ;; - - * ) - break ;; - esac -done - -case $# in - 0) echo "$me: missing argument$help" >&2 - exit 1;; - 1) ;; - *) echo "$me: too many arguments$help" >&2 - exit 1;; -esac - -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). -# Here we must recognize all the valid KERNEL-OS combinations. -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` -case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ - kopensolaris*-gnu* | \ - storm-chaos* | os2-emx* | rtmk-nova*) - os=-$maybe_os - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` - ;; - *) - basic_machine=`echo $1 | sed 's/-[^-]*$//'` - if [ $basic_machine != $1 ] - then os=`echo $1 | sed 's/.*-/-/'` - else os=; fi - ;; -esac - -### Let's recognize common machines as not being operating systems so -### that things like config.sub decstation-3100 work. We also -### recognize some manufacturers as not being operating systems, so we -### can provide default operating systems below. -case $os in - -sun*os*) - # Prevent following clause from handling this invalid input. - ;; - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray | -microblaze) - os= - basic_machine=$1 - ;; - -bluegene*) - os=-cnk - ;; - -sim | -cisco | -oki | -wec | -winbond) - os= - basic_machine=$1 - ;; - -scout) - ;; - -wrs) - os=-vxworks - basic_machine=$1 - ;; - -chorusos*) - os=-chorusos - basic_machine=$1 - ;; - -chorusrdb) - os=-chorusrdb - basic_machine=$1 - ;; - -hiux*) - os=-hiuxwe2 - ;; - -sco6) - os=-sco5v6 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco5) - os=-sco3.2v5 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco4) - os=-sco3.2v4 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2.[4-9]*) - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco3.2v[4-9]*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco5v6*) - # Don't forget version if it is 3.2v4 or newer. - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -sco*) - os=-sco3.2v2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -udk*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -isc) - os=-isc2.2 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -clix*) - basic_machine=clipper-intergraph - ;; - -isc*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` - ;; - -lynx*) - os=-lynxos - ;; - -ptx*) - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` - ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; - -psos*) - os=-psos - ;; - -mint | -mint[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; -esac - -# Decode aliases for certain CPU-COMPANY combinations. -case $basic_machine in - # Recognize the basic CPU types without company name. - # Some are omitted here because they have special meanings below. - 1750a | 580 \ - | a29k \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ - | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ - | bfin \ - | c4x | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | fido | fr30 | frv \ - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ - | i370 | i860 | i960 | ia64 \ - | ip2k | iq2000 \ - | lm32 \ - | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep | metag \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64el \ - | mips64octeon | mips64octeonel \ - | mips64orion | mips64orionel \ - | mips64r5900 | mips64r5900el \ - | mips64vr | mips64vrel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipstx39 | mipstx39el \ - | mn10200 | mn10300 \ - | moxie \ - | mt \ - | msp430 \ - | nios | nios2 \ - | ns16k | ns32k \ - | or32 \ - | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ - | pyramid \ - | rx \ - | score \ - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ - | sh64 | sh64le \ - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ - | v850 | v850e \ - | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ - | z8k | z80) - basic_machine=$basic_machine-unknown - ;; - m6811 | m68hc11 | m6812 | m68hc12 | picochip) - # Motorola 68HC11/12. - basic_machine=$basic_machine-unknown - os=-none - ;; - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) - ;; - ms1) - basic_machine=mt-unknown - ;; - - # We use `pc' rather than `unknown' - # because (1) that's what they normally are, and - # (2) the word "unknown" tends to confuse beginning users. - i*86 | x86_64) - basic_machine=$basic_machine-pc - ;; - # Object if more than one company name word. - *-*-*) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; - # Recognize the basic CPU types with company name. - 580-* \ - | a29k-* \ - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* | avr32-* \ - | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ - | clipper-* | craynv-* | cydra-* \ - | d10v-* | d30v-* | dlx-* \ - | elxsi-* \ - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ - | h8300-* | h8500-* \ - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ - | i*86-* | i860-* | i960-* | ia64-* \ - | ip2k-* | iq2000-* \ - | lm32-* \ - | m32c-* | m32r-* | m32rle-* \ - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mips16-* \ - | mips64-* | mips64el-* \ - | mips64octeon-* | mips64octeonel-* \ - | mips64orion-* | mips64orionel-* \ - | mips64r5900-* | mips64r5900el-* \ - | mips64vr-* | mips64vrel-* \ - | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* \ - | mips64vr5000-* | mips64vr5000el-* \ - | mips64vr5900-* | mips64vr5900el-* \ - | mipsisa32-* | mipsisa32el-* \ - | mipsisa32r2-* | mipsisa32r2el-* \ - | mipsisa64-* | mipsisa64el-* \ - | mipsisa64r2-* | mipsisa64r2el-* \ - | mipsisa64sb1-* | mipsisa64sb1el-* \ - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ - | mipstx39-* | mipstx39el-* \ - | mmix-* \ - | mt-* \ - | msp430-* \ - | nios-* | nios2-* \ - | none-* | np1-* | ns16k-* | ns32k-* \ - | orion-* \ - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ - | pyramid-* \ - | romp-* | rs6000-* | rx-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ - | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ - | tron-* \ - | v850-* | v850e-* | vax-* \ - | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ - | xstormy16-* | xtensa*-* \ - | ymp-* \ - | z8k-* | z80-*) - ;; - # Recognize the basic CPU types without company name, with glob match. - xtensa*) - basic_machine=$basic_machine-unknown - ;; - # Recognize the various machine names and aliases which stand - # for a CPU type and a company and sometimes even an OS. - 386bsd) - basic_machine=i386-unknown - os=-bsd - ;; - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) - basic_machine=m68000-att - ;; - 3b*) - basic_machine=we32k-att - ;; - a29khif) - basic_machine=a29k-amd - os=-udi - ;; - abacus) - basic_machine=abacus-unknown - ;; - adobe68k) - basic_machine=m68010-adobe - os=-scout - ;; - alliant | fx80) - basic_machine=fx80-alliant - ;; - altos | altos3068) - basic_machine=m68k-altos - ;; - am29k) - basic_machine=a29k-none - os=-bsd - ;; - amd64) - basic_machine=x86_64-pc - ;; - amd64-*) - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - amdahl) - basic_machine=580-amdahl - os=-sysv - ;; - amiga | amiga-*) - basic_machine=m68k-unknown - ;; - amigaos | amigados) - basic_machine=m68k-unknown - os=-amigaos - ;; - amigaunix | amix) - basic_machine=m68k-unknown - os=-sysv4 - ;; - apollo68) - basic_machine=m68k-apollo - os=-sysv - ;; - apollo68bsd) - basic_machine=m68k-apollo - os=-bsd - ;; - aros) - basic_machine=i386-pc - os=-aros - ;; - aux) - basic_machine=m68k-apple - os=-aux - ;; - balance) - basic_machine=ns32k-sequent - os=-dynix - ;; - blackfin) - basic_machine=bfin-unknown - os=-linux - ;; - blackfin-*) - basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` - os=-linux - ;; - bluegene*) - basic_machine=powerpc-ibm - os=-cnk - ;; - c90) - basic_machine=c90-cray - os=-unicos - ;; - cegcc) - basic_machine=arm-unknown - os=-cegcc - ;; - convex-c1) - basic_machine=c1-convex - os=-bsd - ;; - convex-c2) - basic_machine=c2-convex - os=-bsd - ;; - convex-c32) - basic_machine=c32-convex - os=-bsd - ;; - convex-c34) - basic_machine=c34-convex - os=-bsd - ;; - convex-c38) - basic_machine=c38-convex - os=-bsd - ;; - cray | j90) - basic_machine=j90-cray - os=-unicos - ;; - craynv) - basic_machine=craynv-cray - os=-unicosmp - ;; - cr16) - basic_machine=cr16-unknown - os=-elf - ;; - crds | unos) - basic_machine=m68k-crds - ;; - crisv32 | crisv32-* | etraxfs*) - basic_machine=crisv32-axis - ;; - cris | cris-* | etrax*) - basic_machine=cris-axis - ;; - crx) - basic_machine=crx-unknown - os=-elf - ;; - da30 | da30-*) - basic_machine=m68k-da30 - ;; - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) - basic_machine=mips-dec - ;; - decsystem10* | dec10*) - basic_machine=pdp10-dec - os=-tops10 - ;; - decsystem20* | dec20*) - basic_machine=pdp10-dec - os=-tops20 - ;; - delta | 3300 | motorola-3300 | motorola-delta \ - | 3300-motorola | delta-motorola) - basic_machine=m68k-motorola - ;; - delta88) - basic_machine=m88k-motorola - os=-sysv3 - ;; - dicos) - basic_machine=i686-pc - os=-dicos - ;; - djgpp) - basic_machine=i586-pc - os=-msdosdjgpp - ;; - dpx20 | dpx20-*) - basic_machine=rs6000-bull - os=-bosx - ;; - dpx2* | dpx2*-bull) - basic_machine=m68k-bull - os=-sysv3 - ;; - ebmon29k) - basic_machine=a29k-amd - os=-ebmon - ;; - elxsi) - basic_machine=elxsi-elxsi - os=-bsd - ;; - encore | umax | mmax) - basic_machine=ns32k-encore - ;; - es1800 | OSE68k | ose68k | ose | OSE) - basic_machine=m68k-ericsson - os=-ose - ;; - fx2800) - basic_machine=i860-alliant - ;; - genix) - basic_machine=ns32k-ns - ;; - gmicro) - basic_machine=tron-gmicro - os=-sysv - ;; - go32) - basic_machine=i386-pc - os=-go32 - ;; - h3050r* | hiux*) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - h8300hms) - basic_machine=h8300-hitachi - os=-hms - ;; - h8300xray) - basic_machine=h8300-hitachi - os=-xray - ;; - h8500hms) - basic_machine=h8500-hitachi - os=-hms - ;; - harris) - basic_machine=m88k-harris - os=-sysv3 - ;; - hp300-*) - basic_machine=m68k-hp - ;; - hp300bsd) - basic_machine=m68k-hp - os=-bsd - ;; - hp300hpux) - basic_machine=m68k-hp - os=-hpux - ;; - hp3k9[0-9][0-9] | hp9[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k2[0-9][0-9] | hp9k31[0-9]) - basic_machine=m68000-hp - ;; - hp9k3[2-9][0-9]) - basic_machine=m68k-hp - ;; - hp9k6[0-9][0-9] | hp6[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hp9k7[0-79][0-9] | hp7[0-79][0-9]) - basic_machine=hppa1.1-hp - ;; - hp9k78[0-9] | hp78[0-9]) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) - # FIXME: really hppa2.0-hp - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][13679] | hp8[0-9][13679]) - basic_machine=hppa1.1-hp - ;; - hp9k8[0-9][0-9] | hp8[0-9][0-9]) - basic_machine=hppa1.0-hp - ;; - hppa-next) - os=-nextstep3 - ;; - hppaosf) - basic_machine=hppa1.1-hp - os=-osf - ;; - hppro) - basic_machine=hppa1.1-hp - os=-proelf - ;; - i370-ibm* | ibm*) - basic_machine=i370-ibm - ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? - i*86v32) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv32 - ;; - i*86v4*) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv4 - ;; - i*86v) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-sysv - ;; - i*86sol2) - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` - os=-solaris2 - ;; - i386mach) - basic_machine=i386-mach - os=-mach - ;; - i386-vsta | vsta) - basic_machine=i386-unknown - os=-vsta - ;; - iris | iris4d) - basic_machine=mips-sgi - case $os in - -irix*) - ;; - *) - os=-irix4 - ;; - esac - ;; - isi68 | isi) - basic_machine=m68k-isi - os=-sysv - ;; - m68knommu) - basic_machine=m68k-unknown - os=-linux - ;; - m68knommu-*) - basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` - os=-linux - ;; - m88k-omron*) - basic_machine=m88k-omron - ;; - magnum | m3230) - basic_machine=mips-mips - os=-sysv - ;; - merlin) - basic_machine=ns32k-utek - os=-sysv - ;; - microblaze) - basic_machine=microblaze-xilinx - ;; - mingw32) - basic_machine=i386-pc - os=-mingw32 - ;; - mingw32ce) - basic_machine=arm-unknown - os=-mingw32ce - ;; - miniframe) - basic_machine=m68000-convergent - ;; - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) - basic_machine=m68k-atari - os=-mint - ;; - mips3*-*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` - ;; - mips3*) - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - monitor) - basic_machine=m68k-rom68k - os=-coff - ;; - morphos) - basic_machine=powerpc-unknown - os=-morphos - ;; - msdos) - basic_machine=i386-pc - os=-msdos - ;; - ms1-*) - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` - ;; - mvs) - basic_machine=i370-ibm - os=-mvs - ;; - ncr3000) - basic_machine=i486-ncr - os=-sysv4 - ;; - netbsd386) - basic_machine=i386-unknown - os=-netbsd - ;; - netwinder) - basic_machine=armv4l-rebel - os=-linux - ;; - news | news700 | news800 | news900) - basic_machine=m68k-sony - os=-newsos - ;; - news1000) - basic_machine=m68030-sony - os=-newsos - ;; - news-3600 | risc-news) - basic_machine=mips-sony - os=-newsos - ;; - necv70) - basic_machine=v70-nec - os=-sysv - ;; - next | m*-next ) - basic_machine=m68k-next - case $os in - -nextstep* ) - ;; - -ns2*) - os=-nextstep2 - ;; - *) - os=-nextstep3 - ;; - esac - ;; - nh3000) - basic_machine=m68k-harris - os=-cxux - ;; - nh[45]000) - basic_machine=m88k-harris - os=-cxux - ;; - nindy960) - basic_machine=i960-intel - os=-nindy - ;; - mon960) - basic_machine=i960-intel - os=-mon960 - ;; - nonstopux) - basic_machine=mips-compaq - os=-nonstopux - ;; - np1) - basic_machine=np1-gould - ;; - nsr-tandem) - basic_machine=nsr-tandem - ;; - op50n-* | op60c-*) - basic_machine=hppa1.1-oki - os=-proelf - ;; - openrisc | openrisc-*) - basic_machine=or32-unknown - ;; - os400) - basic_machine=powerpc-ibm - os=-os400 - ;; - OSE68000 | ose68000) - basic_machine=m68000-ericsson - os=-ose - ;; - os68k) - basic_machine=m68k-none - os=-os68k - ;; - pa-hitachi) - basic_machine=hppa1.1-hitachi - os=-hiuxwe2 - ;; - paragon) - basic_machine=i860-intel - os=-osf - ;; - parisc) - basic_machine=hppa-unknown - os=-linux - ;; - parisc-*) - basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` - os=-linux - ;; - pbd) - basic_machine=sparc-tti - ;; - pbb) - basic_machine=m68k-tti - ;; - pc532 | pc532-*) - basic_machine=ns32k-pc532 - ;; - pc98) - basic_machine=i386-pc - ;; - pc98-*) - basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentium | p5 | k5 | k6 | nexgen | viac3) - basic_machine=i586-pc - ;; - pentiumpro | p6 | 6x86 | athlon | athlon_*) - basic_machine=i686-pc - ;; - pentiumii | pentium2 | pentiumiii | pentium3) - basic_machine=i686-pc - ;; - pentium4) - basic_machine=i786-pc - ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumpro-* | p6-* | 6x86-* | athlon-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pentium4-*) - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - pn) - basic_machine=pn-gould - ;; - power) basic_machine=power-ibm - ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppcle | powerpclittle | ppc-le | powerpc-little) - basic_machine=powerpcle-unknown - ;; - ppcle-* | powerpclittle-*) - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64) basic_machine=powerpc64-unknown - ;; - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ppc64le | powerpc64little | ppc64-le | powerpc64-little) - basic_machine=powerpc64le-unknown - ;; - ppc64le-* | powerpc64little-*) - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` - ;; - ps2) - basic_machine=i386-ibm - ;; - pw32) - basic_machine=i586-unknown - os=-pw32 - ;; - rdos) - basic_machine=i386-pc - os=-rdos - ;; - rom68k) - basic_machine=m68k-rom68k - os=-coff - ;; - rm[46]00) - basic_machine=mips-siemens - ;; - rtpc | rtpc-*) - basic_machine=romp-ibm - ;; - s390 | s390-*) - basic_machine=s390-ibm - ;; - s390x | s390x-*) - basic_machine=s390x-ibm - ;; - sa29200) - basic_machine=a29k-amd - os=-udi - ;; - sb1) - basic_machine=mipsisa64sb1-unknown - ;; - sb1el) - basic_machine=mipsisa64sb1el-unknown - ;; - sde) - basic_machine=mipsisa32-sde - os=-elf - ;; - sei) - basic_machine=mips-sei - os=-seiux - ;; - sequent) - basic_machine=i386-sequent - ;; - sh) - basic_machine=sh-hitachi - os=-hms - ;; - sh5el) - basic_machine=sh5le-unknown - ;; - sh64) - basic_machine=sh64-unknown - ;; - sparclite-wrs | simso-wrs) - basic_machine=sparclite-wrs - os=-vxworks - ;; - sps7) - basic_machine=m68k-bull - os=-sysv2 - ;; - spur) - basic_machine=spur-unknown - ;; - st2000) - basic_machine=m68k-tandem - ;; - stratus) - basic_machine=i860-stratus - os=-sysv4 - ;; - sun2) - basic_machine=m68000-sun - ;; - sun2os3) - basic_machine=m68000-sun - os=-sunos3 - ;; - sun2os4) - basic_machine=m68000-sun - os=-sunos4 - ;; - sun3os3) - basic_machine=m68k-sun - os=-sunos3 - ;; - sun3os4) - basic_machine=m68k-sun - os=-sunos4 - ;; - sun4os3) - basic_machine=sparc-sun - os=-sunos3 - ;; - sun4os4) - basic_machine=sparc-sun - os=-sunos4 - ;; - sun4sol2) - basic_machine=sparc-sun - os=-solaris2 - ;; - sun3 | sun3-*) - basic_machine=m68k-sun - ;; - sun4) - basic_machine=sparc-sun - ;; - sun386 | sun386i | roadrunner) - basic_machine=i386-sun - ;; - sv1) - basic_machine=sv1-cray - os=-unicos - ;; - symmetry) - basic_machine=i386-sequent - os=-dynix - ;; - t3e) - basic_machine=alphaev5-cray - os=-unicos - ;; - t90) - basic_machine=t90-cray - os=-unicos - ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff - ;; - tile*) - basic_machine=tile-unknown - os=-linux-gnu - ;; - tx39) - basic_machine=mipstx39-unknown - ;; - tx39el) - basic_machine=mipstx39el-unknown - ;; - toad1) - basic_machine=pdp10-xkl - os=-tops20 - ;; - tower | tower-32) - basic_machine=m68k-ncr - ;; - tpf) - basic_machine=s390x-ibm - os=-tpf - ;; - udi29k) - basic_machine=a29k-amd - os=-udi - ;; - ultra3) - basic_machine=a29k-nyu - os=-sym1 - ;; - v810 | necv810) - basic_machine=v810-nec - os=-none - ;; - vaxv) - basic_machine=vax-dec - os=-sysv - ;; - vms) - basic_machine=vax-dec - os=-vms - ;; - vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; - vxworks960) - basic_machine=i960-wrs - os=-vxworks - ;; - vxworks68) - basic_machine=m68k-wrs - os=-vxworks - ;; - vxworks29k) - basic_machine=a29k-wrs - os=-vxworks - ;; - w65*) - basic_machine=w65-wdc - os=-none - ;; - w89k-*) - basic_machine=hppa1.1-winbond - os=-proelf - ;; - xbox) - basic_machine=i686-pc - os=-mingw32 - ;; - xps | xps100) - basic_machine=xps100-honeywell - ;; - ymp) - basic_machine=ymp-cray - os=-unicos - ;; - z8k-*-coff) - basic_machine=z8k-unknown - os=-sim - ;; - z80-*-coff) - basic_machine=z80-unknown - os=-sim - ;; - none) - basic_machine=none-none - os=-none - ;; - -# Here we handle the default manufacturer of certain CPU types. It is in -# some cases the only manufacturer, in others, it is the most popular. - w89k) - basic_machine=hppa1.1-winbond - ;; - op50n) - basic_machine=hppa1.1-oki - ;; - op60c) - basic_machine=hppa1.1-oki - ;; - romp) - basic_machine=romp-ibm - ;; - mmix) - basic_machine=mmix-knuth - ;; - rs6000) - basic_machine=rs6000-ibm - ;; - vax) - basic_machine=vax-dec - ;; - pdp10) - # there are many clones, so DEC is not a safe bet - basic_machine=pdp10-unknown - ;; - pdp11) - basic_machine=pdp11-dec - ;; - we32k) - basic_machine=we32k-att - ;; - sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) - basic_machine=sh-unknown - ;; - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) - basic_machine=sparc-sun - ;; - cydra) - basic_machine=cydra-cydrome - ;; - orion) - basic_machine=orion-highlevel - ;; - orion105) - basic_machine=clipper-highlevel - ;; - mac | mpw | mac-mpw) - basic_machine=m68k-apple - ;; - pmac | pmac-mpw) - basic_machine=powerpc-apple - ;; - *-unknown) - # Make sure to match an already-canonicalized machine name. - ;; - *) - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 - exit 1 - ;; -esac - -# Here we canonicalize certain aliases for manufacturers. -case $basic_machine in - *-digital*) - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` - ;; - *-commodore*) - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` - ;; - *) - ;; -esac - -# Decode manufacturer-specific aliases for certain operating systems. - -if [ x"$os" != x"" ] -then -case $os in - # First match some system type aliases - # that might get confused with valid system types. - # -solaris* is a basic system type, with this one exception. - -solaris1 | -solaris1.*) - os=`echo $os | sed -e 's|solaris1|sunos4|'` - ;; - -solaris) - os=-solaris2 - ;; - -svr4*) - os=-sysv4 - ;; - -unixware*) - os=-sysv4.2uw - ;; - -gnu/linux*) - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` - ;; - # First accept the basic system types. - # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. - # -sysv* is not here because it comes later, after sysvr4. - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ - | -kopensolaris* \ - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* | -aros* \ - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* | -cegcc* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ - | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) - # Remember, each alternative MUST END IN *, to match a version number. - ;; - -qnx*) - case $basic_machine in - x86-* | i*86-*) - ;; - *) - os=-nto$os - ;; - esac - ;; - -nto-qnx*) - ;; - -nto*) - os=`echo $os | sed -e 's|nto|nto-qnx|'` - ;; - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ - | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) - ;; - -mac*) - os=`echo $os | sed -e 's|mac|macos|'` - ;; - -linux-dietlibc) - os=-linux-dietlibc - ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` - ;; - -sunos5*) - os=`echo $os | sed -e 's|sunos5|solaris2|'` - ;; - -sunos6*) - os=`echo $os | sed -e 's|sunos6|solaris3|'` - ;; - -opened*) - os=-openedition - ;; - -os400*) - os=-os400 - ;; - -wince*) - os=-wince - ;; - -osfrose*) - os=-osfrose - ;; - -osf*) - os=-osf - ;; - -utek*) - os=-bsd - ;; - -dynix*) - os=-bsd - ;; - -acis*) - os=-aos - ;; - -atheos*) - os=-atheos - ;; - -syllable*) - os=-syllable - ;; - -386bsd) - os=-bsd - ;; - -ctix* | -uts*) - os=-sysv - ;; - -nova*) - os=-rtmk-nova - ;; - -ns2 ) - os=-nextstep2 - ;; - -nsk*) - os=-nsk - ;; - # Preserve the version number of sinix5. - -sinix5.*) - os=`echo $os | sed -e 's|sinix|sysv|'` - ;; - -sinix*) - os=-sysv4 - ;; - -tpf*) - os=-tpf - ;; - -triton*) - os=-sysv3 - ;; - -oss*) - os=-sysv3 - ;; - -svr4) - os=-sysv4 - ;; - -svr3) - os=-sysv3 - ;; - -sysvr4) - os=-sysv4 - ;; - # This must come after -sysvr4. - -sysv*) - ;; - -ose*) - os=-ose - ;; - -es1800*) - os=-ose - ;; - -xenix) - os=-xenix - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint - ;; - -aros*) - os=-aros - ;; - -kaos*) - os=-kaos - ;; - -zvmoe) - os=-zvmoe - ;; - -dicos*) - os=-dicos - ;; - -none) - ;; - *) - # Get rid of the `-' at the beginning of $os. - os=`echo $os | sed 's/[^-]*-//'` - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 - exit 1 - ;; -esac -else - -# Here we handle the default operating systems that come with various machines. -# The value should be what the vendor currently ships out the door with their -# machine or put another way, the most popular os provided with the machine. - -# Note that if you're going to try to match "-MANUFACTURER" here (say, -# "-sun"), then you have to tell the case statement up towards the top -# that MANUFACTURER isn't an operating system. Otherwise, code above -# will signal an error saying that MANUFACTURER isn't an operating -# system, and we'll never get to this point. - -case $basic_machine in - score-*) - os=-elf - ;; - spu-*) - os=-elf - ;; - *-acorn) - os=-riscix1.2 - ;; - arm*-rebel) - os=-linux - ;; - arm*-semi) - os=-aout - ;; - c4x-* | tic4x-*) - os=-coff - ;; - # This must come before the *-dec entry. - pdp10-*) - os=-tops20 - ;; - pdp11-*) - os=-none - ;; - *-dec | vax-*) - os=-ultrix4.2 - ;; - m68*-apollo) - os=-domain - ;; - i386-sun) - os=-sunos4.0.2 - ;; - m68000-sun) - os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 - ;; - m68*-cisco) - os=-aout - ;; - mep-*) - os=-elf - ;; - mips*-cisco) - os=-elf - ;; - mips*-*) - os=-elf - ;; - or32-*) - os=-coff - ;; - *-tti) # must be before sparc entry or we get the wrong os. - os=-sysv3 - ;; - sparc-* | *-sun) - os=-sunos4.1.1 - ;; - *-be) - os=-beos - ;; - *-haiku) - os=-haiku - ;; - *-ibm) - os=-aix - ;; - *-knuth) - os=-mmixware - ;; - *-wec) - os=-proelf - ;; - *-winbond) - os=-proelf - ;; - *-oki) - os=-proelf - ;; - *-hp) - os=-hpux - ;; - *-hitachi) - os=-hiux - ;; - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) - os=-sysv - ;; - *-cbm) - os=-amigaos - ;; - *-dg) - os=-dgux - ;; - *-dolphin) - os=-sysv3 - ;; - m68k-ccur) - os=-rtu - ;; - m88k-omron*) - os=-luna - ;; - *-next ) - os=-nextstep - ;; - *-sequent) - os=-ptx - ;; - *-crds) - os=-unos - ;; - *-ns) - os=-genix - ;; - i370-*) - os=-mvs - ;; - *-next) - os=-nextstep3 - ;; - *-gould) - os=-sysv - ;; - *-highlevel) - os=-bsd - ;; - *-encore) - os=-bsd - ;; - *-sgi) - os=-irix - ;; - *-siemens) - os=-sysv4 - ;; - *-masscomp) - os=-rtu - ;; - f30[01]-fujitsu | f700-fujitsu) - os=-uxpv - ;; - *-rom68k) - os=-coff - ;; - *-*bug) - os=-coff - ;; - *-apple) - os=-macos - ;; - *-atari*) - os=-mint - ;; - *) - os=-none - ;; -esac -fi - -# Here we handle the case where we know the os, and the CPU type, but not the -# manufacturer. We pick the logical manufacturer. -vendor=unknown -case $basic_machine in - *-unknown) - case $os in - -riscix*) - vendor=acorn - ;; - -sunos*) - vendor=sun - ;; - -cnk*|-aix*) - vendor=ibm - ;; - -beos*) - vendor=be - ;; - -hpux*) - vendor=hp - ;; - -mpeix*) - vendor=hp - ;; - -hiux*) - vendor=hitachi - ;; - -unos*) - vendor=crds - ;; - -dgux*) - vendor=dg - ;; - -luna*) - vendor=omron - ;; - -genix*) - vendor=ns - ;; - -mvs* | -opened*) - vendor=ibm - ;; - -os400*) - vendor=ibm - ;; - -ptx*) - vendor=sequent - ;; - -tpf*) - vendor=ibm - ;; - -vxsim* | -vxworks* | -windiss*) - vendor=wrs - ;; - -aux*) - vendor=apple - ;; - -hms*) - vendor=hitachi - ;; - -mpw* | -macos*) - vendor=apple - ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - vendor=atari - ;; - -vos*) - vendor=stratus - ;; - esac - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` - ;; -esac - -echo $basic_machine$os -exit - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "timestamp='" -# time-stamp-format: "%:y-%02m-%02d" -# time-stamp-end: "'" -# End: diff --git a/Externals/SDL/build-scripts/fatbuild.sh b/Externals/SDL/build-scripts/fatbuild.sh deleted file mode 100755 index b4b1616746..0000000000 --- a/Externals/SDL/build-scripts/fatbuild.sh +++ /dev/null @@ -1,316 +0,0 @@ -#!/bin/sh -# -# Build a fat binary on Mac OS X, thanks Ryan! - -# Number of CPUs (for make -j) -NCPU=`sysctl -n hw.ncpu` -NJOB=$NCPU -#NJOB=`expr $NCPU + 1` - -# Generic, cross-platform CFLAGS you always want go here. -CFLAGS="-O3 -g -pipe" - -# Locate Xcode SDK path -SDK_PATH=/Developer/SDKs -if [ ! -d $SDK_PATH ]; then - echo "Couldn't find SDK path" - exit 1 -fi - -# See if we can use 10.2 or 10.3 runtime compatibility -if [ -d "$SDK_PATH/MacOSX10.2.8.sdk" ]; then - # PowerPC configure flags (10.2 runtime compatibility) - # We dynamically load X11, so using the system X11 headers is fine. - CONFIG_PPC="--build=`uname -p`-apple-darwin --host=powerpc-apple-darwin \ ---x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib" - - # PowerPC compiler flags - CC_PPC="gcc-3.3 -arch ppc" - CXX_PPC="g++-3.3 -arch ppc" - CFLAGS_PPC="" - CPPFLAGS_PPC="-DMAC_OS_X_VERSION_MIN_REQUIRED=1020 \ --nostdinc \ --F$SDK_PATH/MacOSX10.2.8.sdk/System/Library/Frameworks \ --I$SDK_PATH/MacOSX10.2.8.sdk/usr/include/gcc/darwin/3.3 \ --isystem $SDK_PATH/MacOSX10.2.8.sdk/usr/include" - - # PowerPC linker flags - LFLAGS_PPC="-Wl,-headerpad_max_install_names -arch ppc \ --L$SDK_PATH/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3 \ --F$SDK_PATH/MacOSX10.2.8.sdk/System/Library/Frameworks \ --Wl,-syslibroot,$SDK_PATH/MacOSX10.2.8.sdk" - -else # 10.2 or 10.3 SDK - - # PowerPC configure flags (10.3 runtime compatibility) - # We dynamically load X11, so using the system X11 headers is fine. - CONFIG_PPC="--build=`uname -p`-apple-darwin --host=powerpc-apple-darwin \ ---x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib" - - # PowerPC compiler flags - CC_PPC="gcc-4.0 -arch ppc" - CXX_PPC="g++-4.0 -arch ppc" - CFLAGS_PPC="" - CPPFLAGS_PPC="-DMAC_OS_X_VERSION_MIN_REQUIRED=1030 \ --nostdinc \ --F$SDK_PATH/MacOSX10.3.9.sdk/System/Library/Frameworks \ --I$SDK_PATH/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include \ --isystem $SDK_PATH/MacOSX10.3.9.sdk/usr/include" - - # PowerPC linker flags - LFLAGS_PPC="-Wl,-headerpad_max_install_names -arch ppc -mmacosx-version-min=10.3 \ --L$SDK_PATH/MacOSX10.3.9.sdk/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 \ --F$SDK_PATH/MacOSX10.3.9.sdk/System/Library/Frameworks \ --Wl,-syslibroot,$SDK_PATH/MacOSX10.3.9.sdk" - -fi # 10.2 or 10.3 SDK - -# Intel configure flags (10.4 runtime compatibility) -# We dynamically load X11, so using the system X11 headers is fine. -CONFIG_X86="--build=`uname -p`-apple-darwin --host=i386-apple-darwin \ ---x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib" - -# Intel compiler flags -CC_X86="gcc-4.0 -arch i386" -CXX_X86="g++-4.0 -arch i386" -CFLAGS_X86="-mmacosx-version-min=10.4" -CPPFLAGS_X86="-DMAC_OS_X_VERSION_MIN_REQUIRED=1040 \ --nostdinc \ --F$SDK_PATH/MacOSX10.4u.sdk/System/Library/Frameworks \ --I$SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1/include \ --isystem $SDK_PATH/MacOSX10.4u.sdk/usr/include" - -# Intel linker flags -LFLAGS_X86="-Wl,-headerpad_max_install_names -arch i386 -mmacosx-version-min=10.4 \ --L$SDK_PATH/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin9/4.0.1 \ --Wl,-syslibroot,$SDK_PATH/MacOSX10.4u.sdk" - -# -# Find the configure script -# -srcdir=`dirname $0`/.. -auxdir=$srcdir/build-scripts -cd $srcdir - -# -# Figure out which phase to build: -# all, -# configure, configure-ppc, configure-x86, -# make, make-ppc, make-x86, merge -# install -# clean -if test x"$1" = x; then - phase=all -else - phase="$1" -fi -case $phase in - all) - configure_ppc="yes" - configure_x86="yes" - make_ppc="yes" - make_x86="yes" - merge="yes" - ;; - configure) - configure_ppc="yes" - configure_x86="yes" - ;; - configure-ppc) - configure_ppc="yes" - ;; - configure-x86) - configure_x86="yes" - ;; - make) - make_ppc="yes" - make_x86="yes" - merge="yes" - ;; - make-ppc) - make_ppc="yes" - ;; - make-x86) - make_x86="yes" - ;; - merge) - merge="yes" - ;; - install) - install_bin="yes" - install_hdrs="yes" - install_lib="yes" - install_data="yes" - install_man="yes" - ;; - install-bin) - install_bin="yes" - ;; - install-hdrs) - install_hdrs="yes" - ;; - install-lib) - install_lib="yes" - ;; - install-data) - install_data="yes" - ;; - install-man) - install_man="yes" - ;; - clean) - clean_ppc="yes" - clean_x86="yes" - ;; - clean-ppc) - clean_ppc="yes" - ;; - clean-x86) - clean_x86="yes" - ;; - *) - echo "Usage: $0 [all|configure[-ppc|-x86]|make[-ppc|-x86]|merge|install|clean]" - exit 1 - ;; -esac -case `uname -p` in - powerpc) - native_path=ppc - ;; - *86) - native_path=x86 - ;; - *) - echo "Couldn't figure out native architecture path" - exit 1 - ;; -esac - -# -# Create the build directories -# -for dir in build build/ppc build/x86; do - if test -d $dir; then - : - else - mkdir $dir || exit 1 - fi -done - -# -# Build the PowerPC binary -# -if test x$configure_ppc = xyes; then - (cd build/ppc && \ - sh ../../configure $CONFIG_PPC CC="$CC_PPC" CXX="$CXX_PPC" CFLAGS="$CFLAGS $CFLAGS_PPC" CPPFLAGS="$CPPFLAGS_PPC" LDFLAGS="$LFLAGS_PPC") || exit 2 -fi -if test x$make_ppc = xyes; then - (cd build/ppc && ls include && make -j$NJOB) || exit 3 -fi - -# -# Build the Intel binary -# -if test x$configure_x86 = xyes; then - (cd build/x86 && \ - sh ../../configure $CONFIG_X86 CC="$CC_X86" CXX="$CXX_X86" CFLAGS="$CFLAGS $CFLAGS_X86" CPPFLAGS="$CPPFLAGS_X86" LDFLAGS="$LFLAGS_X86") || exit 2 -fi -if test x$make_x86 = xyes; then - (cd build/x86 && make -j$NJOB) || exit 3 -fi - -# -# Combine into fat binary -# -if test x$merge = xyes; then - output=.libs - sh $auxdir/mkinstalldirs build/$output - cd build - target=`find . -mindepth 3 -type f -name '*.dylib' | head -1 | sed 's|.*/||'` - (lipo -create -o $output/$target `find . -mindepth 3 -type f -name "*.dylib"` && - ln -sf $target $output/libSDL-1.2.0.dylib && - ln -sf $target $output/libSDL.dylib && - lipo -create -o $output/libSDL.a */build/.libs/libSDL.a && - cp $native_path/build/.libs/libSDL.la $output && - cp $native_path/build/.libs/libSDL.lai $output && - cp $native_path/build/libSDL.la . && - lipo -create -o libSDLmain.a */build/libSDLmain.a && - echo "Build complete!" && - echo "Files can be found in the build directory.") || exit 4 - cd .. -fi - -# -# Install -# -do_install() -{ - echo $* - $* || exit 5 -} -if test x$prefix = x; then - prefix=/usr/local -fi -if test x$exec_prefix = x; then - exec_prefix=$prefix -fi -if test x$bindir = x; then - bindir=$exec_prefix/bin -fi -if test x$libdir = x; then - libdir=$exec_prefix/lib -fi -if test x$includedir = x; then - includedir=$prefix/include -fi -if test x$datadir = x; then - datadir=$prefix/share -fi -if test x$mandir = x; then - mandir=$prefix/man -fi -if test x$install_bin = xyes; then - do_install sh $auxdir/mkinstalldirs $bindir - do_install /usr/bin/install -c -m 755 build/$native_path/sdl-config $bindir/sdl-config -fi -if test x$install_hdrs = xyes; then - do_install sh $auxdir/mkinstalldirs $includedir/SDL - for src in $srcdir/include/*.h; do \ - file=`echo $src | sed -e 's|^.*/||'`; \ - do_install /usr/bin/install -c -m 644 $src $includedir/SDL/$file; \ - done - do_install /usr/bin/install -c -m 644 $srcdir/include/SDL_config_macosx.h $includedir/SDL/SDL_config.h -fi -if test x$install_lib = xyes; then - do_install sh $auxdir/mkinstalldirs $libdir - do_install sh build/$native_path/libtool --mode=install /usr/bin/install -c build/libSDL.la $libdir/libSDL.la - do_install /usr/bin/install -c -m 644 build/libSDLmain.a $libdir/libSDLmain.a - do_install ranlib $libdir/libSDLmain.a -fi -if test x$install_data = xyes; then - do_install sh $auxdir/mkinstalldirs $datadir/aclocal - do_install /usr/bin/install -c -m 644 $srcdir/sdl.m4 $datadir/aclocal/sdl.m4 -fi -if test x$install_man = xyes; then - do_install sh $auxdir/mkinstalldirs $mandir/man3 - for src in $srcdir/docs/man3/*.3; do \ - file=`echo $src | sed -e 's|^.*/||'`; \ - do_install /usr/bin/install -c -m 644 $src $mandir/man3/$file; \ - done -fi - -# -# Clean up -# -do_clean() -{ - echo $* - $* || exit 6 -} -if test x$clean_x86 = xyes; then - do_clean rm -r build/x86 -fi -if test x$clean_ppc = xyes; then - do_clean rm -r build/ppc -fi - diff --git a/Externals/SDL/build-scripts/install-sh b/Externals/SDL/build-scripts/install-sh deleted file mode 100755 index 1a8353401c..0000000000 --- a/Externals/SDL/build-scripts/install-sh +++ /dev/null @@ -1,323 +0,0 @@ -#!/bin/sh -# install - install a program, script, or datafile - -scriptversion=2005-02-02.21 - -# This originates from X11R5 (mit/util/scripts/install.sh), which was -# later released in X11R6 (xc/config/util/install.sh) with the -# following copyright and license. -# -# Copyright (C) 1994 X Consortium -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- -# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# -# Except as contained in this notice, the name of the X Consortium shall not -# be used in advertising or otherwise to promote the sale, use or other deal- -# ings in this Software without prior written authorization from the X Consor- -# tium. -# -# -# FSF changes to this file are in the public domain. -# -# Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it -# when there is no Makefile. -# -# This script is compatible with the BSD install script, but was written -# from scratch. It can only install one file at a time, a restriction -# shared with many OS's install programs. - -# set DOITPROG to echo to test this script - -# Don't use :- since 4.3BSD and earlier shells don't like it. -doit="${DOITPROG-}" - -# put in absolute paths if you don't have them in your path; or use env. vars. - -mvprog="${MVPROG-mv}" -cpprog="${CPPROG-cp}" -chmodprog="${CHMODPROG-chmod}" -chownprog="${CHOWNPROG-chown}" -chgrpprog="${CHGRPPROG-chgrp}" -stripprog="${STRIPPROG-strip}" -rmprog="${RMPROG-rm}" -mkdirprog="${MKDIRPROG-mkdir}" - -chmodcmd="$chmodprog 0755" -chowncmd= -chgrpcmd= -stripcmd= -rmcmd="$rmprog -f" -mvcmd="$mvprog" -src= -dst= -dir_arg= -dstarg= -no_target_directory= - -usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE - or: $0 [OPTION]... SRCFILES... DIRECTORY - or: $0 [OPTION]... -t DIRECTORY SRCFILES... - or: $0 [OPTION]... -d DIRECTORIES... - -In the 1st form, copy SRCFILE to DSTFILE. -In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. -In the 4th, create DIRECTORIES. - -Options: --c (ignored) --d create directories instead of installing files. --g GROUP $chgrpprog installed files to GROUP. --m MODE $chmodprog installed files to MODE. --o USER $chownprog installed files to USER. --s $stripprog installed files. --t DIRECTORY install into DIRECTORY. --T report an error if DSTFILE is a directory. ---help display this help and exit. ---version display version info and exit. - -Environment variables override the default commands: - CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG -" - -while test -n "$1"; do - case $1 in - -c) shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - --help) echo "$usage"; exit $?;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -s) stripcmd=$stripprog - shift - continue;; - - -t) dstarg=$2 - shift - shift - continue;; - - -T) no_target_directory=true - shift - continue;; - - --version) echo "$0 $scriptversion"; exit $?;; - - *) # When -d is used, all remaining arguments are directories to create. - # When -t is used, the destination is already specified. - test -n "$dir_arg$dstarg" && break - # Otherwise, the last argument is the destination. Remove it from $@. - for arg - do - if test -n "$dstarg"; then - # $@ is not empty: it contains at least $arg. - set fnord "$@" "$dstarg" - shift # fnord - fi - shift # arg - dstarg=$arg - done - break;; - esac -done - -if test -z "$1"; then - if test -z "$dir_arg"; then - echo "$0: no input file specified." >&2 - exit 1 - fi - # It's OK to call `install-sh -d' without argument. - # This can happen when creating conditional directories. - exit 0 -fi - -for src -do - # Protect names starting with `-'. - case $src in - -*) src=./$src ;; - esac - - if test -n "$dir_arg"; then - dst=$src - src= - - if test -d "$dst"; then - mkdircmd=: - chmodcmd= - else - mkdircmd=$mkdirprog - fi - else - # Waiting for this to be detected by the "$cpprog $src $dsttmp" command - # might cause directories to be created, which would be especially bad - # if $src (and thus $dsttmp) contains '*'. - if test ! -f "$src" && test ! -d "$src"; then - echo "$0: $src does not exist." >&2 - exit 1 - fi - - if test -z "$dstarg"; then - echo "$0: no destination specified." >&2 - exit 1 - fi - - dst=$dstarg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst ;; - esac - - # If destination is a directory, append the input filename; won't work - # if double slashes aren't ignored. - if test -d "$dst"; then - if test -n "$no_target_directory"; then - echo "$0: $dstarg: Is a directory" >&2 - exit 1 - fi - dst=$dst/`basename "$src"` - fi - fi - - # This sed command emulates the dirname command. - dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` - - # Make sure that the destination directory exists. - - # Skip lots of stat calls in the usual case. - if test ! -d "$dstdir"; then - defaultIFS=' - ' - IFS="${IFS-$defaultIFS}" - - oIFS=$IFS - # Some sh's can't handle IFS=/ for some reason. - IFS='%' - set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` - shift - IFS=$oIFS - - pathcomp= - - while test $# -ne 0 ; do - pathcomp=$pathcomp$1 - shift - if test ! -d "$pathcomp"; then - $mkdirprog "$pathcomp" - # mkdir can fail with a `File exist' error in case several - # install-sh are creating the directory concurrently. This - # is OK. - test -d "$pathcomp" || exit - fi - pathcomp=$pathcomp/ - done - fi - - if test -n "$dir_arg"; then - $doit $mkdircmd "$dst" \ - && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } - - else - dstfile=`basename "$dst"` - - # Make a couple of temp file names in the proper directory. - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ - - # Trap to clean up those temp files at exit. - trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 - trap '(exit $?); exit' 1 2 13 15 - - # Copy the file name to the temp name. - $doit $cpprog "$src" "$dsttmp" && - - # and set any options; do chmod last to preserve setuid bits. - # - # If any of these fail, we abort the whole thing. If we want to - # ignore errors from any of these, just make sure not to ignore - # errors from the above "$doit $cpprog $src $dsttmp" command. - # - { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ - && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ - && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ - && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && - - # Now rename the file to the real destination. - { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ - || { - # The rename failed, perhaps because mv can't rename something else - # to itself, or perhaps because mv is so ancient that it does not - # support -f. - - # Now remove or move aside any old file at destination location. - # We try this two ways since rm can't unlink itself on some - # systems and the destination file might be busy for other - # reasons. In this case, the final cleanup might fail but the new - # file should still install successfully. - { - if test -f "$dstdir/$dstfile"; then - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ - || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ - || { - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 - (exit 1); exit 1 - } - else - : - fi - } && - - # Now rename the file to the real destination. - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" - } - } - fi || { (exit 1); exit 1; } -done - -# The final little trick to "correctly" pass the exit status to the exit trap. -{ - (exit 0); exit 0 -} - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/Externals/SDL/build-scripts/ltmain.sh b/Externals/SDL/build-scripts/ltmain.sh deleted file mode 100644 index d2b860f42d..0000000000 --- a/Externals/SDL/build-scripts/ltmain.sh +++ /dev/null @@ -1,8407 +0,0 @@ -# Generated from ltmain.m4sh. - -# ltmain.sh (GNU libtool) 2.2.6 -# Written by Gordon Matzigkeit , 1996 - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. -# This is free software; see the source for copying conditions. There is NO -# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -# GNU Libtool is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# As a special exception to the GNU General Public License, -# if you distribute this file as part of a program or library that -# is built using GNU Libtool, you may include this file under the -# same distribution terms that you use for the rest of that program. -# -# GNU Libtool is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with GNU Libtool; see the file COPYING. If not, a copy -# can be downloaded from http://www.gnu.org/licenses/gpl.html, -# or obtained by writing to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# Usage: $progname [OPTION]... [MODE-ARG]... -# -# Provide generalized library-building support services. -# -# --config show all configuration variables -# --debug enable verbose shell tracing -# -n, --dry-run display commands without modifying any files -# --features display basic configuration information and exit -# --mode=MODE use operation mode MODE -# --preserve-dup-deps don't remove duplicate dependency libraries -# --quiet, --silent don't print informational messages -# --tag=TAG use configuration variables from tag TAG -# -v, --verbose print informational messages (default) -# --version print version information -# -h, --help print short or long help message -# -# MODE must be one of the following: -# -# clean remove files from the build directory -# compile compile a source file into a libtool object -# execute automatically set library path, then run a program -# finish complete the installation of libtool libraries -# install install libraries or executables -# link create a library or an executable -# uninstall remove libraries from an installed directory -# -# MODE-ARGS vary depending on the MODE. -# Try `$progname --help --mode=MODE' for a more detailed description of MODE. -# -# When reporting a bug, please describe a test case to reproduce it and -# include the following information: -# -# host-triplet: $host -# shell: $SHELL -# compiler: $LTCC -# compiler flags: $LTCFLAGS -# linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.2.6 -# automake: $automake_version -# autoconf: $autoconf_version -# -# Report bugs to . - -PROGRAM=ltmain.sh -PACKAGE=libtool -VERSION=2.2.6 -TIMESTAMP="" -package_revision=1.3012 - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# NLS nuisances: We save the old values to restore during execute mode. -# Only set LANG and LC_ALL to C if already set. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). -lt_user_locale= -lt_safe_locale= -for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES -do - eval "if test \"\${$lt_var+set}\" = set; then - save_$lt_var=\$$lt_var - $lt_var=C - export $lt_var - lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" - lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" - fi" -done - -$lt_unset CDPATH - - - - - -: ${CP="cp -f"} -: ${ECHO="echo"} -: ${EGREP="/usr/bin/grep -E"} -: ${FGREP="/usr/bin/grep -F"} -: ${GREP="/usr/bin/grep"} -: ${LN_S="ln -s"} -: ${MAKE="make"} -: ${MKDIR="mkdir"} -: ${MV="mv -f"} -: ${RM="rm -f"} -: ${SED="/opt/local/bin/gsed"} -: ${SHELL="${CONFIG_SHELL-/bin/sh}"} -: ${Xsed="$SED -e 1s/^X//"} - -# Global variables: -EXIT_SUCCESS=0 -EXIT_FAILURE=1 -EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. -EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. - -exit_status=$EXIT_SUCCESS - -# Make sure IFS has a sensible default -lt_nl=' -' -IFS=" $lt_nl" - -dirname="s,/[^/]*$,," -basename="s,^.*/,," - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - -# Generated shell functions inserted here. - -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -# is ksh but when the shell is invoked as "sh" and the current value of -# the _XPG environment variable is not equal to 1 (one), the special -# positional parameter $0, within a function call, is the name of the -# function. -progpath="$0" - -# The name of this program: -# In the unlikely event $progname began with a '-', it would play havoc with -# func_echo (imagine progname=-n), so we prepend ./ in that case: -func_dirname_and_basename "$progpath" -progname=$func_basename_result -case $progname in - -*) progname=./$progname ;; -esac - -# Make sure we have an absolute path for reexecution: -case $progpath in - [\\/]*|[A-Za-z]:\\*) ;; - *[\\/]*) - progdir=$func_dirname_result - progdir=`cd "$progdir" && pwd` - progpath="$progdir/$progname" - ;; - *) - save_IFS="$IFS" - IFS=: - for progdir in $PATH; do - IFS="$save_IFS" - test -x "$progdir/$progname" && break - done - IFS="$save_IFS" - test -n "$progdir" || progdir=`pwd` - progpath="$progdir/$progname" - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed="${SED}"' -e 1s/^X//' -sed_quote_subst='s/\([`"$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Re-`\' parameter expansions in output of double_quote_subst that were -# `\'-ed in input to the same. If an odd number of `\' preceded a '$' -# in input to double_quote_subst, that '$' was protected from expansion. -# Since each input `\' is now two `\'s, look for any number of runs of -# four `\'s followed by two `\'s and then a '$'. `\' that '$'. -bs='\\' -bs2='\\\\' -bs4='\\\\\\\\' -dollar='\$' -sed_double_backslash="\ - s/$bs4/&\\ -/g - s/^$bs2$dollar/$bs&/ - s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g - s/\n//g" - -# Standard options: -opt_dry_run=false -opt_help=false -opt_quiet=false -opt_verbose=false -opt_warning=: - -# func_echo arg... -# Echo program name prefixed message, along with the current mode -# name if it has been set yet. -func_echo () -{ - $ECHO "$progname${mode+: }$mode: $*" -} - -# func_verbose arg... -# Echo program name prefixed message in verbose mode only. -func_verbose () -{ - $opt_verbose && func_echo ${1+"$@"} - - # A bug in bash halts the script if the last line of a function - # fails when set -e is in force, so we need another command to - # work around that: - : -} - -# func_error arg... -# Echo program name prefixed message to standard error. -func_error () -{ - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 -} - -# func_warning arg... -# Echo program name prefixed warning message to standard error. -func_warning () -{ - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 - - # bash bug again: - : -} - -# func_fatal_error arg... -# Echo program name prefixed message to standard error, and exit. -func_fatal_error () -{ - func_error ${1+"$@"} - exit $EXIT_FAILURE -} - -# func_fatal_help arg... -# Echo program name prefixed message to standard error, followed by -# a help hint, and exit. -func_fatal_help () -{ - func_error ${1+"$@"} - func_fatal_error "$help" -} -help="Try \`$progname --help' for more information." ## default - - -# func_grep expression filename -# Check whether EXPRESSION matches any line of FILENAME, without output. -func_grep () -{ - $GREP "$1" "$2" >/dev/null 2>&1 -} - - -# func_mkdir_p directory-path -# Make sure the entire path to DIRECTORY-PATH is available. -func_mkdir_p () -{ - my_directory_path="$1" - my_dir_list= - - if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then - - # Protect directory names starting with `-' - case $my_directory_path in - -*) my_directory_path="./$my_directory_path" ;; - esac - - # While some portion of DIR does not yet exist... - while test ! -d "$my_directory_path"; do - # ...make a list in topmost first order. Use a colon delimited - # list incase some portion of path contains whitespace. - my_dir_list="$my_directory_path:$my_dir_list" - - # If the last portion added has no slash in it, the list is done - case $my_directory_path in */*) ;; *) break ;; esac - - # ...otherwise throw away the child directory and loop - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` - done - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` - - save_mkdir_p_IFS="$IFS"; IFS=':' - for my_dir in $my_dir_list; do - IFS="$save_mkdir_p_IFS" - # mkdir can fail with a `File exist' error if two processes - # try to create one of the directories concurrently. Don't - # stop in that case! - $MKDIR "$my_dir" 2>/dev/null || : - done - IFS="$save_mkdir_p_IFS" - - # Bail out if we (or some other process) failed to create a directory. - test -d "$my_directory_path" || \ - func_fatal_error "Failed to create \`$1'" - fi -} - - -# func_mktempdir [string] -# Make a temporary directory that won't clash with other running -# libtool processes, and avoids race conditions if possible. If -# given, STRING is the basename for that directory. -func_mktempdir () -{ - my_template="${TMPDIR-/tmp}/${1-$progname}" - - if test "$opt_dry_run" = ":"; then - # Return a directory name, but don't create it in dry-run mode - my_tmpdir="${my_template}-$$" - else - - # If mktemp works, use that first and foremost - my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` - - if test ! -d "$my_tmpdir"; then - # Failing that, at least try and use $RANDOM to avoid a race - my_tmpdir="${my_template}-${RANDOM-0}$$" - - save_mktempdir_umask=`umask` - umask 0077 - $MKDIR "$my_tmpdir" - umask $save_mktempdir_umask - fi - - # If we're not in dry-run mode, bomb out on failure - test -d "$my_tmpdir" || \ - func_fatal_error "cannot create temporary directory \`$my_tmpdir'" - fi - - $ECHO "X$my_tmpdir" | $Xsed -} - - -# func_quote_for_eval arg -# Aesthetically quote ARG to be evaled later. -# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT -# is double-quoted, suitable for a subsequent eval, whereas -# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters -# which are still active within double quotes backslashified. -func_quote_for_eval () -{ - case $1 in - *[\\\`\"\$]*) - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; - *) - func_quote_for_eval_unquoted_result="$1" ;; - esac - - case $func_quote_for_eval_unquoted_result in - # Double-quote args containing shell metacharacters to delay - # word splitting, command substitution and and variable - # expansion for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" - ;; - *) - func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" - esac -} - - -# func_quote_for_expand arg -# Aesthetically quote ARG to be evaled later; same as above, -# but do not quote variable references. -func_quote_for_expand () -{ - case $1 in - *[\\\`\"]*) - my_arg=`$ECHO "X$1" | $Xsed \ - -e "$double_quote_subst" -e "$sed_double_backslash"` ;; - *) - my_arg="$1" ;; - esac - - case $my_arg in - # Double-quote args containing shell metacharacters to delay - # word splitting and command substitution for a subsequent eval. - # Many Bourne shells cannot handle close brackets correctly - # in scan sets, so we specify it separately. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") - my_arg="\"$my_arg\"" - ;; - esac - - func_quote_for_expand_result="$my_arg" -} - - -# func_show_eval cmd [fail_exp] -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. -func_show_eval () -{ - my_cmd="$1" - my_fail_exp="${2-:}" - - ${opt_silent-false} || { - func_quote_for_expand "$my_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - if ${opt_dry_run-false}; then :; else - eval "$my_cmd" - my_status=$? - if test "$my_status" -eq 0; then :; else - eval "(exit $my_status); $my_fail_exp" - fi - fi -} - - -# func_show_eval_locale cmd [fail_exp] -# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is -# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP -# is given, then evaluate it. Use the saved locale for evaluation. -func_show_eval_locale () -{ - my_cmd="$1" - my_fail_exp="${2-:}" - - ${opt_silent-false} || { - func_quote_for_expand "$my_cmd" - eval "func_echo $func_quote_for_expand_result" - } - - if ${opt_dry_run-false}; then :; else - eval "$lt_user_locale - $my_cmd" - my_status=$? - eval "$lt_safe_locale" - if test "$my_status" -eq 0; then :; else - eval "(exit $my_status); $my_fail_exp" - fi - fi -} - - - - - -# func_version -# Echo version message to standard output and exit. -func_version () -{ - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { - s/^# // - s/^# *$// - s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ - p - }' < "$progpath" - exit $? -} - -# func_usage -# Echo short help message to standard output and exit. -func_usage () -{ - $SED -n '/^# Usage:/,/# -h/ { - s/^# // - s/^# *$// - s/\$progname/'$progname'/ - p - }' < "$progpath" - $ECHO - $ECHO "run \`$progname --help | more' for full usage" - exit $? -} - -# func_help -# Echo long help message to standard output and exit. -func_help () -{ - $SED -n '/^# Usage:/,/# Report bugs to/ { - s/^# // - s/^# *$// - s*\$progname*'$progname'* - s*\$host*'"$host"'* - s*\$SHELL*'"$SHELL"'* - s*\$LTCC*'"$LTCC"'* - s*\$LTCFLAGS*'"$LTCFLAGS"'* - s*\$LD*'"$LD"'* - s/\$with_gnu_ld/'"$with_gnu_ld"'/ - s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ - s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ - p - }' < "$progpath" - exit $? -} - -# func_missing_arg argname -# Echo program name prefixed message to standard error and set global -# exit_cmd. -func_missing_arg () -{ - func_error "missing argument for $1" - exit_cmd=exit -} - -exit_cmd=: - - - - - -# Check that we have a working $ECHO. -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell, and then maybe $ECHO will work. - exec $SHELL "$progpath" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null 2>&1; then - taglist="$taglist $tagname" - - # Evaluate the configuration. Be careful to quote the path - # and the sed script, to avoid splitting on whitespace, but - # also don't use non-portable quotes within backquotes within - # quotes we have to do it in 2 steps: - extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` - eval "$extractedcf" - else - func_error "ignoring unknown tag $tagname" - fi - ;; - esac -} - -# Parse options once, thoroughly. This comes as soon as possible in -# the script to make things like `libtool --version' happen quickly. -{ - - # Shorthand for --mode=foo, only valid as the first argument - case $1 in - clean|clea|cle|cl) - shift; set dummy --mode clean ${1+"$@"}; shift - ;; - compile|compil|compi|comp|com|co|c) - shift; set dummy --mode compile ${1+"$@"}; shift - ;; - execute|execut|execu|exec|exe|ex|e) - shift; set dummy --mode execute ${1+"$@"}; shift - ;; - finish|finis|fini|fin|fi|f) - shift; set dummy --mode finish ${1+"$@"}; shift - ;; - install|instal|insta|inst|ins|in|i) - shift; set dummy --mode install ${1+"$@"}; shift - ;; - link|lin|li|l) - shift; set dummy --mode link ${1+"$@"}; shift - ;; - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) - shift; set dummy --mode uninstall ${1+"$@"}; shift - ;; - esac - - # Parse non-mode specific arguments: - while test "$#" -gt 0; do - opt="$1" - shift - - case $opt in - --config) func_config ;; - - --debug) preserve_args="$preserve_args $opt" - func_echo "enabling shell trace mode" - opt_debug='set -x' - $opt_debug - ;; - - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break - execute_dlfiles="$execute_dlfiles $1" - shift - ;; - - --dry-run | -n) opt_dry_run=: ;; - --features) func_features ;; - --finish) mode="finish" ;; - - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break - case $1 in - # Valid mode arguments: - clean) ;; - compile) ;; - execute) ;; - finish) ;; - install) ;; - link) ;; - relink) ;; - uninstall) ;; - - # Catch anything else as an error - *) func_error "invalid argument for $opt" - exit_cmd=exit - break - ;; - esac - - mode="$1" - shift - ;; - - --preserve-dup-deps) - opt_duplicate_deps=: ;; - - --quiet|--silent) preserve_args="$preserve_args $opt" - opt_silent=: - ;; - - --verbose| -v) preserve_args="$preserve_args $opt" - opt_silent=false - ;; - - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break - preserve_args="$preserve_args $opt $1" - func_enable_tag "$1" # tagname is set here - shift - ;; - - # Separate optargs to long options: - -dlopen=*|--mode=*|--tag=*) - func_opt_split "$opt" - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} - shift - ;; - - -\?|-h) func_usage ;; - --help) opt_help=: ;; - --version) func_version ;; - - -*) func_fatal_help "unrecognized option \`$opt'" ;; - - *) nonopt="$opt" - break - ;; - esac - done - - - case $host in - *cygwin* | *mingw* | *pw32* | *cegcc*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; - *) - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps - ;; - esac - - # Having warned about all mis-specified options, bail out if - # anything was wrong. - $exit_cmd $EXIT_FAILURE -} - -# func_check_version_match -# Ensure that we are using m4 macros, and libtool script from the same -# release of libtool. -func_check_version_match () -{ - if test "$package_revision" != "$macro_revision"; then - if test "$VERSION" != "$macro_version"; then - if test -z "$macro_version"; then - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from an older release. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, but the -$progname: definition of this LT_INIT comes from $PACKAGE $macro_version. -$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION -$progname: and run autoconf again. -_LT_EOF - fi - else - cat >&2 <<_LT_EOF -$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, -$progname: but the definition of this LT_INIT comes from revision $macro_revision. -$progname: You should recreate aclocal.m4 with macros from revision $package_revision -$progname: of $PACKAGE $VERSION and run autoconf again. -_LT_EOF - fi - - exit $EXIT_MISMATCH - fi -} - - -## ----------- ## -## Main. ## -## ----------- ## - -$opt_help || { - # Sanity checks first: - func_check_version_match - - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then - func_fatal_configuration "not configured to build any kind of library" - fi - - test -z "$mode" && func_fatal_error "error: you must specify a MODE." - - - # Darwin sucks - eval std_shrext=\"$shrext_cmds\" - - - # Only execute mode is allowed to have -dlopen flags. - if test -n "$execute_dlfiles" && test "$mode" != execute; then - func_error "unrecognized option \`-dlopen'" - $ECHO "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Change the help message to a mode-specific one. - generic_help="$help" - help="Try \`$progname --help --mode=$mode' for more information." -} - - -# func_lalib_p file -# True iff FILE is a libtool `.la' library or `.lo' object file. -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_lalib_p () -{ - test -f "$1" && - $SED -e 4q "$1" 2>/dev/null \ - | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 -} - -# func_lalib_unsafe_p file -# True iff FILE is a libtool `.la' library or `.lo' object file. -# This function implements the same check as func_lalib_p without -# resorting to external programs. To this end, it redirects stdin and -# closes it afterwards, without saving the original file descriptor. -# As a safety measure, use it only where a negative result would be -# fatal anyway. Works if `file' does not exist. -func_lalib_unsafe_p () -{ - lalib_p=no - if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then - for lalib_p_l in 1 2 3 4 - do - read lalib_p_line - case "$lalib_p_line" in - \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; - esac - done - exec 0<&5 5<&- - fi - test "$lalib_p" = yes -} - -# func_ltwrapper_script_p file -# True iff FILE is a libtool wrapper script -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_script_p () -{ - func_lalib_p "$1" -} - -# func_ltwrapper_executable_p file -# True iff FILE is a libtool wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_executable_p () -{ - func_ltwrapper_exec_suffix= - case $1 in - *.exe) ;; - *) func_ltwrapper_exec_suffix=.exe ;; - esac - $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 -} - -# func_ltwrapper_scriptname file -# Assumes file is an ltwrapper_executable -# uses $file to determine the appropriate filename for a -# temporary ltwrapper_script. -func_ltwrapper_scriptname () -{ - func_ltwrapper_scriptname_result="" - if func_ltwrapper_executable_p "$1"; then - func_dirname_and_basename "$1" "" "." - func_stripname '' '.exe' "$func_basename_result" - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" - fi -} - -# func_ltwrapper_p file -# True iff FILE is a libtool wrapper script or wrapper executable -# This function is only a basic sanity check; it will hardly flush out -# determined imposters. -func_ltwrapper_p () -{ - func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" -} - - -# func_execute_cmds commands fail_cmd -# Execute tilde-delimited COMMANDS. -# If FAIL_CMD is given, eval that upon failure. -# FAIL_CMD may read-access the current command in variable CMD! -func_execute_cmds () -{ - $opt_debug - save_ifs=$IFS; IFS='~' - for cmd in $1; do - IFS=$save_ifs - eval cmd=\"$cmd\" - func_show_eval "$cmd" "${2-:}" - done - IFS=$save_ifs -} - - -# func_source file -# Source FILE, adding directory component if necessary. -# Note that it is not necessary on cygwin/mingw to append a dot to -# FILE even if both FILE and FILE.exe exist: automatic-append-.exe -# behavior happens only for exec(3), not for open(2)! Also, sourcing -# `FILE.' does not work on cygwin managed mounts. -func_source () -{ - $opt_debug - case $1 in - */* | *\\*) . "$1" ;; - *) . "./$1" ;; - esac -} - - -# func_infer_tag arg -# Infer tagged configuration to use if any are available and -# if one wasn't chosen via the "--tag" command line option. -# Only attempt this if the compiler in the base compile -# command doesn't match the default compiler. -# arg is usually of the form 'gcc ...' -func_infer_tag () -{ - $opt_debug - if test -n "$available_tags" && test -z "$tagname"; then - CC_quoted= - for arg in $CC; do - func_quote_for_eval "$arg" - CC_quoted="$CC_quoted $func_quote_for_eval_result" - done - case $@ in - # Blanks in the command may have been stripped by the calling shell, - # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; - # Blanks at the start of $base_compile will cause this to fail - # if we don't check for them as well. - *) - for z in $available_tags; do - if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then - # Evaluate the configuration. - eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" - CC_quoted= - for arg in $CC; do - # Double-quote args containing other shell metacharacters. - func_quote_for_eval "$arg" - CC_quoted="$CC_quoted $func_quote_for_eval_result" - done - case "$@ " in - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) - # The compiler in the base compile command matches - # the one in the tagged configuration. - # Assume this is the tagged configuration we want. - tagname=$z - break - ;; - esac - fi - done - # If $tagname still isn't set, then no tagged configuration - # was found and let the user know that the "--tag" command - # line option must be used. - if test -z "$tagname"; then - func_echo "unable to infer tagged configuration" - func_fatal_error "specify a tag with \`--tag'" -# else -# func_verbose "using $tagname tagged configuration" - fi - ;; - esac - fi -} - - - -# func_write_libtool_object output_name pic_name nonpic_name -# Create a libtool object file (analogous to a ".la" file), -# but don't create it if we're doing a dry run. -func_write_libtool_object () -{ - write_libobj=${1} - if test "$build_libtool_libs" = yes; then - write_lobj=\'${2}\' - else - write_lobj=none - fi - - if test "$build_old_libs" = yes; then - write_oldobj=\'${3}\' - else - write_oldobj=none - fi - - $opt_dry_run || { - cat >${write_libobj}T <?"'"'"' &()|`$[]' \ - && func_warning "libobj name \`$libobj' may not contain shell special characters." - func_dirname_and_basename "$obj" "/" "" - objname="$func_basename_result" - xdir="$func_dirname_result" - lobj=${xdir}$objdir/$objname - - test -z "$base_compile" && \ - func_fatal_help "you must specify a compilation command" - - # Delete any leftover library objects. - if test "$build_old_libs" = yes; then - removelist="$obj $lobj $libobj ${libobj}T" - else - removelist="$lobj $libobj ${libobj}T" - fi - - # On Cygwin there's no "real" PIC flag so we must build both object types - case $host_os in - cygwin* | mingw* | pw32* | os2* | cegcc*) - pic_mode=default - ;; - esac - if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then - # non-PIC code in shared libraries is not supported - pic_mode=default - fi - - # Calculate the filename of the output object if compiler does - # not support -o with -c - if test "$compiler_c_o" = no; then - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} - lockfile="$output_obj.lock" - else - output_obj= - need_locks=no - lockfile= - fi - - # Lock this critical section if it is needed - # We use this script file to make the link, it avoids creating a new file - if test "$need_locks" = yes; then - until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do - func_echo "Waiting for $lockfile to be removed" - sleep 2 - done - elif test "$need_locks" = warn; then - if test -f "$lockfile"; then - $ECHO "\ -*** ERROR, $lockfile exists and contains: -`cat $lockfile 2>/dev/null` - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - removelist="$removelist $output_obj" - $ECHO "$srcfile" > "$lockfile" - fi - - $opt_dry_run || $RM $removelist - removelist="$removelist $lockfile" - trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 - - if test -n "$fix_srcfile_path"; then - eval srcfile=\"$fix_srcfile_path\" - fi - func_quote_for_eval "$srcfile" - qsrcfile=$func_quote_for_eval_result - - # Only build a PIC object if we are building libtool libraries. - if test "$build_libtool_libs" = yes; then - # Without this assignment, base_compile gets emptied. - fbsd_hideous_sh_bug=$base_compile - - if test "$pic_mode" != no; then - command="$base_compile $qsrcfile $pic_flag" - else - # Don't build PIC code - command="$base_compile $qsrcfile" - fi - - func_mkdir_p "$xdir$objdir" - - if test -z "$output_obj"; then - # Place PIC objects in $objdir - command="$command -o $lobj" - fi - - func_show_eval_locale "$command" \ - 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed, then go on to compile the next one - if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then - func_show_eval '$MV "$output_obj" "$lobj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - - # Allow error messages only from the first compilation. - if test "$suppress_opt" = yes; then - suppress_output=' >/dev/null 2>&1' - fi - fi - - # Only build a position-dependent object if we build old libraries. - if test "$build_old_libs" = yes; then - if test "$pic_mode" != yes; then - # Don't build PIC code - command="$base_compile $qsrcfile$pie_flag" - else - command="$base_compile $qsrcfile $pic_flag" - fi - if test "$compiler_c_o" = yes; then - command="$command -o $obj" - fi - - # Suppress compiler output if we already did a PIC compilation. - command="$command$suppress_output" - func_show_eval_locale "$command" \ - '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' - - if test "$need_locks" = warn && - test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then - $ECHO "\ -*** ERROR, $lockfile contains: -`cat $lockfile 2>/dev/null` - -but it should contain: -$srcfile - -This indicates that another process is trying to use the same -temporary object file, and libtool could not work around it because -your compiler does not support \`-c' and \`-o' together. If you -repeat this compilation, it may succeed, by chance, but you had better -avoid parallel builds (make -j) in this platform, or get a better -compiler." - - $opt_dry_run || $RM $removelist - exit $EXIT_FAILURE - fi - - # Just move the object if needed - if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then - func_show_eval '$MV "$output_obj" "$obj"' \ - 'error=$?; $opt_dry_run || $RM $removelist; exit $error' - fi - fi - - $opt_dry_run || { - func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" - - # Unlock the critical section if it was locked - if test "$need_locks" != no; then - removelist=$lockfile - $RM "$lockfile" - fi - } - - exit $EXIT_SUCCESS -} - -$opt_help || { -test "$mode" = compile && func_mode_compile ${1+"$@"} -} - -func_mode_help () -{ - # We need to display help for each of the modes. - case $mode in - "") - # Generic help is extracted from the usage comments - # at the start of this file. - func_help - ;; - - clean) - $ECHO \ -"Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... - -Remove files from the build directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, object or program, all the files associated -with it are deleted. Otherwise, only FILE itself is deleted using RM." - ;; - - compile) - $ECHO \ -"Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE - -Compile a source file into a libtool library object. - -This mode accepts the following additional options: - - -o OUTPUT-FILE set the output file name to OUTPUT-FILE - -no-suppress do not suppress compiler output for multiple passes - -prefer-pic try to building PIC objects only - -prefer-non-pic try to building non-PIC objects only - -shared do not build a \`.o' file suitable for static linking - -static only build a \`.o' file suitable for static linking - -COMPILE-COMMAND is a command to be used in creating a \`standard' object file -from the given SOURCEFILE. - -The output file name is determined by removing the directory component from -SOURCEFILE, then substituting the C source code suffix \`.c' with the -library object suffix, \`.lo'." - ;; - - execute) - $ECHO \ -"Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... - -Automatically set library path, then run a program. - -This mode accepts the following additional options: - - -dlopen FILE add the directory containing FILE to the library path - -This mode sets the library path environment variable according to \`-dlopen' -flags. - -If any of the ARGS are libtool executable wrappers, then they are translated -into their corresponding uninstalled binary, and any of their required library -directories are added to the library path. - -Then, COMMAND is executed, with ARGS as arguments." - ;; - - finish) - $ECHO \ -"Usage: $progname [OPTION]... --mode=finish [LIBDIR]... - -Complete the installation of libtool libraries. - -Each LIBDIR is a directory that contains libtool libraries. - -The commands that this mode executes may require superuser privileges. Use -the \`--dry-run' option if you just want to see what would be executed." - ;; - - install) - $ECHO \ -"Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... - -Install executables or libraries. - -INSTALL-COMMAND is the installation command. The first component should be -either the \`install' or \`cp' program. - -The following components of INSTALL-COMMAND are treated specially: - - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation - -The rest of the components are interpreted as arguments to that command (only -BSD-compatible install options are recognized)." - ;; - - link) - $ECHO \ -"Usage: $progname [OPTION]... --mode=link LINK-COMMAND... - -Link object files or libraries together to form another library, or to -create an executable program. - -LINK-COMMAND is a command using the C compiler that you would use to create -a program from several object files. - -The following components of LINK-COMMAND are treated specially: - - -all-static do not do any dynamic linking at all - -avoid-version do not add a version suffix if possible - -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime - -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols - -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) - -export-symbols SYMFILE - try to export only the symbols listed in SYMFILE - -export-symbols-regex REGEX - try to export only the symbols matching REGEX - -LLIBDIR search LIBDIR for required installed libraries - -lNAME OUTPUT-FILE requires the installed library libNAME - -module build a library that can dlopened - -no-fast-install disable the fast-install mode - -no-install link a not-installable executable - -no-undefined declare that a library does not refer to external symbols - -o OUTPUT-FILE create OUTPUT-FILE from the specified objects - -objectlist FILE Use a list of object files found in FILE to specify objects - -precious-files-regex REGEX - don't remove output files matching REGEX - -release RELEASE specify package release information - -rpath LIBDIR the created library will eventually be installed in LIBDIR - -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries - -shared only do dynamic linking of libtool libraries - -shrext SUFFIX override the standard shared library file extension - -static do not do any dynamic linking of uninstalled libtool libraries - -static-libtool-libs - do not do any dynamic linking of libtool libraries - -version-info CURRENT[:REVISION[:AGE]] - specify library version info [each variable defaults to 0] - -weak LIBNAME declare that the target provides the LIBNAME interface - -All other options (arguments beginning with \`-') are ignored. - -Every other argument is treated as a filename. Files ending in \`.la' are -treated as uninstalled libtool libraries, other files are standard or library -object files. - -If the OUTPUT-FILE ends in \`.la', then a libtool library is created, -only library objects (\`.lo' files) may be specified, and \`-rpath' is -required, except when creating a convenience library. - -If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created -using \`ar' and \`ranlib', or on Windows using \`lib'. - -If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file -is created, otherwise an executable program is created." - ;; - - uninstall) - $ECHO \ -"Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... - -Remove libraries from an installation directory. - -RM is the name of the program to use to delete files associated with each FILE -(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed -to RM. - -If FILE is a libtool library, all the files associated with it are deleted. -Otherwise, only FILE itself is deleted using RM." - ;; - - *) - func_fatal_help "invalid operation mode \`$mode'" - ;; - esac - - $ECHO - $ECHO "Try \`$progname --help' for more information about other modes." - - exit $? -} - - # Now that we've collected a possible --mode arg, show help if necessary - $opt_help && func_mode_help - - -# func_mode_execute arg... -func_mode_execute () -{ - $opt_debug - # The first argument is the command name. - cmd="$nonopt" - test -z "$cmd" && \ - func_fatal_help "you must specify a COMMAND" - - # Handle -dlopen flags immediately. - for file in $execute_dlfiles; do - test -f "$file" \ - || func_fatal_help "\`$file' is not a file" - - dir= - case $file in - *.la) - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "\`$lib' is not a valid libtool archive" - - # Read the libtool library. - dlname= - library_names= - func_source "$file" - - # Skip this library if it cannot be dlopened. - if test -z "$dlname"; then - # Warn if it was a shared library. - test -n "$library_names" && \ - func_warning "\`$file' was not linked with \`-export-dynamic'" - continue - fi - - func_dirname "$file" "" "." - dir="$func_dirname_result" - - if test -f "$dir/$objdir/$dlname"; then - dir="$dir/$objdir" - else - if test ! -f "$dir/$dlname"; then - func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" - fi - fi - ;; - - *.lo) - # Just add the directory containing the .lo file. - func_dirname "$file" "" "." - dir="$func_dirname_result" - ;; - - *) - func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" - continue - ;; - esac - - # Get the absolute pathname. - absdir=`cd "$dir" && pwd` - test -n "$absdir" && dir="$absdir" - - # Now add the directory to shlibpath_var. - if eval "test -z \"\$$shlibpath_var\""; then - eval "$shlibpath_var=\"\$dir\"" - else - eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" - fi - done - - # This variable tells wrapper scripts just to set shlibpath_var - # rather than running their programs. - libtool_execute_magic="$magic" - - # Check if any of the arguments is a wrapper script. - args= - for file - do - case $file in - -*) ;; - *) - # Do a test to see if this is really a libtool program. - if func_ltwrapper_script_p "$file"; then - func_source "$file" - # Transform arg to wrapped name. - file="$progdir/$program" - elif func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - func_source "$func_ltwrapper_scriptname_result" - # Transform arg to wrapped name. - file="$progdir/$program" - fi - ;; - esac - # Quote arguments (to preserve shell metacharacters). - func_quote_for_eval "$file" - args="$args $func_quote_for_eval_result" - done - - if test "X$opt_dry_run" = Xfalse; then - if test -n "$shlibpath_var"; then - # Export the shlibpath_var. - eval "export $shlibpath_var" - fi - - # Restore saved environment variables - for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES - do - eval "if test \"\${save_$lt_var+set}\" = set; then - $lt_var=\$save_$lt_var; export $lt_var - else - $lt_unset $lt_var - fi" - done - - # Now prepare to actually exec the command. - exec_cmd="\$cmd$args" - else - # Display what would be done. - if test -n "$shlibpath_var"; then - eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" - $ECHO "export $shlibpath_var" - fi - $ECHO "$cmd$args" - exit $EXIT_SUCCESS - fi -} - -test "$mode" = execute && func_mode_execute ${1+"$@"} - - -# func_mode_finish arg... -func_mode_finish () -{ - $opt_debug - libdirs="$nonopt" - admincmds= - - if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for dir - do - libdirs="$libdirs $dir" - done - - for libdir in $libdirs; do - if test -n "$finish_cmds"; then - # Do each command in the finish commands. - func_execute_cmds "$finish_cmds" 'admincmds="$admincmds -'"$cmd"'"' - fi - if test -n "$finish_eval"; then - # Do the single finish_eval. - eval cmds=\"$finish_eval\" - $opt_dry_run || eval "$cmds" || admincmds="$admincmds - $cmds" - fi - done - fi - - # Exit here if they wanted silent mode. - $opt_silent && exit $EXIT_SUCCESS - - $ECHO "X----------------------------------------------------------------------" | $Xsed - $ECHO "Libraries have been installed in:" - for libdir in $libdirs; do - $ECHO " $libdir" - done - $ECHO - $ECHO "If you ever happen to want to link against installed libraries" - $ECHO "in a given directory, LIBDIR, you must either use libtool, and" - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" - $ECHO "flag during linking and do at least one of the following:" - if test -n "$shlibpath_var"; then - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable" - $ECHO " during execution" - fi - if test -n "$runpath_var"; then - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable" - $ECHO " during linking" - fi - if test -n "$hardcode_libdir_flag_spec"; then - libdir=LIBDIR - eval flag=\"$hardcode_libdir_flag_spec\" - - $ECHO " - use the \`$flag' linker flag" - fi - if test -n "$admincmds"; then - $ECHO " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" - fi - $ECHO - - $ECHO "See any operating system documentation about shared libraries for" - case $host in - solaris2.[6789]|solaris2.1[0-9]) - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" - $ECHO "pages." - ;; - *) - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." - ;; - esac - $ECHO "X----------------------------------------------------------------------" | $Xsed - exit $EXIT_SUCCESS -} - -test "$mode" = finish && func_mode_finish ${1+"$@"} - - -# func_mode_install arg... -func_mode_install () -{ - $opt_debug - # There may be an optional sh(1) argument at the beginning of - # install_prog (especially on Windows NT). - if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || - # Allow the use of GNU shtool's install command. - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then - # Aesthetically quote it. - func_quote_for_eval "$nonopt" - install_prog="$func_quote_for_eval_result " - arg=$1 - shift - else - install_prog= - arg=$nonopt - fi - - # The real first argument should be the name of the installation program. - # Aesthetically quote it. - func_quote_for_eval "$arg" - install_prog="$install_prog$func_quote_for_eval_result" - - # We need to accept at least all the BSD install flags. - dest= - files= - opts= - prev= - install_type= - isdir=no - stripme= - for arg - do - if test -n "$dest"; then - files="$files $dest" - dest=$arg - continue - fi - - case $arg in - -d) isdir=yes ;; - -f) - case " $install_prog " in - *[\\\ /]cp\ *) ;; - *) prev=$arg ;; - esac - ;; - -g | -m | -o) - prev=$arg - ;; - -s) - stripme=" -s" - continue - ;; - -*) - ;; - *) - # If the previous option needed an argument, then skip it. - if test -n "$prev"; then - prev= - else - dest=$arg - continue - fi - ;; - esac - - # Aesthetically quote the argument. - func_quote_for_eval "$arg" - install_prog="$install_prog $func_quote_for_eval_result" - done - - test -z "$install_prog" && \ - func_fatal_help "you must specify an install program" - - test -n "$prev" && \ - func_fatal_help "the \`$prev' option requires an argument" - - if test -z "$files"; then - if test -z "$dest"; then - func_fatal_help "no file or destination specified" - else - func_fatal_help "you must specify a destination" - fi - fi - - # Strip any trailing slash from the destination. - func_stripname '' '/' "$dest" - dest=$func_stripname_result - - # Check to see that the destination is a directory. - test -d "$dest" && isdir=yes - if test "$isdir" = yes; then - destdir="$dest" - destname= - else - func_dirname_and_basename "$dest" "" "." - destdir="$func_dirname_result" - destname="$func_basename_result" - - # Not a directory, so check to see that there is only one file specified. - set dummy $files; shift - test "$#" -gt 1 && \ - func_fatal_help "\`$dest' is not a directory" - fi - case $destdir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - for file in $files; do - case $file in - *.lo) ;; - *) - func_fatal_help "\`$destdir' must be an absolute directory name" - ;; - esac - done - ;; - esac - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - staticlibs= - future_libdirs= - current_libdirs= - for file in $files; do - - # Do each installation. - case $file in - *.$libext) - # Do the static libraries later. - staticlibs="$staticlibs $file" - ;; - - *.la) - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$file" \ - || func_fatal_help "\`$file' is not a valid libtool archive" - - library_names= - old_library= - relink_command= - func_source "$file" - - # Add the libdir to current_libdirs if it is the destination. - if test "X$destdir" = "X$libdir"; then - case "$current_libdirs " in - *" $libdir "*) ;; - *) current_libdirs="$current_libdirs $libdir" ;; - esac - else - # Note the libdir as a future libdir. - case "$future_libdirs " in - *" $libdir "*) ;; - *) future_libdirs="$future_libdirs $libdir" ;; - esac - fi - - func_dirname "$file" "/" "" - dir="$func_dirname_result" - dir="$dir$objdir" - - if test -n "$relink_command"; then - # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` - - # Don't allow the user to place us outside of our expected - # location b/c this prevents finding dependent libraries that - # are installed to the same prefix. - # At present, this check doesn't affect windows .dll's that - # are installed into $libdir/../bin (currently, that works fine) - # but it's something to keep an eye on. - test "$inst_prefix_dir" = "$destdir" && \ - func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" - - if test -n "$inst_prefix_dir"; then - # Stick the inst_prefix_dir data into the link command. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` - else - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` - fi - - func_warning "relinking \`$file'" - func_show_eval "$relink_command" \ - 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' - fi - - # See the names of the shared library. - set dummy $library_names; shift - if test -n "$1"; then - realname="$1" - shift - - srcname="$realname" - test -n "$relink_command" && srcname="$realname"T - - # Install the shared library and build the symlinks. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ - 'exit $?' - tstripme="$stripme" - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - case $realname in - *.dll.a) - tstripme="" - ;; - esac - ;; - esac - if test -n "$tstripme" && test -n "$striplib"; then - func_show_eval "$striplib $destdir/$realname" 'exit $?' - fi - - if test "$#" -gt 0; then - # Delete the old symlinks, and create new ones. - # Try `ln -sf' first, because the `ln' binary might depend on - # the symlink we replace! Solaris /bin/ln does not understand -f, - # so we also need to try rm && ln -s. - for linkname - do - test "$linkname" != "$realname" \ - && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" - done - fi - - # Do each command in the postinstall commands. - lib="$destdir/$realname" - func_execute_cmds "$postinstall_cmds" 'exit $?' - fi - - # Install the pseudo-library for information purposes. - func_basename "$file" - name="$func_basename_result" - instname="$dir/$name"i - func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' - - # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" - ;; - - *.lo) - # Install (i.e. copy) a libtool object. - - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - func_basename "$file" - destfile="$func_basename_result" - destfile="$destdir/$destfile" - fi - - # Deduce the name of the destination old-style object file. - case $destfile in - *.lo) - func_lo2o "$destfile" - staticdest=$func_lo2o_result - ;; - *.$objext) - staticdest="$destfile" - destfile= - ;; - *) - func_fatal_help "cannot copy a libtool object to \`$destfile'" - ;; - esac - - # Install the libtool object if requested. - test -n "$destfile" && \ - func_show_eval "$install_prog $file $destfile" 'exit $?' - - # Install the old object if enabled. - if test "$build_old_libs" = yes; then - # Deduce the name of the old-style object file. - func_lo2o "$file" - staticobj=$func_lo2o_result - func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' - fi - exit $EXIT_SUCCESS - ;; - - *) - # Figure out destination file name, if it wasn't already specified. - if test -n "$destname"; then - destfile="$destdir/$destname" - else - func_basename "$file" - destfile="$func_basename_result" - destfile="$destdir/$destfile" - fi - - # If the file is missing, and there is a .exe on the end, strip it - # because it is most likely a libtool script we actually want to - # install - stripped_ext="" - case $file in - *.exe) - if test ! -f "$file"; then - func_stripname '' '.exe' "$file" - file=$func_stripname_result - stripped_ext=".exe" - fi - ;; - esac - - # Do a test to see if this is really a libtool program. - case $host in - *cygwin* | *mingw*) - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - wrapper=$func_ltwrapper_scriptname_result - else - func_stripname '' '.exe' "$file" - wrapper=$func_stripname_result - fi - ;; - *) - wrapper=$file - ;; - esac - if func_ltwrapper_script_p "$wrapper"; then - notinst_deplibs= - relink_command= - - func_source "$wrapper" - - # Check the variables that should have been set. - test -z "$generated_by_libtool_version" && \ - func_fatal_error "invalid libtool wrapper script \`$wrapper'" - - finalize=yes - for lib in $notinst_deplibs; do - # Check to see that each library is installed. - libdir= - if test -f "$lib"; then - func_source "$lib" - fi - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test - if test -n "$libdir" && test ! -f "$libfile"; then - func_warning "\`$lib' has not been installed in \`$libdir'" - finalize=no - fi - done - - relink_command= - func_source "$wrapper" - - outputname= - if test "$fast_install" = no && test -n "$relink_command"; then - $opt_dry_run || { - if test "$finalize" = yes; then - tmpdir=`func_mktempdir` - func_basename "$file$stripped_ext" - file="$func_basename_result" - outputname="$tmpdir/$file" - # Replace the output file specification. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` - - $opt_silent || { - func_quote_for_expand "$relink_command" - eval "func_echo $func_quote_for_expand_result" - } - if eval "$relink_command"; then : - else - func_error "error: relink \`$file' with the above command before installing it" - $opt_dry_run || ${RM}r "$tmpdir" - continue - fi - file="$outputname" - else - func_warning "cannot relink \`$file'" - fi - } - else - # Install the binary that we compiled earlier. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` - fi - fi - - # remove .exe since cygwin /usr/bin/install will append another - # one anyway - case $install_prog,$host in - */usr/bin/install*,*cygwin*) - case $file:$destfile in - *.exe:*.exe) - # this is ok - ;; - *.exe:*) - destfile=$destfile.exe - ;; - *:*.exe) - func_stripname '' '.exe' "$destfile" - destfile=$func_stripname_result - ;; - esac - ;; - esac - func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' - $opt_dry_run || if test -n "$outputname"; then - ${RM}r "$tmpdir" - fi - ;; - esac - done - - for file in $staticlibs; do - func_basename "$file" - name="$func_basename_result" - - # Set up the ranlib parameters. - oldlib="$destdir/$name" - - func_show_eval "$install_prog \$file \$oldlib" 'exit $?' - - if test -n "$stripme" && test -n "$old_striplib"; then - func_show_eval "$old_striplib $oldlib" 'exit $?' - fi - - # Do each command in the postinstall commands. - func_execute_cmds "$old_postinstall_cmds" 'exit $?' - done - - test -n "$future_libdirs" && \ - func_warning "remember to run \`$progname --finish$future_libdirs'" - - if test -n "$current_libdirs"; then - # Maybe just do a dry run. - $opt_dry_run && current_libdirs=" -n$current_libdirs" - exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' - else - exit $EXIT_SUCCESS - fi -} - -test "$mode" = install && func_mode_install ${1+"$@"} - - -# func_generate_dlsyms outputname originator pic_p -# Extract symbols from dlprefiles and create ${outputname}S.o with -# a dlpreopen symbol table. -func_generate_dlsyms () -{ - $opt_debug - my_outputname="$1" - my_originator="$2" - my_pic_p="${3-no}" - my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` - my_dlsyms= - - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - if test -n "$NM" && test -n "$global_symbol_pipe"; then - my_dlsyms="${my_outputname}S.c" - else - func_error "not configured to extract global symbols from dlpreopened files" - fi - fi - - if test -n "$my_dlsyms"; then - case $my_dlsyms in - "") ;; - *.c) - # Discover the nlist of each of the dlfiles. - nlist="$output_objdir/${my_outputname}.nm" - - func_show_eval "$RM $nlist ${nlist}S ${nlist}T" - - # Parse the name list into a source file. - func_verbose "creating $output_objdir/$my_dlsyms" - - $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ -/* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ -/* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ - -#ifdef __cplusplus -extern \"C\" { -#endif - -/* External symbol declarations for the compiler. */\ -" - - if test "$dlself" = yes; then - func_verbose "generating symbol list for \`$output'" - - $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" - - # Add our own program objects to the symbol list. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - for progfile in $progfiles; do - func_verbose "extracting global C symbols from \`$progfile'" - $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" - done - - if test -n "$exclude_expsyms"; then - $opt_dry_run || { - eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - if test -n "$export_symbols_regex"; then - $opt_dry_run || { - eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - } - fi - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - export_symbols="$output_objdir/$outputname.exp" - $opt_dry_run || { - $RM $export_symbols - eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' - case $host in - *cygwin* | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' - ;; - esac - } - else - $opt_dry_run || { - eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' - eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' - eval '$MV "$nlist"T "$nlist"' - case $host in - *cygwin | *mingw* | *cegcc* ) - eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' - eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' - ;; - esac - } - fi - fi - - for dlprefile in $dlprefiles; do - func_verbose "extracting global C symbols from \`$dlprefile'" - func_basename "$dlprefile" - name="$func_basename_result" - $opt_dry_run || { - eval '$ECHO ": $name " >> "$nlist"' - eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'" - } - done - - $opt_dry_run || { - # Make sure we have at least an empty file. - test -f "$nlist" || : > "$nlist" - - if test -n "$exclude_expsyms"; then - $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T - $MV "$nlist"T "$nlist" - fi - - # Try sorting and uniquifying the output. - if $GREP -v "^: " < "$nlist" | - if sort -k 3 /dev/null 2>&1; then - sort -k 3 - else - sort +2 - fi | - uniq > "$nlist"S; then - : - else - $GREP -v "^: " < "$nlist" > "$nlist"S - fi - - if test -f "$nlist"S; then - eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' - else - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" - fi - - $ECHO >> "$output_objdir/$my_dlsyms" "\ - -/* The mapping between symbol names and symbols. */ -typedef struct { - const char *name; - void *address; -} lt_dlsymlist; -" - case $host in - *cygwin* | *mingw* | *cegcc* ) - $ECHO >> "$output_objdir/$my_dlsyms" "\ -/* DATA imports from DLLs on WIN32 con't be const, because - runtime relocations are performed -- see ld's documentation - on pseudo-relocs. */" - lt_dlsym_const= ;; - *osf5*) - echo >> "$output_objdir/$my_dlsyms" "\ -/* This system does not cope well with relocations in const data */" - lt_dlsym_const= ;; - *) - lt_dlsym_const=const ;; - esac - - $ECHO >> "$output_objdir/$my_dlsyms" "\ -extern $lt_dlsym_const lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[]; -$lt_dlsym_const lt_dlsymlist -lt_${my_prefix}_LTX_preloaded_symbols[] = -{\ - { \"$my_originator\", (void *) 0 }," - - case $need_lib_prefix in - no) - eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - *) - eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" - ;; - esac - $ECHO >> "$output_objdir/$my_dlsyms" "\ - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt_${my_prefix}_LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif\ -" - } # !$opt_dry_run - - pic_flag_for_symtable= - case "$compile_command " in - *" -static "*) ;; - *) - case $host in - # compiling the symbol table file with pic_flag works around - # a FreeBSD bug that causes programs to crash when -lm is - # linked before any other PIC object. But we must not use - # pic_flag when linking with -static. The problem exists in - # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) - pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; - *-*-hpux*) - pic_flag_for_symtable=" $pic_flag" ;; - *) - if test "X$my_pic_p" != Xno; then - pic_flag_for_symtable=" $pic_flag" - fi - ;; - esac - ;; - esac - symtab_cflags= - for arg in $LTCFLAGS; do - case $arg in - -pie | -fpie | -fPIE) ;; - *) symtab_cflags="$symtab_cflags $arg" ;; - esac - done - - # Now compile the dynamic symbol file. - func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' - - # Clean up the generated files. - func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' - - # Transform the symbol file into the correct name. - symfileobj="$output_objdir/${my_outputname}S.$objext" - case $host in - *cygwin* | *mingw* | *cegcc* ) - if test -f "$output_objdir/$my_outputname.def"; then - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - else - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - fi - ;; - *) - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - ;; - esac - ;; - *) - func_fatal_error "unknown suffix for \`$my_dlsyms'" - ;; - esac - else - # We keep going just in case the user didn't refer to - # lt_preloaded_symbols. The linker will fail if global_symbol_pipe - # really was required. - - # Nullify the symbol file. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` - fi -} - -# func_win32_libid arg -# return the library type of file 'arg' -# -# Need a lot of goo to handle *both* DLLs and import libs -# Has to be a shell function in order to 'eat' the argument -# that is supplied when $file_magic_command is called. -func_win32_libid () -{ - $opt_debug - win32_libid_type="unknown" - win32_fileres=`file -L $1 2>/dev/null` - case $win32_fileres in - *ar\ archive\ import\ library*) # definitely import - win32_libid_type="x86 archive import" - ;; - *ar\ archive*) # could be an import, or static - if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then - win32_nmres=`eval $NM -f posix -A $1 | - $SED -n -e ' - 1,100{ - / I /{ - s,.*,import, - p - q - } - }'` - case $win32_nmres in - import*) win32_libid_type="x86 archive import";; - *) win32_libid_type="x86 archive static";; - esac - fi - ;; - *DLL*) - win32_libid_type="x86 DLL" - ;; - *executable*) # but shell scripts are "executable" too... - case $win32_fileres in - *MS\ Windows\ PE\ Intel*) - win32_libid_type="x86 DLL" - ;; - esac - ;; - esac - $ECHO "$win32_libid_type" -} - - - -# func_extract_an_archive dir oldlib -func_extract_an_archive () -{ - $opt_debug - f_ex_an_ar_dir="$1"; shift - f_ex_an_ar_oldlib="$1" - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' - if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then - : - else - func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" - fi -} - - -# func_extract_archives gentop oldlib ... -func_extract_archives () -{ - $opt_debug - my_gentop="$1"; shift - my_oldlibs=${1+"$@"} - my_oldobjs="" - my_xlib="" - my_xabs="" - my_xdir="" - - for my_xlib in $my_oldlibs; do - # Extract the objects. - case $my_xlib in - [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; - *) my_xabs=`pwd`"/$my_xlib" ;; - esac - func_basename "$my_xlib" - my_xlib="$func_basename_result" - my_xlib_u=$my_xlib - while :; do - case " $extracted_archives " in - *" $my_xlib_u "*) - func_arith $extracted_serial + 1 - extracted_serial=$func_arith_result - my_xlib_u=lt$extracted_serial-$my_xlib ;; - *) break ;; - esac - done - extracted_archives="$extracted_archives $my_xlib_u" - my_xdir="$my_gentop/$my_xlib_u" - - func_mkdir_p "$my_xdir" - - case $host in - *-darwin*) - func_verbose "Extracting $my_xabs" - # Do not bother doing anything if just a dry run - $opt_dry_run || { - darwin_orig_dir=`pwd` - cd $my_xdir || exit $? - darwin_archive=$my_xabs - darwin_curdir=`pwd` - darwin_base_archive=`basename "$darwin_archive"` - darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` - if test -n "$darwin_arches"; then - darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` - darwin_arch= - func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" - for darwin_arch in $darwin_arches ; do - func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" - $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" - cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" - func_extract_an_archive "`pwd`" "${darwin_base_archive}" - cd "$darwin_curdir" - $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" - done # $darwin_arches - ## Okay now we've a bunch of thin objects, gotta fatten them up :) - darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` - darwin_file= - darwin_files= - for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` - $LIPO -create -output "$darwin_file" $darwin_files - done # $darwin_filelist - $RM -rf unfat-$$ - cd "$darwin_orig_dir" - else - cd $darwin_orig_dir - func_extract_an_archive "$my_xdir" "$my_xabs" - fi # $darwin_arches - } # !$opt_dry_run - ;; - *) - func_extract_an_archive "$my_xdir" "$my_xabs" - ;; - esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` - done - - func_extract_archives_result="$my_oldobjs" -} - - - -# func_emit_wrapper_part1 [arg=no] -# -# Emit the first part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part1 () -{ - func_emit_wrapper_part1_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part1_arg1=$1 - fi - - $ECHO "\ -#! $SHELL - -# $output - temporary wrapper script for $objdir/$outputname -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# The $output program cannot be directly executed until all the libtool -# libraries that it depends on are installed. -# -# This wrapper script should never be moved out of the build directory. -# If it is, it will not operate correctly. - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='${SED} -e 1s/^X//' -sed_quote_subst='$sed_quote_subst' - -# Be Bourne compatible -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -relink_command=\"$relink_command\" - -# This environment variable determines our operation mode. -if test \"\$libtool_install_magic\" = \"$magic\"; then - # install mode needs the following variables: - generated_by_libtool_version='$macro_version' - notinst_deplibs='$notinst_deplibs' -else - # When we are sourced in execute mode, \$file and \$ECHO are already set. - if test \"\$libtool_execute_magic\" != \"$magic\"; then - ECHO=\"$qecho\" - file=\"\$0\" - # Make sure echo works. - if test \"X\$1\" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then - # Yippee, \$ECHO works! - : - else - # Restart under the correct shell, and then maybe \$ECHO will work. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} - fi - fi\ -" - $ECHO "\ - - # Find the directory that this script lives in. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` - test \"x\$thisdir\" = \"x\$file\" && thisdir=. - - # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` - while test -n \"\$file\"; do - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` - - # If there was a directory component, then change thisdir. - if test \"x\$destdir\" != \"x\$file\"; then - case \"\$destdir\" in - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; - *) thisdir=\"\$thisdir/\$destdir\" ;; - esac - fi - - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` - done -" -} -# end: func_emit_wrapper_part1 - -# func_emit_wrapper_part2 [arg=no] -# -# Emit the second part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part2 () -{ - func_emit_wrapper_part2_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part2_arg1=$1 - fi - - $ECHO "\ - - # Usually 'no', except on cygwin/mingw when embedded into - # the cwrapper. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 - if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then - # special case for '.' - if test \"\$thisdir\" = \".\"; then - thisdir=\`pwd\` - fi - # remove .libs from thisdir - case \"\$thisdir\" in - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; - $objdir ) thisdir=. ;; - esac - fi - - # Try to get the absolute directory name. - absdir=\`cd \"\$thisdir\" && pwd\` - test -n \"\$absdir\" && thisdir=\"\$absdir\" -" - - if test "$fast_install" = yes; then - $ECHO "\ - program=lt-'$outputname'$exeext - progdir=\"\$thisdir/$objdir\" - - if test ! -f \"\$progdir/\$program\" || - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ - test \"X\$file\" != \"X\$progdir/\$program\"; }; then - - file=\"\$\$-\$program\" - - if test ! -d \"\$progdir\"; then - $MKDIR \"\$progdir\" - else - $RM \"\$progdir/\$file\" - fi" - - $ECHO "\ - - # relink executable if necessary - if test -n \"\$relink_command\"; then - if relink_command_output=\`eval \$relink_command 2>&1\`; then : - else - $ECHO \"\$relink_command_output\" >&2 - $RM \"\$progdir/\$file\" - exit 1 - fi - fi - - $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || - { $RM \"\$progdir/\$program\"; - $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } - $RM \"\$progdir/\$file\" - fi" - else - $ECHO "\ - program='$outputname' - progdir=\"\$thisdir/$objdir\" -" - fi - - $ECHO "\ - - if test -f \"\$progdir/\$program\"; then" - - # Export our shlibpath_var if we have one. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then - $ECHO "\ - # Add our own library path to $shlibpath_var - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed - $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` - - export $shlibpath_var -" - fi - - # fixup the dll searchpath if we need to. - if test -n "$dllsearchpath"; then - $ECHO "\ - # Add the dll search path components to the executable PATH - PATH=$dllsearchpath:\$PATH -" - fi - - $ECHO "\ - if test \"\$libtool_execute_magic\" != \"$magic\"; then - # Run the actual program with our arguments. -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) - $ECHO "\ - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $ECHO "\ - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $ECHO "\ - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 - exit 1 - fi - else - # The program doesn't exist. - \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 - \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 - exit 1 - fi -fi\ -" -} -# end: func_emit_wrapper_part2 - - -# func_emit_wrapper [arg=no] -# -# Emit a libtool wrapper script on stdout. -# Don't directly open a file because we may want to -# incorporate the script contents within a cygwin/mingw -# wrapper executable. Must ONLY be called from within -# func_mode_link because it depends on a number of variables -# set therein. -# -# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR -# variable will take. If 'yes', then the emitted script -# will assume that the directory in which it is stored is -# the $objdir directory. This is a cygwin/mingw-specific -# behavior. -func_emit_wrapper () -{ - func_emit_wrapper_arg1=no - if test -n "$1" ; then - func_emit_wrapper_arg1=$1 - fi - - # split this up so that func_emit_cwrapperexe_src - # can call each part independently. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" -} - - -# func_to_host_path arg -# -# Convert paths to host format when used with build tools. -# Intended for use with "native" mingw (where libtool itself -# is running under the msys shell), or in the following cross- -# build environments: -# $build $host -# mingw (msys) mingw [e.g. native] -# cygwin mingw -# *nix + wine mingw -# where wine is equipped with the `winepath' executable. -# In the native mingw case, the (msys) shell automatically -# converts paths for any non-msys applications it launches, -# but that facility isn't available from inside the cwrapper. -# Similar accommodations are necessary for $host mingw and -# $build cygwin. Calling this function does no harm for other -# $host/$build combinations not listed above. -# -# ARG is the path (on $build) that should be converted to -# the proper representation for $host. The result is stored -# in $func_to_host_path_result. -func_to_host_path () -{ - func_to_host_path_result="$1" - if test -n "$1" ; then - case $host in - *mingw* ) - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - case $build in - *mingw* ) # actually, msys - # awkward: cmd appends spaces to result - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_path_tmp1=`( cmd //c echo "$1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - *cygwin* ) - func_to_host_path_tmp1=`cygpath -w "$1"` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - * ) - # Unfortunately, winepath does not exit with a non-zero - # error code, so we are forced to check the contents of - # stdout. On the other hand, if the command is not - # found, the shell will set an exit code of 127 and print - # *an error message* to stdout. So we must check for both - # error code of zero AND non-empty stdout, which explains - # the odd construction: - func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` - if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - else - # Allow warning below. - func_to_host_path_result="" - fi - ;; - esac - if test -z "$func_to_host_path_result" ; then - #func_error "Could not determine host path corresponding to" - #func_error " '$1'" - #func_error "Continuing, but uninstalled executables may not work." - # Fallback: - func_to_host_path_result="$1" - fi - ;; - esac - fi -} -# end: func_to_host_path - -# func_to_host_pathlist arg -# -# Convert pathlists to host format when used with build tools. -# See func_to_host_path(), above. This function supports the -# following $build/$host combinations (but does no harm for -# combinations not listed here): -# $build $host -# mingw (msys) mingw [e.g. native] -# cygwin mingw -# *nix + wine mingw -# -# Path separators are also converted from $build format to -# $host format. If ARG begins or ends with a path separator -# character, it is preserved (but converted to $host format) -# on output. -# -# ARG is a pathlist (on $build) that should be converted to -# the proper representation on $host. The result is stored -# in $func_to_host_pathlist_result. -func_to_host_pathlist () -{ - func_to_host_pathlist_result="$1" - if test -n "$1" ; then - case $host in - *mingw* ) - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - # Remove leading and trailing path separator characters from - # ARG. msys behavior is inconsistent here, cygpath turns them - # into '.;' and ';.', and winepath ignores them completely. - func_to_host_pathlist_tmp2="$1" - # Once set for this call, this variable should not be - # reassigned. It is used in tha fallback case. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e 's|^:*||' -e 's|:*$||'` - case $build in - *mingw* ) # Actually, msys. - # Awkward: cmd appends spaces to result. - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - *cygwin* ) - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - * ) - # unfortunately, winepath doesn't convert pathlists - func_to_host_pathlist_result="" - func_to_host_pathlist_oldIFS=$IFS - IFS=: - for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do - IFS=$func_to_host_pathlist_oldIFS - if test -n "$func_to_host_pathlist_f" ; then - func_to_host_path "$func_to_host_pathlist_f" - if test -n "$func_to_host_path_result" ; then - if test -z "$func_to_host_pathlist_result" ; then - func_to_host_pathlist_result="$func_to_host_path_result" - else - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" - fi - fi - fi - IFS=: - done - IFS=$func_to_host_pathlist_oldIFS - ;; - esac - if test -z "$func_to_host_pathlist_result" ; then - func_error "Could not determine the host path(s) corresponding to" - func_error " '$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback. This may break if $1 contains DOS-style drive - # specifications. The fix is not to complicate the expression - # below, but for the user to provide a working wine installation - # with winepath so that path translation in the cross-to-mingw - # case works properly. - lt_replace_pathsep_nix_to_dos="s|:|;|g" - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_replace_pathsep_nix_to_dos"` - fi - # Now, add the leading and trailing path separators back - case "$1" in - :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" - ;; - esac - case "$1" in - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" - ;; - esac - ;; - esac - fi -} -# end: func_to_host_pathlist - -# func_emit_cwrapperexe_src -# emit the source code for a wrapper executable on stdout -# Must ONLY be called from within func_mode_link because -# it depends on a number of variable set therein. -func_emit_cwrapperexe_src () -{ - cat < -#include -#ifdef _MSC_VER -# include -# include -# include -# define setmode _setmode -#else -# include -# include -# ifdef __CYGWIN__ -# include -# define HAVE_SETENV -# ifdef __STRICT_ANSI__ -char *realpath (const char *, char *); -int putenv (char *); -int setenv (const char *, const char *, int); -# endif -# endif -#endif -#include -#include -#include -#include -#include -#include -#include -#include - -#if defined(PATH_MAX) -# define LT_PATHMAX PATH_MAX -#elif defined(MAXPATHLEN) -# define LT_PATHMAX MAXPATHLEN -#else -# define LT_PATHMAX 1024 -#endif - -#ifndef S_IXOTH -# define S_IXOTH 0 -#endif -#ifndef S_IXGRP -# define S_IXGRP 0 -#endif - -#ifdef _MSC_VER -# define S_IXUSR _S_IEXEC -# define stat _stat -# ifndef _INTPTR_T_DEFINED -# define intptr_t int -# endif -#endif - -#ifndef DIR_SEPARATOR -# define DIR_SEPARATOR '/' -# define PATH_SEPARATOR ':' -#endif - -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ - defined (__OS2__) -# define HAVE_DOS_BASED_FILE_SYSTEM -# define FOPEN_WB "wb" -# ifndef DIR_SEPARATOR_2 -# define DIR_SEPARATOR_2 '\\' -# endif -# ifndef PATH_SEPARATOR_2 -# define PATH_SEPARATOR_2 ';' -# endif -#endif - -#ifndef DIR_SEPARATOR_2 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -#else /* DIR_SEPARATOR_2 */ -# define IS_DIR_SEPARATOR(ch) \ - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -#endif /* DIR_SEPARATOR_2 */ - -#ifndef PATH_SEPARATOR_2 -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) -#else /* PATH_SEPARATOR_2 */ -# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) -#endif /* PATH_SEPARATOR_2 */ - -#ifdef __CYGWIN__ -# define FOPEN_WB "wb" -#endif - -#ifndef FOPEN_WB -# define FOPEN_WB "w" -#endif -#ifndef _O_BINARY -# define _O_BINARY 0 -#endif - -#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) -#define XFREE(stale) do { \ - if (stale) { free ((void *) stale); stale = 0; } \ -} while (0) - -#undef LTWRAPPER_DEBUGPRINTF -#if defined DEBUGWRAPPER -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args -static void -ltwrapper_debugprintf (const char *fmt, ...) -{ - va_list args; - va_start (args, fmt); - (void) vfprintf (stderr, fmt, args); - va_end (args); -} -#else -# define LTWRAPPER_DEBUGPRINTF(args) -#endif - -const char *program_name = NULL; - -void *xmalloc (size_t num); -char *xstrdup (const char *string); -const char *base_name (const char *name); -char *find_executable (const char *wrapper); -char *chase_symlinks (const char *pathspec); -int make_executable (const char *path); -int check_executable (const char *path); -char *strendzap (char *str, const char *pat); -void lt_fatal (const char *message, ...); -void lt_setenv (const char *name, const char *value); -char *lt_extend_str (const char *orig_value, const char *add, int to_end); -void lt_opt_process_env_set (const char *arg); -void lt_opt_process_env_prepend (const char *arg); -void lt_opt_process_env_append (const char *arg); -int lt_split_name_value (const char *arg, char** name, char** value); -void lt_update_exe_path (const char *name, const char *value); -void lt_update_lib_path (const char *name, const char *value); - -static const char *script_text_part1 = -EOF - - func_emit_wrapper_part1 yes | - $SED -e 's/\([\\"]\)/\\\1/g' \ - -e 's/^/ "/' -e 's/$/\\n"/' - echo ";" - cat <"))); - for (i = 0; i < newargc; i++) - { - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); - } - -EOF - - case $host_os in - mingw*) - cat <<"EOF" - /* execv doesn't actually work on mingw as expected on unix */ - rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); - if (rval == -1) - { - /* failed to start process */ - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); - return 127; - } - return rval; -EOF - ;; - *) - cat <<"EOF" - execv (lt_argv_zero, newargz); - return rval; /* =127, but avoids unused variable warning */ -EOF - ;; - esac - - cat <<"EOF" -} - -void * -xmalloc (size_t num) -{ - void *p = (void *) malloc (num); - if (!p) - lt_fatal ("Memory exhausted"); - - return p; -} - -char * -xstrdup (const char *string) -{ - return string ? strcpy ((char *) xmalloc (strlen (string) + 1), - string) : NULL; -} - -const char * -base_name (const char *name) -{ - const char *base; - -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - /* Skip over the disk name in MSDOS pathnames. */ - if (isalpha ((unsigned char) name[0]) && name[1] == ':') - name += 2; -#endif - - for (base = name; *name; name++) - if (IS_DIR_SEPARATOR (*name)) - base = name + 1; - return base; -} - -int -check_executable (const char *path) -{ - struct stat st; - - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); - if ((!path) || (!*path)) - return 0; - - if ((stat (path, &st) >= 0) - && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) - return 1; - else - return 0; -} - -int -make_executable (const char *path) -{ - int rval = 0; - struct stat st; - - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); - if ((!path) || (!*path)) - return 0; - - if (stat (path, &st) >= 0) - { - rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); - } - return rval; -} - -/* Searches for the full path of the wrapper. Returns - newly allocated full path name if found, NULL otherwise - Does not chase symlinks, even on platforms that support them. -*/ -char * -find_executable (const char *wrapper) -{ - int has_slash = 0; - const char *p; - const char *p_next; - /* static buffer for getcwd */ - char tmp[LT_PATHMAX + 1]; - int tmp_len; - char *concat_name; - - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); - - if ((wrapper == NULL) || (*wrapper == '\0')) - return NULL; - - /* Absolute path? */ -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - else - { -#endif - if (IS_DIR_SEPARATOR (wrapper[0])) - { - concat_name = xstrdup (wrapper); - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } -#if defined (HAVE_DOS_BASED_FILE_SYSTEM) - } -#endif - - for (p = wrapper; *p; p++) - if (*p == '/') - { - has_slash = 1; - break; - } - if (!has_slash) - { - /* no slashes; search PATH */ - const char *path = getenv ("PATH"); - if (path != NULL) - { - for (p = path; *p; p = p_next) - { - const char *q; - size_t p_len; - for (q = p; *q; q++) - if (IS_PATH_SEPARATOR (*q)) - break; - p_len = q - p; - p_next = (*q == '\0' ? q : q + 1); - if (p_len == 0) - { - /* empty path: current directory */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen (tmp); - concat_name = - XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - } - else - { - concat_name = - XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, p, p_len); - concat_name[p_len] = '/'; - strcpy (concat_name + p_len + 1, wrapper); - } - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - } - } - /* not found in PATH; assume curdir */ - } - /* Relative path | not found in path: prepend cwd */ - if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); - tmp_len = strlen (tmp); - concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); - memcpy (concat_name, tmp, tmp_len); - concat_name[tmp_len] = '/'; - strcpy (concat_name + tmp_len + 1, wrapper); - - if (check_executable (concat_name)) - return concat_name; - XFREE (concat_name); - return NULL; -} - -char * -chase_symlinks (const char *pathspec) -{ -#ifndef S_ISLNK - return xstrdup (pathspec); -#else - char buf[LT_PATHMAX]; - struct stat s; - char *tmp_pathspec = xstrdup (pathspec); - char *p; - int has_symlinks = 0; - while (strlen (tmp_pathspec) && !has_symlinks) - { - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", - tmp_pathspec)); - if (lstat (tmp_pathspec, &s) == 0) - { - if (S_ISLNK (s.st_mode) != 0) - { - has_symlinks = 1; - break; - } - - /* search backwards for last DIR_SEPARATOR */ - p = tmp_pathspec + strlen (tmp_pathspec) - 1; - while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - p--; - if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) - { - /* no more DIR_SEPARATORS left */ - break; - } - *p = '\0'; - } - else - { - char *errstr = strerror (errno); - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); - } - } - XFREE (tmp_pathspec); - - if (!has_symlinks) - { - return xstrdup (pathspec); - } - - tmp_pathspec = realpath (pathspec, buf); - if (tmp_pathspec == 0) - { - lt_fatal ("Could not follow symlinks for %s", pathspec); - } - return xstrdup (tmp_pathspec); -#endif -} - -char * -strendzap (char *str, const char *pat) -{ - size_t len, patlen; - - assert (str != NULL); - assert (pat != NULL); - - len = strlen (str); - patlen = strlen (pat); - - if (patlen <= len) - { - str += len - patlen; - if (strcmp (str, pat) == 0) - *str = '\0'; - } - return str; -} - -static void -lt_error_core (int exit_status, const char *mode, - const char *message, va_list ap) -{ - fprintf (stderr, "%s: %s: ", program_name, mode); - vfprintf (stderr, message, ap); - fprintf (stderr, ".\n"); - - if (exit_status >= 0) - exit (exit_status); -} - -void -lt_fatal (const char *message, ...) -{ - va_list ap; - va_start (ap, message); - lt_error_core (EXIT_FAILURE, "FATAL", message, ap); - va_end (ap); -} - -void -lt_setenv (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", - (name ? name : ""), - (value ? value : ""))); - { -#ifdef HAVE_SETENV - /* always make a copy, for consistency with !HAVE_SETENV */ - char *str = xstrdup (value); - setenv (name, str, 1); -#else - int len = strlen (name) + 1 + strlen (value) + 1; - char *str = XMALLOC (char, len); - sprintf (str, "%s=%s", name, value); - if (putenv (str) != EXIT_SUCCESS) - { - XFREE (str); - } -#endif - } -} - -char * -lt_extend_str (const char *orig_value, const char *add, int to_end) -{ - char *new_value; - if (orig_value && *orig_value) - { - int orig_value_len = strlen (orig_value); - int add_len = strlen (add); - new_value = XMALLOC (char, add_len + orig_value_len + 1); - if (to_end) - { - strcpy (new_value, orig_value); - strcpy (new_value + orig_value_len, add); - } - else - { - strcpy (new_value, add); - strcpy (new_value + add_len, orig_value); - } - } - else - { - new_value = xstrdup (add); - } - return new_value; -} - -int -lt_split_name_value (const char *arg, char** name, char** value) -{ - const char *p; - int len; - if (!arg || !*arg) - return 1; - - p = strchr (arg, (int)'='); - - if (!p) - return 1; - - *value = xstrdup (++p); - - len = strlen (arg) - strlen (*value); - *name = XMALLOC (char, len); - strncpy (*name, arg, len-1); - (*name)[len - 1] = '\0'; - - return 0; -} - -void -lt_opt_process_env_set (const char *arg) -{ - char *name = NULL; - char *value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); - } - - lt_setenv (name, value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_prepend (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_append (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 1); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - -void -lt_update_exe_path (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - /* some systems can't cope with a ':'-terminated path #' */ - int len = strlen (new_value); - while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) - { - new_value[len-1] = '\0'; - } - lt_setenv (name, new_value); - XFREE (new_value); - } -} - -void -lt_update_lib_path (const char *name, const char *value) -{ - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); - - if (name && *name && value && *value) - { - char *new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - } -} - - -EOF -} -# end: func_emit_cwrapperexe_src - -# func_mode_link arg... -func_mode_link () -{ - $opt_debug - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - # It is impossible to link a dll without this setting, and - # we shouldn't force the makefile maintainer to figure out - # which system we are compiling for in order to pass an extra - # flag for every libtool invocation. - # allow_undefined=no - - # FIXME: Unfortunately, there are problems with the above when trying - # to make a dll which has undefined symbols, in which case not - # even a static library is built. For now, we need to specify - # -no-undefined on the libtool link line when we can be certain - # that all symbols are satisfied, otherwise we get a static library. - allow_undefined=yes - ;; - *) - allow_undefined=yes - ;; - esac - libtool_args=$nonopt - base_compile="$nonopt $@" - compile_command=$nonopt - finalize_command=$nonopt - - compile_rpath= - finalize_rpath= - compile_shlibpath= - finalize_shlibpath= - convenience= - old_convenience= - deplibs= - old_deplibs= - compiler_flags= - linker_flags= - dllsearchpath= - lib_search_path=`pwd` - inst_prefix_dir= - new_inherited_linker_flags= - - avoid_version=no - dlfiles= - dlprefiles= - dlself=no - export_dynamic=no - export_symbols= - export_symbols_regex= - generated= - libobjs= - ltlibs= - module=no - no_install=no - objs= - non_pic_objects= - precious_files_regex= - prefer_static_libs=no - preload=no - prev= - prevarg= - release= - rpath= - xrpath= - perm_rpath= - temp_rpath= - thread_safe=no - vinfo= - vinfo_number=no - weak_libs= - single_module="${wl}-single_module" - func_infer_tag $base_compile - - # We need to know -static, to get the right output filenames. - for arg - do - case $arg in - -shared) - test "$build_libtool_libs" != yes && \ - func_fatal_configuration "can not build a shared library" - build_old_libs=no - break - ;; - -all-static | -static | -static-libtool-libs) - case $arg in - -all-static) - if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then - func_warning "complete static linking is impossible in this configuration" - fi - if test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - -static) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=built - ;; - -static-libtool-libs) - if test -z "$pic_flag" && test -n "$link_static_flag"; then - dlopen_self=$dlopen_self_static - fi - prefer_static_libs=yes - ;; - esac - build_libtool_libs=no - build_old_libs=yes - break - ;; - esac - done - - # See if our shared archives depend on static archives. - test -n "$old_archive_from_new_cmds" && build_old_libs=yes - - # Go through the arguments, transforming them on the way. - while test "$#" -gt 0; do - arg="$1" - shift - func_quote_for_eval "$arg" - qarg=$func_quote_for_eval_unquoted_result - func_append libtool_args " $func_quote_for_eval_result" - - # If the previous option needs an argument, assign it. - if test -n "$prev"; then - case $prev in - output) - func_append compile_command " @OUTPUT@" - func_append finalize_command " @OUTPUT@" - ;; - esac - - case $prev in - dlfiles|dlprefiles) - if test "$preload" = no; then - # Add the symbol object into the linking commands. - func_append compile_command " @SYMFILE@" - func_append finalize_command " @SYMFILE@" - preload=yes - fi - case $arg in - *.la | *.lo) ;; # We handle these cases below. - force) - if test "$dlself" = no; then - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - self) - if test "$prev" = dlprefiles; then - dlself=yes - elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then - dlself=yes - else - dlself=needless - export_dynamic=yes - fi - prev= - continue - ;; - *) - if test "$prev" = dlfiles; then - dlfiles="$dlfiles $arg" - else - dlprefiles="$dlprefiles $arg" - fi - prev= - continue - ;; - esac - ;; - expsyms) - export_symbols="$arg" - test -f "$arg" \ - || func_fatal_error "symbol file \`$arg' does not exist" - prev= - continue - ;; - expsyms_regex) - export_symbols_regex="$arg" - prev= - continue - ;; - framework) - case $host in - *-*-darwin*) - case "$deplibs " in - *" $qarg.ltframework "*) ;; - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later - ;; - esac - ;; - esac - prev= - continue - ;; - inst_prefix) - inst_prefix_dir="$arg" - prev= - continue - ;; - objectlist) - if test -f "$arg"; then - save_arg=$arg - moreargs= - for fil in `cat "$save_arg"` - do -# moreargs="$moreargs $fil" - arg=$fil - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test "$pic_object" = none && - test "$non_pic_object" = none; then - func_fatal_error "cannot find name of object for \`$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "\`$arg' is not a valid libtool object" - fi - fi - done - else - func_fatal_error "link input file \`$arg' does not exist" - fi - arg=$save_arg - prev= - continue - ;; - precious_regex) - precious_files_regex="$arg" - prev= - continue - ;; - release) - release="-$arg" - prev= - continue - ;; - rpath | xrpath) - # We need an absolute path. - case $arg in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - if test "$prev" = rpath; then - case "$rpath " in - *" $arg "*) ;; - *) rpath="$rpath $arg" ;; - esac - else - case "$xrpath " in - *" $arg "*) ;; - *) xrpath="$xrpath $arg" ;; - esac - fi - prev= - continue - ;; - shrext) - shrext_cmds="$arg" - prev= - continue - ;; - weak) - weak_libs="$weak_libs $arg" - prev= - continue - ;; - xcclinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xcompiler) - compiler_flags="$compiler_flags $qarg" - prev= - func_append compile_command " $qarg" - func_append finalize_command " $qarg" - continue - ;; - xlinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $wl$qarg" - prev= - func_append compile_command " $wl$qarg" - func_append finalize_command " $wl$qarg" - continue - ;; - *) - eval "$prev=\"\$arg\"" - prev= - continue - ;; - esac - fi # test -n "$prev" - - prevarg="$arg" - - case $arg in - -all-static) - if test -n "$link_static_flag"; then - # See comment for -static flag below, for more details. - func_append compile_command " $link_static_flag" - func_append finalize_command " $link_static_flag" - fi - continue - ;; - - -allow-undefined) - # FIXME: remove this flag sometime in the future. - func_fatal_error "\`-allow-undefined' must not be used because it is the default" - ;; - - -avoid-version) - avoid_version=yes - continue - ;; - - -dlopen) - prev=dlfiles - continue - ;; - - -dlpreopen) - prev=dlprefiles - continue - ;; - - -export-dynamic) - export_dynamic=yes - continue - ;; - - -export-symbols | -export-symbols-regex) - if test -n "$export_symbols" || test -n "$export_symbols_regex"; then - func_fatal_error "more than one -exported-symbols argument is not allowed" - fi - if test "X$arg" = "X-export-symbols"; then - prev=expsyms - else - prev=expsyms_regex - fi - continue - ;; - - -framework) - prev=framework - continue - ;; - - -inst-prefix-dir) - prev=inst_prefix - continue - ;; - - # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* - # so, if we see these flags be careful not to treat them like -L - -L[A-Z][A-Z]*:*) - case $with_gcc/$host in - no/*-*-irix* | /*-*-irix*) - func_append compile_command " $arg" - func_append finalize_command " $arg" - ;; - esac - continue - ;; - - -L*) - func_stripname '-L' '' "$arg" - dir=$func_stripname_result - if test -z "$dir"; then - if test "$#" -gt 0; then - func_fatal_error "require no space between \`-L' and \`$1'" - else - func_fatal_error "need path for \`-L' option" - fi - fi - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - absdir=`cd "$dir" && pwd` - test -z "$absdir" && \ - func_fatal_error "cannot determine absolute directory name of \`$dir'" - dir="$absdir" - ;; - esac - case "$deplibs " in - *" -L$dir "*) ;; - *) - deplibs="$deplibs -L$dir" - lib_search_path="$lib_search_path $dir" - ;; - esac - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$dir:"*) ;; - ::) dllsearchpath=$dir;; - *) dllsearchpath="$dllsearchpath:$dir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - continue - ;; - - -l*) - if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) - # These systems don't actually have a C or math library (as such) - continue - ;; - *-*-os2*) - # These systems don't actually have a C library (as such) - test "X$arg" = "X-lc" && continue - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - test "X$arg" = "X-lc" && continue - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C and math libraries are in the System framework - deplibs="$deplibs System.ltframework" - continue - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - test "X$arg" = "X-lc" && continue - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - test "X$arg" = "X-lc" && continue - ;; - esac - elif test "X$arg" = "X-lc_r"; then - case $host in - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc_r directly, use -pthread flag. - continue - ;; - esac - fi - deplibs="$deplibs $arg" - continue - ;; - - -module) - module=yes - continue - ;; - - # Tru64 UNIX uses -model [arg] to determine the layout of C++ - # classes, name mangling, and exception handling. - # Darwin uses the -arch flag to determine output architecture. - -model|-arch|-isysroot) - compiler_flags="$compiler_flags $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - prev=xcompiler - continue - ;; - - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - compiler_flags="$compiler_flags $arg" - func_append compile_command " $arg" - func_append finalize_command " $arg" - case "$new_inherited_linker_flags " in - *" $arg "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; - esac - continue - ;; - - -multi_module) - single_module="${wl}-multi_module" - continue - ;; - - -no-fast-install) - fast_install=no - continue - ;; - - -no-install) - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) - # The PATH hackery in wrapper scripts is required on Windows - # and Darwin in order for the loader to find any dlls it needs. - func_warning "\`-no-install' is ignored for $host" - func_warning "assuming \`-no-fast-install' instead" - fast_install=no - ;; - *) no_install=yes ;; - esac - continue - ;; - - -no-undefined) - allow_undefined=no - continue - ;; - - -objectlist) - prev=objectlist - continue - ;; - - -o) prev=output ;; - - -precious-files-regex) - prev=precious_regex - continue - ;; - - -release) - prev=release - continue - ;; - - -rpath) - prev=rpath - continue - ;; - - -R) - prev=xrpath - continue - ;; - - -R*) - func_stripname '-R' '' "$arg" - dir=$func_stripname_result - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) ;; - *) - func_fatal_error "only absolute run-paths are allowed" - ;; - esac - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - continue - ;; - - -shared) - # The effects of -shared are defined in a previous loop. - continue - ;; - - -shrext) - prev=shrext - continue - ;; - - -static | -static-libtool-libs) - # The effects of -static are defined in a previous loop. - # We used to do the same as -all-static on platforms that - # didn't have a PIC flag, but the assumption that the effects - # would be equivalent was wrong. It would break on at least - # Digital Unix and AIX. - continue - ;; - - -thread-safe) - thread_safe=yes - continue - ;; - - -version-info) - prev=vinfo - continue - ;; - - -version-number) - prev=vinfo - vinfo_number=yes - continue - ;; - - -weak) - prev=weak - continue - ;; - - -Wc,*) - func_stripname '-Wc,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" - compiler_flags="$compiler_flags $func_quote_for_eval_result" - done - IFS="$save_ifs" - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Wl,*) - func_stripname '-Wl,' '' "$arg" - args=$func_stripname_result - arg= - save_ifs="$IFS"; IFS=',' - for flag in $args; do - IFS="$save_ifs" - func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" - compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" - linker_flags="$linker_flags $func_quote_for_eval_result" - done - IFS="$save_ifs" - func_stripname ' ' '' "$arg" - arg=$func_stripname_result - ;; - - -Xcompiler) - prev=xcompiler - continue - ;; - - -Xlinker) - prev=xlinker - continue - ;; - - -XCClinker) - prev=xcclinker - continue - ;; - - # -msg_* for osf cc - -msg_*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler - # -r[0-9][0-9]* specifies the processor on the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler - # +DA*, +DD* enable 64-bit mode on the HP compiler - # -q* pass through compiler args for the IBM compiler - # -m*, -t[45]*, -txscale* pass through architecture-specific - # compiler args for GCC - # -F/path gives path to uninstalled frameworks, gcc on darwin - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # @file GCC response files - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - func_append compile_command " $arg" - func_append finalize_command " $arg" - compiler_flags="$compiler_flags $arg" - continue - ;; - - # Some other compiler flag. - -* | +*) - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - - *.$objext) - # A standard object. - objs="$objs $arg" - ;; - - *.lo) - # A libtool-controlled object. - - # Check to see that this really is a libtool object. - if func_lalib_unsafe_p "$arg"; then - pic_object= - non_pic_object= - - # Read the .lo file - func_source "$arg" - - if test -z "$pic_object" || - test -z "$non_pic_object" || - test "$pic_object" = none && - test "$non_pic_object" = none; then - func_fatal_error "cannot find name of object for \`$arg'" - fi - - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - if test "$pic_object" != none; then - # Prepend the subdirectory the object is found in. - pic_object="$xdir$pic_object" - - if test "$prev" = dlfiles; then - if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" - prev= - continue - else - # If libtool objects are unsupported, then we need to preload. - prev=dlprefiles - fi - fi - - # CHECK ME: I think I busted this. -Ossama - if test "$prev" = dlprefiles; then - # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" - prev= - fi - - # A PIC object. - func_append libobjs " $pic_object" - arg="$pic_object" - fi - - # Non-PIC object. - if test "$non_pic_object" != none; then - # Prepend the subdirectory the object is found in. - non_pic_object="$xdir$non_pic_object" - - # A standard non-PIC object - func_append non_pic_objects " $non_pic_object" - if test -z "$pic_object" || test "$pic_object" = none ; then - arg="$non_pic_object" - fi - else - # If the PIC object exists, use it instead. - # $xdir was prepended to $pic_object above. - non_pic_object="$pic_object" - func_append non_pic_objects " $non_pic_object" - fi - else - # Only an error if not doing a dry-run. - if $opt_dry_run; then - # Extract subdirectory from the argument. - func_dirname "$arg" "/" "" - xdir="$func_dirname_result" - - func_lo2o "$arg" - pic_object=$xdir$objdir/$func_lo2o_result - non_pic_object=$xdir$func_lo2o_result - func_append libobjs " $pic_object" - func_append non_pic_objects " $non_pic_object" - else - func_fatal_error "\`$arg' is not a valid libtool object" - fi - fi - ;; - - *.$libext) - # An archive. - deplibs="$deplibs $arg" - old_deplibs="$old_deplibs $arg" - continue - ;; - - *.la) - # A libtool-controlled library. - - if test "$prev" = dlfiles; then - # This library was specified with -dlopen. - dlfiles="$dlfiles $arg" - prev= - elif test "$prev" = dlprefiles; then - # The library was specified with -dlpreopen. - dlprefiles="$dlprefiles $arg" - prev= - else - deplibs="$deplibs $arg" - fi - continue - ;; - - # Some other compiler argument. - *) - # Unknown arguments in both finalize_command and compile_command need - # to be aesthetically quoted because they are evaled later. - func_quote_for_eval "$arg" - arg="$func_quote_for_eval_result" - ;; - esac # arg - - # Now actually substitute the argument into the commands. - if test -n "$arg"; then - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - done # argument parsing loop - - test -n "$prev" && \ - func_fatal_help "the \`$prevarg' option requires an argument" - - if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then - eval arg=\"$export_dynamic_flag_spec\" - func_append compile_command " $arg" - func_append finalize_command " $arg" - fi - - oldlibs= - # calculate the name of the file, without its directory - func_basename "$output" - outputname="$func_basename_result" - libobjs_save="$libobjs" - - if test -n "$shlibpath_var"; then - # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` - else - shlib_search_path= - fi - eval sys_lib_search_path=\"$sys_lib_search_path_spec\" - eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" - - func_dirname "$output" "/" "" - output_objdir="$func_dirname_result$objdir" - # Create the object directory. - func_mkdir_p "$output_objdir" - - # Determine the type of output - case $output in - "") - func_fatal_help "you must specify an output file" - ;; - *.$libext) linkmode=oldlib ;; - *.lo | *.$objext) linkmode=obj ;; - *.la) linkmode=lib ;; - *) linkmode=prog ;; # Anything else should be a program. - esac - - specialdeplibs= - - libs= - # Find all interdependent deplibs by searching for libraries - # that are linked more than once (e.g. -la -lb -la) - for deplib in $deplibs; do - if $opt_duplicate_deps ; then - case "$libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - libs="$libs $deplib" - done - - if test "$linkmode" = lib; then - libs="$predeps $libs $compiler_lib_search_path $postdeps" - - # Compute libraries that are listed more than once in $predeps - # $postdeps and mark them as special (i.e., whose duplicates are - # not to be eliminated). - pre_post_deps= - if $opt_duplicate_compiler_generated_deps; then - for pre_post_dep in $predeps $postdeps; do - case "$pre_post_deps " in - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; - esac - pre_post_deps="$pre_post_deps $pre_post_dep" - done - fi - pre_post_deps= - fi - - deplibs= - newdependency_libs= - newlib_search_path= - need_relink=no # whether we're linking any uninstalled libtool libraries - notinst_deplibs= # not-installed libtool libraries - notinst_path= # paths that contain not-installed libtool libraries - - case $linkmode in - lib) - passes="conv dlpreopen link" - for file in $dlfiles $dlprefiles; do - case $file in - *.la) ;; - *) - func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" - ;; - esac - done - ;; - prog) - compile_deplibs= - finalize_deplibs= - alldeplibs=no - newdlfiles= - newdlprefiles= - passes="conv scan dlopen dlpreopen link" - ;; - *) passes="conv" - ;; - esac - - for pass in $passes; do - # The preopen pass in lib mode reverses $deplibs; put it back here - # so that -L comes before libs that need it for instance... - if test "$linkmode,$pass" = "lib,link"; then - ## FIXME: Find the place where the list is rebuilt in the wrong - ## order, and fix it there properly - tmp_deplibs= - for deplib in $deplibs; do - tmp_deplibs="$deplib $tmp_deplibs" - done - deplibs="$tmp_deplibs" - fi - - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan"; then - libs="$deplibs" - deplibs= - fi - if test "$linkmode" = prog; then - case $pass in - dlopen) libs="$dlfiles" ;; - dlpreopen) libs="$dlprefiles" ;; - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; - esac - fi - if test "$linkmode,$pass" = "lib,dlpreopen"; then - # Collect and forward deplibs of preopened libtool libs - for lib in $dlprefiles; do - # Ignore non-libtool-libs - dependency_libs= - case $lib in - *.la) func_source "$lib" ;; - esac - - # Collect preopened libtool deplibs, except any this library - # has declared as weak libs - for deplib in $dependency_libs; do - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` - case " $weak_libs " in - *" $deplib_base "*) ;; - *) deplibs="$deplibs $deplib" ;; - esac - done - done - libs="$dlprefiles" - fi - if test "$pass" = dlopen; then - # Collect dlpreopened libraries - save_deplibs="$deplibs" - deplibs= - fi - - for deplib in $libs; do - lib= - found=no - case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - compiler_flags="$compiler_flags $deplib" - if test "$linkmode" = lib ; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; - esac - fi - fi - continue - ;; - -l*) - if test "$linkmode" != lib && test "$linkmode" != prog; then - func_warning "\`-l' is ignored for archives/objects" - continue - fi - func_stripname '-l' '' "$deplib" - name=$func_stripname_result - if test "$linkmode" = lib; then - searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" - else - searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" - fi - for searchdir in $searchdirs; do - for search_ext in .la $std_shrext .so .a; do - # Search the libtool library - lib="$searchdir/lib${name}${search_ext}" - if test -f "$lib"; then - if test "$search_ext" = ".la"; then - found=yes - else - found=no - fi - break 2 - fi - done - done - if test "$found" != yes; then - # deplib doesn't seem to be a libtool library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - else # deplib is a libtool library - # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, - # We need to do some special things here, and not later. - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $deplib "*) - if func_lalib_p "$lib"; then - library_names= - old_library= - func_source "$lib" - for l in $old_library $library_names; do - ll="$l" - done - if test "X$ll" = "X$old_library" ; then # only static version available - found=no - func_dirname "$lib" "" "." - ladir="$func_dirname_result" - lib=$ladir/$old_library - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" - fi - continue - fi - fi - ;; - *) ;; - esac - fi - fi - ;; # -l - *.ltframework) - if test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - deplibs="$deplib $deplibs" - if test "$linkmode" = lib ; then - case "$new_inherited_linker_flags " in - *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; - esac - fi - fi - continue - ;; - -L*) - case $linkmode in - lib) - deplibs="$deplib $deplibs" - test "$pass" = conv && continue - newdependency_libs="$deplib $newdependency_libs" - func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - prog) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - if test "$pass" = scan; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - *) - func_warning "\`-L' is ignored for archives/objects" - ;; - esac # linkmode - continue - ;; # -L - -R*) - if test "$pass" = link; then - func_stripname '-R' '' "$deplib" - dir=$func_stripname_result - # Make sure the xrpath contains only unique directories. - case "$xrpath " in - *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; - esac - fi - deplibs="$deplib $deplibs" - continue - ;; - *.la) lib="$deplib" ;; - *.$libext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - continue - fi - case $linkmode in - lib) - # Linking convenience modules into shared libraries is allowed, - # but linking other static libraries is non-portable. - case " $dlpreconveniencelibs " in - *" $deplib "*) ;; - *) - valid_a_lib=no - case $deplibs_check_method in - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ - | $EGREP "$match_pattern_regex" > /dev/null; then - valid_a_lib=yes - fi - ;; - pass_all) - valid_a_lib=yes - ;; - esac - if test "$valid_a_lib" != yes; then - $ECHO - $ECHO "*** Warning: Trying to link with static lib archive $deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because the file extensions .$libext of this argument makes me believe" - $ECHO "*** that it is just a static archive that I should not use here." - else - $ECHO - $ECHO "*** Warning: Linking the shared library $output against the" - $ECHO "*** static library $deplib is not portable!" - deplibs="$deplib $deplibs" - fi - ;; - esac - continue - ;; - prog) - if test "$pass" != link; then - deplibs="$deplib $deplibs" - else - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - fi - continue - ;; - esac # linkmode - ;; # *.$libext - *.lo | *.$objext) - if test "$pass" = conv; then - deplibs="$deplib $deplibs" - elif test "$linkmode" = prog; then - if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then - # If there is no dlopen support or we're linking statically, - # we need to preload. - newdlprefiles="$newdlprefiles $deplib" - compile_deplibs="$deplib $compile_deplibs" - finalize_deplibs="$deplib $finalize_deplibs" - else - newdlfiles="$newdlfiles $deplib" - fi - fi - continue - ;; - %DEPLIBS%) - alldeplibs=yes - continue - ;; - esac # case $deplib - - if test "$found" = yes || test -f "$lib"; then : - else - func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" - fi - - # Check to see that this really is a libtool archive. - func_lalib_unsafe_p "$lib" \ - || func_fatal_error "\`$lib' is not a valid libtool archive" - - func_dirname "$lib" "" "." - ladir="$func_dirname_result" - - dlname= - dlopen= - dlpreopen= - libdir= - library_names= - old_library= - inherited_linker_flags= - # If the library was installed with an old release of libtool, - # it will not redefine variables installed, or shouldnotlink - installed=yes - shouldnotlink=no - avoidtemprpath= - - - # Read the .la file - func_source "$lib" - - # Convert "-framework foo" to "foo.ltframework" - if test -n "$inherited_linker_flags"; then - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` - for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do - case " $new_inherited_linker_flags " in - *" $tmp_inherited_linker_flag "*) ;; - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; - esac - done - fi - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - if test "$linkmode,$pass" = "lib,link" || - test "$linkmode,$pass" = "prog,scan" || - { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && dlfiles="$dlfiles $dlopen" - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" - fi - - if test "$pass" = conv; then - # Only check for convenience libraries - deplibs="$lib $deplibs" - if test -z "$libdir"; then - if test -z "$old_library"; then - func_fatal_error "cannot find name of link library for \`$lib'" - fi - # It is a libtool convenience library, so add in its objects. - convenience="$convenience $ladir/$objdir/$old_library" - old_convenience="$old_convenience $ladir/$objdir/$old_library" - elif test "$linkmode" != prog && test "$linkmode" != lib; then - func_fatal_error "\`$lib' is not a convenience library" - fi - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - continue - fi # $pass = conv - - - # Get the name of the library we link against. - linklib= - for l in $old_library $library_names; do - linklib="$l" - done - if test -z "$linklib"; then - func_fatal_error "cannot find name of link library for \`$lib'" - fi - - # This library was specified with -dlopen. - if test "$pass" = dlopen; then - if test -z "$libdir"; then - func_fatal_error "cannot -dlopen a convenience library: \`$lib'" - fi - if test -z "$dlname" || - test "$dlopen_support" != yes || - test "$build_libtool_libs" = no; then - # If there is no dlname, no dlopen support or we're linking - # statically, we need to preload. We also need to preload any - # dependent libraries so libltdl's deplib preloader doesn't - # bomb out in the load deplibs phase. - dlprefiles="$dlprefiles $lib $dependency_libs" - else - newdlfiles="$newdlfiles $lib" - fi - continue - fi # $pass = dlopen - - # We need an absolute path. - case $ladir in - [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; - *) - abs_ladir=`cd "$ladir" && pwd` - if test -z "$abs_ladir"; then - func_warning "cannot determine absolute directory name of \`$ladir'" - func_warning "passing it literally to the linker, although it might fail" - abs_ladir="$ladir" - fi - ;; - esac - func_basename "$lib" - laname="$func_basename_result" - - # Find the relevant object directory and library name. - if test "X$installed" = Xyes; then - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then - func_warning "library \`$lib' was moved." - dir="$ladir" - absdir="$abs_ladir" - libdir="$abs_ladir" - else - dir="$libdir" - absdir="$libdir" - fi - test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes - else - if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then - dir="$ladir" - absdir="$abs_ladir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - else - dir="$ladir/$objdir" - absdir="$abs_ladir/$objdir" - # Remove this search path later - notinst_path="$notinst_path $abs_ladir" - fi - fi # $installed = yes - func_stripname 'lib' '.la' "$laname" - name=$func_stripname_result - - # This library was specified with -dlpreopen. - if test "$pass" = dlpreopen; then - if test -z "$libdir" && test "$linkmode" = prog; then - func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" - fi - # Prefer using a static library (so that no silly _DYNAMIC symbols - # are required to link). - if test -n "$old_library"; then - newdlprefiles="$newdlprefiles $dir/$old_library" - # Keep a list of preopened convenience libraries to check - # that they are being used correctly in the link pass. - test -z "$libdir" && \ - dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" - # Otherwise, use the dlname, so that lt_dlopen finds it. - elif test -n "$dlname"; then - newdlprefiles="$newdlprefiles $dir/$dlname" - else - newdlprefiles="$newdlprefiles $dir/$linklib" - fi - fi # $pass = dlpreopen - - if test -z "$libdir"; then - # Link the convenience library - if test "$linkmode" = lib; then - deplibs="$dir/$old_library $deplibs" - elif test "$linkmode,$pass" = "prog,link"; then - compile_deplibs="$dir/$old_library $compile_deplibs" - finalize_deplibs="$dir/$old_library $finalize_deplibs" - else - deplibs="$lib $deplibs" # used for prog,scan pass - fi - continue - fi - - - if test "$linkmode" = prog && test "$pass" != link; then - newlib_search_path="$newlib_search_path $ladir" - deplibs="$lib $deplibs" - - linkalldeplibs=no - if test "$link_all_deplibs" != no || test -z "$library_names" || - test "$build_libtool_libs" = no; then - linkalldeplibs=yes - fi - - tmp_libs= - for deplib in $dependency_libs; do - case $deplib in - -L*) func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" - ;; - esac - # Need to link against all dependency_libs? - if test "$linkalldeplibs" = yes; then - deplibs="$deplib $deplibs" - else - # Need to hardcode shared library paths - # or/and link against static libraries - newdependency_libs="$deplib $newdependency_libs" - fi - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done # for deplib - continue - fi # $linkmode = prog... - - if test "$linkmode,$pass" = "prog,link"; then - if test -n "$library_names" && - { { test "$prefer_static_libs" = no || - test "$prefer_static_libs,$installed" = "built,yes"; } || - test -z "$old_library"; }; then - # We need to hardcode the library path - if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then - # Make sure the rpath contains only unique directories. - case "$temp_rpath:" in - *"$absdir:"*) ;; - *) temp_rpath="$temp_rpath$absdir:" ;; - esac - fi - - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi # $linkmode,$pass = prog,link... - - if test "$alldeplibs" = yes && - { test "$deplibs_check_method" = pass_all || - { test "$build_libtool_libs" = yes && - test -n "$library_names"; }; }; then - # We only need to search for static libraries - continue - fi - fi - - link_static=no # Whether the deplib will be linked statically - use_static_libs=$prefer_static_libs - if test "$use_static_libs" = built && test "$installed" = yes; then - use_static_libs=no - fi - if test -n "$library_names" && - { test "$use_static_libs" = no || test -z "$old_library"; }; then - case $host in - *cygwin* | *mingw* | *cegcc*) - # No point in relinking DLLs because paths are not encoded - notinst_deplibs="$notinst_deplibs $lib" - need_relink=no - ;; - *) - if test "$installed" = no; then - notinst_deplibs="$notinst_deplibs $lib" - need_relink=yes - fi - ;; - esac - # This is a shared library - - # Warn about portability, can't link against -module's on some - # systems (darwin). Don't bleat about dlopened modules though! - dlopenmodule="" - for dlpremoduletest in $dlprefiles; do - if test "X$dlpremoduletest" = "X$lib"; then - dlopenmodule="$dlpremoduletest" - break - fi - done - if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then - $ECHO - if test "$linkmode" = prog; then - $ECHO "*** Warning: Linking the executable $output against the loadable module" - else - $ECHO "*** Warning: Linking the shared library $output against the loadable module" - fi - $ECHO "*** $linklib is not portable!" - fi - if test "$linkmode" = lib && - test "$hardcode_into_libs" = yes; then - # Hardcode the library path. - # Skip directories that are in the system default run-time - # search path. - case " $sys_lib_dlsearch_path " in - *" $absdir "*) ;; - *) - case "$compile_rpath " in - *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" - esac - ;; - esac - case " $sys_lib_dlsearch_path " in - *" $libdir "*) ;; - *) - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" - esac - ;; - esac - fi - - if test -n "$old_archive_from_expsyms_cmds"; then - # figure out the soname - set dummy $library_names - shift - realname="$1" - shift - libname=`eval "\\$ECHO \"$libname_spec\""` - # use dlname if we got it. it's perfectly good, no? - if test -n "$dlname"; then - soname="$dlname" - elif test -n "$soname_spec"; then - # bleh windows - case $host in - *cygwin* | mingw* | *cegcc*) - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" - ;; - esac - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - - # Make a new name for the extract_expsyms_cmds to use - soroot="$soname" - func_basename "$soroot" - soname="$func_basename_result" - func_stripname 'lib' '.dll' "$soname" - newlib=libimp-$func_stripname_result.a - - # If the library has no export list, then create one now - if test -f "$output_objdir/$soname-def"; then : - else - func_verbose "extracting exported symbol list from \`$soname'" - func_execute_cmds "$extract_expsyms_cmds" 'exit $?' - fi - - # Create $newlib - if test -f "$output_objdir/$newlib"; then :; else - func_verbose "generating import library for \`$soname'" - func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' - fi - # make sure the library variables are pointing to the new library - dir=$output_objdir - linklib=$newlib - fi # test -n "$old_archive_from_expsyms_cmds" - - if test "$linkmode" = prog || test "$mode" != relink; then - add_shlibpath= - add_dir= - add= - lib_linked=yes - case $hardcode_action in - immediate | unsupported) - if test "$hardcode_direct" = no; then - add="$dir/$linklib" - case $host in - *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; - *-*-sysv4*uw2*) add_dir="-L$dir" ;; - *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ - *-*-unixware7*) add_dir="-L$dir" ;; - *-*-darwin* ) - # if the lib is a (non-dlopened) module then we can not - # link against it, someone is ignoring the earlier warnings - if /usr/bin/file -L $add 2> /dev/null | - $GREP ": [^:]* bundle" >/dev/null ; then - if test "X$dlopenmodule" != "X$lib"; then - $ECHO "*** Warning: lib $linklib is a module, not a shared library" - if test -z "$old_library" ; then - $ECHO - $ECHO "*** And there doesn't seem to be a static archive available" - $ECHO "*** The link will probably fail, sorry" - else - add="$dir/$old_library" - fi - elif test -n "$old_library"; then - add="$dir/$old_library" - fi - fi - esac - elif test "$hardcode_minus_L" = no; then - case $host in - *-*-sunos*) add_shlibpath="$dir" ;; - esac - add_dir="-L$dir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = no; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - relink) - if test "$hardcode_direct" = yes && - test "$hardcode_direct_absolute" = no; then - add="$dir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$dir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - add_shlibpath="$dir" - add="-l$name" - else - lib_linked=no - fi - ;; - *) lib_linked=no ;; - esac - - if test "$lib_linked" != yes; then - func_fatal_configuration "unsupported hardcode properties" - fi - - if test -n "$add_shlibpath"; then - case :$compile_shlibpath: in - *":$add_shlibpath:"*) ;; - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; - esac - fi - if test "$linkmode" = prog; then - test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" - test -n "$add" && compile_deplibs="$add $compile_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - if test "$hardcode_direct" != yes && - test "$hardcode_minus_L" != yes && - test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - fi - fi - fi - - if test "$linkmode" = prog || test "$mode" = relink; then - add_shlibpath= - add_dir= - add= - # Finalize command for both is simple: just hardcode it. - if test "$hardcode_direct" = yes && - test "$hardcode_direct_absolute" = no; then - add="$libdir/$linklib" - elif test "$hardcode_minus_L" = yes; then - add_dir="-L$libdir" - add="-l$name" - elif test "$hardcode_shlibpath_var" = yes; then - case :$finalize_shlibpath: in - *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; - esac - add="-l$name" - elif test "$hardcode_automatic" = yes; then - if test -n "$inst_prefix_dir" && - test -f "$inst_prefix_dir$libdir/$linklib" ; then - add="$inst_prefix_dir$libdir/$linklib" - else - add="$libdir/$linklib" - fi - else - # We cannot seem to hardcode it, guess we'll fake it. - add_dir="-L$libdir" - # Try looking first in the location we're being installed to. - if test -n "$inst_prefix_dir"; then - case $libdir in - [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" - ;; - esac - fi - add="-l$name" - fi - - if test "$linkmode" = prog; then - test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" - test -n "$add" && finalize_deplibs="$add $finalize_deplibs" - else - test -n "$add_dir" && deplibs="$add_dir $deplibs" - test -n "$add" && deplibs="$add $deplibs" - fi - fi - elif test "$linkmode" = prog; then - # Here we assume that one of hardcode_direct or hardcode_minus_L - # is not unsupported. This is valid on all known static and - # shared platforms. - if test "$hardcode_direct" != unsupported; then - test -n "$old_library" && linklib="$old_library" - compile_deplibs="$dir/$linklib $compile_deplibs" - finalize_deplibs="$dir/$linklib $finalize_deplibs" - else - compile_deplibs="-l$name -L$dir $compile_deplibs" - finalize_deplibs="-l$name -L$dir $finalize_deplibs" - fi - elif test "$build_libtool_libs" = yes; then - # Not a shared library - if test "$deplibs_check_method" != pass_all; then - # We're trying link a shared library against a static one - # but the system doesn't support it. - - # Just print a warning and add the library to dependency_libs so - # that the program can be linked against the static library. - $ECHO - $ECHO "*** Warning: This system can not link to static lib archive $lib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have." - if test "$module" = yes; then - $ECHO "*** But as you try to build a module library, libtool will still create " - $ECHO "*** a static module, that should work as long as the dlopening application" - $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." - if test -z "$global_symbol_pipe"; then - $ECHO - $ECHO "*** However, this would only work if libtool was able to extract symbol" - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" - $ECHO "*** not find such a program. So, this module is probably useless." - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - else - deplibs="$dir/$old_library $deplibs" - link_static=yes - fi - fi # link shared/static library? - - if test "$linkmode" = lib; then - if test -n "$dependency_libs" && - { test "$hardcode_into_libs" != yes || - test "$build_old_libs" = yes || - test "$link_static" = yes; }; then - # Extract -R from dependency_libs - temp_deplibs= - for libdir in $dependency_libs; do - case $libdir in - -R*) func_stripname '-R' '' "$libdir" - temp_xrpath=$func_stripname_result - case " $xrpath " in - *" $temp_xrpath "*) ;; - *) xrpath="$xrpath $temp_xrpath";; - esac;; - *) temp_deplibs="$temp_deplibs $libdir";; - esac - done - dependency_libs="$temp_deplibs" - fi - - newlib_search_path="$newlib_search_path $absdir" - # Link against this library - test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" - # ... and its dependency_libs - tmp_libs= - for deplib in $dependency_libs; do - newdependency_libs="$deplib $newdependency_libs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done - - if test "$link_all_deplibs" != no; then - # Add the search paths of all dependency libraries - for deplib in $dependency_libs; do - case $deplib in - -L*) path="$deplib" ;; - *.la) - func_dirname "$deplib" "" "." - dir="$func_dirname_result" - # We need an absolute path. - case $dir in - [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; - *) - absdir=`cd "$dir" && pwd` - if test -z "$absdir"; then - func_warning "cannot determine absolute directory name of \`$dir'" - absdir="$dir" - fi - ;; - esac - if $GREP "^installed=no" $deplib > /dev/null; then - case $host in - *-*-darwin*) - depdepl= - eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` - if test -n "$deplibrary_names" ; then - for tmp in $deplibrary_names ; do - depdepl=$tmp - done - if test -f "$absdir/$objdir/$depdepl" ; then - depdepl="$absdir/$objdir/$depdepl" - darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - if test -z "$darwin_install_name"; then - darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` - fi - compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" - linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" - path= - fi - fi - ;; - *) - path="-L$absdir/$objdir" - ;; - esac - else - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - test -z "$libdir" && \ - func_fatal_error "\`$deplib' is not a valid libtool archive" - test "$absdir" != "$libdir" && \ - func_warning "\`$deplib' seems to be moved" - - path="-L$absdir" - fi - ;; - esac - case " $deplibs " in - *" $path "*) ;; - *) deplibs="$path $deplibs" ;; - esac - done - fi # link_all_deplibs != no - fi # linkmode = lib - done # for deplib in $libs - if test "$pass" = link; then - if test "$linkmode" = "prog"; then - compile_deplibs="$new_inherited_linker_flags $compile_deplibs" - finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" - else - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - fi - fi - dependency_libs="$newdependency_libs" - if test "$pass" = dlpreopen; then - # Link the dlpreopened libraries before other libraries - for deplib in $save_deplibs; do - deplibs="$deplib $deplibs" - done - fi - if test "$pass" != dlopen; then - if test "$pass" != conv; then - # Make sure lib_search_path contains only unique directories. - lib_search_path= - for dir in $newlib_search_path; do - case "$lib_search_path " in - *" $dir "*) ;; - *) lib_search_path="$lib_search_path $dir" ;; - esac - done - newlib_search_path= - fi - - if test "$linkmode,$pass" != "prog,link"; then - vars="deplibs" - else - vars="compile_deplibs finalize_deplibs" - fi - for var in $vars dependency_libs; do - # Add libraries to $var in reverse order - eval tmp_libs=\"\$$var\" - new_libs= - for deplib in $tmp_libs; do - # FIXME: Pedantically, this is the right thing to do, so - # that some nasty dependency loop isn't accidentally - # broken: - #new_libs="$deplib $new_libs" - # Pragmatically, this seems to cause very few problems in - # practice: - case $deplib in - -L*) new_libs="$deplib $new_libs" ;; - -R*) ;; - *) - # And here is the reason: when a library appears more - # than once as an explicit dependence of a library, or - # is implicitly linked in more than once by the - # compiler, it is considered special, and multiple - # occurrences thereof are not removed. Compare this - # with having the same library being listed as a - # dependency of multiple other libraries: in this case, - # we know (pedantically, we assume) the library does not - # need to be listed more than once, so we keep only the - # last copy. This is not always right, but it is rare - # enough that we require users that really mean to play - # such unportable linking tricks to link the library - # using -Wl,-lname, so that libtool does not consider it - # for duplicate removal. - case " $specialdeplibs " in - *" $deplib "*) new_libs="$deplib $new_libs" ;; - *) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$deplib $new_libs" ;; - esac - ;; - esac - ;; - esac - done - tmp_libs= - for deplib in $new_libs; do - case $deplib in - -L*) - case " $tmp_libs " in - *" $deplib "*) ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - ;; - *) tmp_libs="$tmp_libs $deplib" ;; - esac - done - eval $var=\"$tmp_libs\" - done # for var - fi - # Last step: remove runtime libs from dependency_libs - # (they stay in deplibs) - tmp_libs= - for i in $dependency_libs ; do - case " $predeps $postdeps $compiler_lib_search_path " in - *" $i "*) - i="" - ;; - esac - if test -n "$i" ; then - tmp_libs="$tmp_libs $i" - fi - done - dependency_libs=$tmp_libs - done # for pass - if test "$linkmode" = prog; then - dlfiles="$newdlfiles" - fi - if test "$linkmode" = prog || test "$linkmode" = lib; then - dlprefiles="$newdlprefiles" - fi - - case $linkmode in - oldlib) - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - func_warning "\`-dlopen' is ignored for archives" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "\`-l' and \`-L' are ignored for archives" ;; - esac - - test -n "$rpath" && \ - func_warning "\`-rpath' is ignored for archives" - - test -n "$xrpath" && \ - func_warning "\`-R' is ignored for archives" - - test -n "$vinfo" && \ - func_warning "\`-version-info/-version-number' is ignored for archives" - - test -n "$release" && \ - func_warning "\`-release' is ignored for archives" - - test -n "$export_symbols$export_symbols_regex" && \ - func_warning "\`-export-symbols' is ignored for archives" - - # Now set the variables for building old libraries. - build_libtool_libs=no - oldlibs="$output" - objs="$objs$old_deplibs" - ;; - - lib) - # Make sure we only generate libraries of the form `libNAME.la'. - case $outputname in - lib*) - func_stripname 'lib' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - ;; - *) - test "$module" = no && \ - func_fatal_help "libtool library \`$output' must begin with \`lib'" - - if test "$need_lib_prefix" != no; then - # Add the "lib" prefix for modules if required - func_stripname '' '.la' "$outputname" - name=$func_stripname_result - eval shared_ext=\"$shrext_cmds\" - eval libname=\"$libname_spec\" - else - func_stripname '' '.la' "$outputname" - libname=$func_stripname_result - fi - ;; - esac - - if test -n "$objs"; then - if test "$deplibs_check_method" != pass_all; then - func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" - else - $ECHO - $ECHO "*** Warning: Linking the shared library $output against the non-libtool" - $ECHO "*** objects $objs is not portable!" - libobjs="$libobjs $objs" - fi - fi - - test "$dlself" != no && \ - func_warning "\`-dlopen self' is ignored for libtool libraries" - - set dummy $rpath - shift - test "$#" -gt 1 && \ - func_warning "ignoring multiple \`-rpath's for a libtool library" - - install_libdir="$1" - - oldlibs= - if test -z "$rpath"; then - if test "$build_libtool_libs" = yes; then - # Building a libtool convenience library. - # Some compilers have problems with a `.al' extension so - # convenience libraries should have the same extension an - # archive normally would. - oldlibs="$output_objdir/$libname.$libext $oldlibs" - build_libtool_libs=convenience - build_old_libs=yes - fi - - test -n "$vinfo" && \ - func_warning "\`-version-info/-version-number' is ignored for convenience libraries" - - test -n "$release" && \ - func_warning "\`-release' is ignored for convenience libraries" - else - - # Parse the version information argument. - save_ifs="$IFS"; IFS=':' - set dummy $vinfo 0 0 0 - shift - IFS="$save_ifs" - - test -n "$7" && \ - func_fatal_help "too many parameters to \`-version-info'" - - # convert absolute version numbers to libtool ages - # this retains compatibility with .la files and attempts - # to make the code below a bit more comprehensible - - case $vinfo_number in - yes) - number_major="$1" - number_minor="$2" - number_revision="$3" - # - # There are really only two kinds -- those that - # use the current revision as the major version - # and those that subtract age and use age as - # a minor version. But, then there is irix - # which has an extra 1 added just for fun - # - case $version_type in - darwin|linux|osf|windows|none) - func_arith $number_major + $number_minor - current=$func_arith_result - age="$number_minor" - revision="$number_revision" - ;; - freebsd-aout|freebsd-elf|sunos) - current="$number_major" - revision="$number_minor" - age="0" - ;; - irix|nonstopux) - func_arith $number_major + $number_minor - current=$func_arith_result - age="$number_minor" - revision="$number_minor" - lt_irix_increment=no - ;; - esac - ;; - no) - current="$1" - revision="$2" - age="$3" - ;; - esac - - # Check that each of the things are valid numbers. - case $current in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "CURRENT \`$current' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - case $revision in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "REVISION \`$revision' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - case $age in - 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; - *) - func_error "AGE \`$age' must be a nonnegative integer" - func_fatal_error "\`$vinfo' is not valid version information" - ;; - esac - - if test "$age" -gt "$current"; then - func_error "AGE \`$age' is greater than the current interface number \`$current'" - func_fatal_error "\`$vinfo' is not valid version information" - fi - - # Calculate the version variables. - major= - versuffix= - verstring= - case $version_type in - none) ;; - - darwin) - # Like Linux, but with the current version available in - # verstring for coding it into the library header - func_arith $current - $age - major=.$func_arith_result - versuffix="$major.$age.$revision" - # Darwin ld doesn't like 0 for these options... - func_arith $current + 1 - minor_current=$func_arith_result - xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" - verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" - ;; - - freebsd-aout) - major=".$current" - versuffix=".$current.$revision"; - ;; - - freebsd-elf) - major=".$current" - versuffix=".$current" - ;; - - irix | nonstopux) - if test "X$lt_irix_increment" = "Xno"; then - func_arith $current - $age - else - func_arith $current - $age + 1 - fi - major=$func_arith_result - - case $version_type in - nonstopux) verstring_prefix=nonstopux ;; - *) verstring_prefix=sgi ;; - esac - verstring="$verstring_prefix$major.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$revision - while test "$loop" -ne 0; do - func_arith $revision - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring="$verstring_prefix$major.$iface:$verstring" - done - - # Before this point, $major must not contain `.'. - major=.$major - versuffix="$major.$revision" - ;; - - linux) - func_arith $current - $age - major=.$func_arith_result - versuffix="$major.$age.$revision" - ;; - - osf) - func_arith $current - $age - major=.$func_arith_result - versuffix=".$current.$age.$revision" - verstring="$current.$age.$revision" - - # Add in all the interfaces that we are compatible with. - loop=$age - while test "$loop" -ne 0; do - func_arith $current - $loop - iface=$func_arith_result - func_arith $loop - 1 - loop=$func_arith_result - verstring="$verstring:${iface}.0" - done - - # Make executables depend on our current version. - verstring="$verstring:${current}.0" - ;; - - qnx) - major=".$current" - versuffix=".$current" - ;; - - sunos) - major=".$current" - versuffix=".$current.$revision" - ;; - - windows) - # Use '-' rather than '.', since we only want one - # extension on DOS 8.3 filesystems. - func_arith $current - $age - major=$func_arith_result - versuffix="-$major" - ;; - - *) - func_fatal_configuration "unknown library version type \`$version_type'" - ;; - esac - - # Clear the version info if we defaulted, and they specified a release. - if test -z "$vinfo" && test -n "$release"; then - major= - case $version_type in - darwin) - # we can't check for "0.0" in archive_cmds due to quoting - # problems, so we reset it completely - verstring= - ;; - *) - verstring="0.0" - ;; - esac - if test "$need_version" = no; then - versuffix= - else - versuffix=".0.0" - fi - fi - - # Remove version info from name if versioning should be avoided - if test "$avoid_version" = yes && test "$need_version" = no; then - major= - versuffix= - verstring="" - fi - - # Check to see if the archive will have undefined symbols. - if test "$allow_undefined" = yes; then - if test "$allow_undefined_flag" = unsupported; then - func_warning "undefined symbols not allowed in $host shared libraries" - build_libtool_libs=no - build_old_libs=yes - fi - else - # Don't allow undefined symbols. - allow_undefined_flag="$no_undefined_flag" - fi - - fi - - func_generate_dlsyms "$libname" "$libname" "yes" - libobjs="$libobjs $symfileobj" - test "X$libobjs" = "X " && libobjs= - - if test "$mode" != relink; then - # Remove our outputs, but don't remove object files since they - # may have been created when compiling PIC objects. - removelist= - tempremovelist=`$ECHO "$output_objdir/*"` - for p in $tempremovelist; do - case $p in - *.$objext | *.gcno) - ;; - $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) - if test "X$precious_files_regex" != "X"; then - if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 - then - continue - fi - fi - removelist="$removelist $p" - ;; - *) ;; - esac - done - test -n "$removelist" && \ - func_show_eval "${RM}r \$removelist" - fi - - # Now set the variables for building old libraries. - if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then - oldlibs="$oldlibs $output_objdir/$libname.$libext" - - # Transform .lo files to .o files. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` - fi - - # Eliminate all temporary directories. - #for path in $notinst_path; do - # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` - #done - - if test -n "$xrpath"; then - # If the user specified any rpath flags, then add them. - temp_xrpath= - for libdir in $xrpath; do - temp_xrpath="$temp_xrpath -R$libdir" - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then - dependency_libs="$temp_xrpath $dependency_libs" - fi - fi - - # Make sure dlfiles contains only unique files that won't be dlpreopened - old_dlfiles="$dlfiles" - dlfiles= - for lib in $old_dlfiles; do - case " $dlprefiles $dlfiles " in - *" $lib "*) ;; - *) dlfiles="$dlfiles $lib" ;; - esac - done - - # Make sure dlprefiles contains only unique files - old_dlprefiles="$dlprefiles" - dlprefiles= - for lib in $old_dlprefiles; do - case "$dlprefiles " in - *" $lib "*) ;; - *) dlprefiles="$dlprefiles $lib" ;; - esac - done - - if test "$build_libtool_libs" = yes; then - if test -n "$rpath"; then - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) - # these systems don't actually have a c library (as such)! - ;; - *-*-rhapsody* | *-*-darwin1.[012]) - # Rhapsody C library is in the System framework - deplibs="$deplibs System.ltframework" - ;; - *-*-netbsd*) - # Don't link with libc until the a.out ld.so is fixed. - ;; - *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) - # Do not include libc due to us having libc/libc_r. - ;; - *-*-sco3.2v5* | *-*-sco5v6*) - # Causes problems with __ctype - ;; - *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) - # Compiler inserts libc in the correct place for threads to work - ;; - *) - # Add libc to deplibs on all other systems if necessary. - if test "$build_libtool_need_lc" = "yes"; then - deplibs="$deplibs -lc" - fi - ;; - esac - fi - - # Transform deplibs into only deplibs that can be linked in shared. - name_save=$name - libname_save=$libname - release_save=$release - versuffix_save=$versuffix - major_save=$major - # I'm not sure if I'm treating the release correctly. I think - # release should show up in the -l (ie -lgmp5) so we don't want to - # add it in twice. Is that correct? - release="" - versuffix="" - major="" - newdeplibs= - droppeddeps=no - case $deplibs_check_method in - pass_all) - # Don't check for shared/static. Everything works. - # This might be a little naive. We might want to check - # whether the library exists or not. But this is on - # osf3 & osf4 and I'm not really sure... Just - # implementing what was already the behavior. - newdeplibs=$deplibs - ;; - test_compile) - # This code stresses the "libraries are programs" paradigm to its - # limits. Maybe even breaks it. We compile a program, linking it - # against the deplibs as a proxy for the library. Then we can check - # whether they linked in statically or dynamically with ldd. - $opt_dry_run || $RM conftest.c - cat > conftest.c </dev/null` - for potent_lib in $potential_libs; do - # Follow soft links. - if ls -lLd "$potent_lib" 2>/dev/null | - $GREP " -> " >/dev/null; then - continue - fi - # The statement above tries to avoid entering an - # endless loop below, in case of cyclic links. - # We might still enter an endless loop, since a link - # loop can be closed while we follow links, - # but so what? - potlib="$potent_lib" - while test -h "$potlib" 2>/dev/null; do - potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` - case $potliblink in - [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; - esac - done - if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | - $SED -e 10q | - $EGREP "$file_magic_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $ECHO - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $ECHO "*** with $libname but no candidates were found. (...for file magic test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a file magic. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - match_pattern*) - set dummy $deplibs_check_method; shift - match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - for a_deplib in $deplibs; do - case $a_deplib in - -l*) - func_stripname -l '' "$a_deplib" - name=$func_stripname_result - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - case " $predeps $postdeps " in - *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - ;; - esac - fi - if test -n "$a_deplib" ; then - libname=`eval "\\$ECHO \"$libname_spec\""` - for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname[.-]* 2>/dev/null` - for potent_lib in $potential_libs; do - potlib="$potent_lib" # see symlink-check above in file_magic test - if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ - $EGREP "$match_pattern_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" - a_deplib="" - break 2 - fi - done - done - fi - if test -n "$a_deplib" ; then - droppeddeps=yes - $ECHO - $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because I did check the linker path looking for a file starting" - if test -z "$potlib" ; then - $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" - else - $ECHO "*** with $libname and none of the candidates passed a file format test" - $ECHO "*** using a regex pattern. Last file checked: $potlib" - fi - fi - ;; - *) - # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" - ;; - esac - done # Gone through all deplibs. - ;; - none | unknown | *) - newdeplibs="" - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` - if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then - for i in $predeps $postdeps ; do - # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` - done - fi - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | - $GREP . >/dev/null; then - $ECHO - if test "X$deplibs_check_method" = "Xnone"; then - $ECHO "*** Warning: inter-library dependencies are not supported in this platform." - else - $ECHO "*** Warning: inter-library dependencies are not known to be supported." - fi - $ECHO "*** All declared inter-library dependencies are being dropped." - droppeddeps=yes - fi - ;; - esac - versuffix=$versuffix_save - major=$major_save - release=$release_save - libname=$libname_save - name=$name_save - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library with the System framework - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - ;; - esac - - if test "$droppeddeps" = yes; then - if test "$module" = yes; then - $ECHO - $ECHO "*** Warning: libtool could not satisfy all declared inter-library" - $ECHO "*** dependencies of module $libname. Therefore, libtool will create" - $ECHO "*** a static module, that should work as long as the dlopening" - $ECHO "*** application is linked with the -dlopen flag." - if test -z "$global_symbol_pipe"; then - $ECHO - $ECHO "*** However, this would only work if libtool was able to extract symbol" - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" - $ECHO "*** not find such a program. So, this module is probably useless." - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." - fi - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - else - $ECHO "*** The inter-library dependencies that have been dropped here will be" - $ECHO "*** automatically added whenever a program is linked with this library" - $ECHO "*** or is declared to -dlopen it." - - if test "$allow_undefined" = no; then - $ECHO - $ECHO "*** Since this library must not contain undefined symbols," - $ECHO "*** because either the platform does not support them or" - $ECHO "*** it was explicitly requested with -no-undefined," - $ECHO "*** libtool will only create a static version of it." - if test "$build_old_libs" = no; then - oldlibs="$output_objdir/$libname.$libext" - build_libtool_libs=module - build_old_libs=yes - else - build_libtool_libs=no - fi - fi - fi - fi - # Done checking deplibs! - deplibs=$newdeplibs - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - case $host in - *-*-darwin*) - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - deplibs="$new_libs" - - # All the library-specific variables (install_libdir is set above). - library_names= - old_library= - dlname= - - # Test again, we may have decided not to build it any more - if test "$build_libtool_libs" = yes; then - if test "$hardcode_into_libs" = yes; then - # Hardcode the library paths - hardcode_libdirs= - dep_rpath= - rpath="$finalize_rpath" - test "$mode" != relink && rpath="$compile_rpath$rpath" - for libdir in $rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - dep_rpath="$dep_rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - if test -n "$hardcode_libdir_flag_spec_ld"; then - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" - else - eval dep_rpath=\"$hardcode_libdir_flag_spec\" - fi - fi - if test -n "$runpath_var" && test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" - fi - test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" - fi - - shlibpath="$finalize_shlibpath" - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" - if test -n "$shlibpath"; then - eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" - fi - - # Get the real and link names of the library. - eval shared_ext=\"$shrext_cmds\" - eval library_names=\"$library_names_spec\" - set dummy $library_names - shift - realname="$1" - shift - - if test -n "$soname_spec"; then - eval soname=\"$soname_spec\" - else - soname="$realname" - fi - if test -z "$dlname"; then - dlname=$soname - fi - - lib="$output_objdir/$realname" - linknames= - for link - do - linknames="$linknames $link" - done - - # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - test "X$libobjs" = "X " && libobjs= - - delfiles= - if test -n "$export_symbols" && test -n "$include_expsyms"; then - $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" - export_symbols="$output_objdir/$libname.uexp" - delfiles="$delfiles $export_symbols" - fi - - orig_export_symbols= - case $host_os in - cygwin* | mingw* | cegcc*) - if test -n "$export_symbols" && test -z "$export_symbols_regex"; then - # exporting using user supplied symfile - if test "x`$SED 1q $export_symbols`" != xEXPORTS; then - # and it's NOT already a .def file. Must figure out - # which of the given symbols are data symbols and tag - # them as such. So, trigger use of export_symbols_cmds. - # export_symbols gets reassigned inside the "prepare - # the list of exported symbols" if statement, so the - # include_expsyms logic still works. - orig_export_symbols="$export_symbols" - export_symbols= - always_export_symbols=yes - fi - fi - ;; - esac - - # Prepare the list of exported symbols - if test -z "$export_symbols"; then - if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then - func_verbose "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $opt_dry_run || $RM $export_symbols - cmds=$export_symbols_cmds - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - func_len " $cmd" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - func_show_eval "$cmd" 'exit $?' - skipped_export=false - else - # The command line is too long to execute in one step. - func_verbose "using reloadable object file for export list..." - skipped_export=: - # Break out early, otherwise skipped_export may be - # set to false by a later but shorter cmd. - break - fi - done - IFS="$save_ifs" - if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - fi - - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols="$export_symbols" - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' - fi - - if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - - tmp_deplibs= - for test_deplib in $deplibs; do - case " $convenience " in - *" $test_deplib "*) ;; - *) - tmp_deplibs="$tmp_deplibs $test_deplib" - ;; - esac - done - deplibs="$tmp_deplibs" - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec" && - test "$compiler_needs_object" = yes && - test -z "$libobjs"; then - # extract the archives, so we have objects to list. - # TODO: could optimize this to just extract one archive. - whole_archive_flag_spec= - fi - if test -n "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - else - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - libobjs="$libobjs $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - fi - - if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then - eval flag=\"$thread_safe_flag_spec\" - linker_flags="$linker_flags $flag" - fi - - # Make a backup of the uninstalled library when relinking - if test "$mode" = relink; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? - fi - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - eval test_cmds=\"$module_expsym_cmds\" - cmds=$module_expsym_cmds - else - eval test_cmds=\"$module_cmds\" - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - eval test_cmds=\"$archive_expsym_cmds\" - cmds=$archive_expsym_cmds - else - eval test_cmds=\"$archive_cmds\" - cmds=$archive_cmds - fi - fi - - if test "X$skipped_export" != "X:" && - func_len " $test_cmds" && - len=$func_len_result && - test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - : - else - # The command line is too long to link in one step, link piecewise - # or, if using GNU ld and skipped_export is not :, use a linker - # script. - - # Save the value of $output and $libobjs because we want to - # use them later. If we have whole_archive_flag_spec, we - # want to use save_libobjs as it was before - # whole_archive_flag_spec was expanded, because we can't - # assume the linker understands whole_archive_flag_spec. - # This may have to be revisited, in case too many - # convenience libraries get linked in and end up exceeding - # the spec. - if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then - save_libobjs=$libobjs - fi - save_output=$output - output_la=`$ECHO "X$output" | $Xsed -e "$basename"` - - # Clear the reloadable object creation command queue and - # initialize k to one. - test_cmds= - concat_cmds= - objlist= - last_robj= - k=1 - - if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then - output=${output_objdir}/${output_la}.lnkscript - func_verbose "creating GNU ld script: $output" - $ECHO 'INPUT (' > $output - for obj in $save_libobjs - do - $ECHO "$obj" >> $output - done - $ECHO ')' >> $output - delfiles="$delfiles $output" - elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then - output=${output_objdir}/${output_la}.lnk - func_verbose "creating linker input file list: $output" - : > $output - set x $save_libobjs - shift - firstobj= - if test "$compiler_needs_object" = yes; then - firstobj="$1 " - shift - fi - for obj - do - $ECHO "$obj" >> $output - done - delfiles="$delfiles $output" - output=$firstobj\"$file_list_spec$output\" - else - if test -n "$save_libobjs"; then - func_verbose "creating reloadable object files..." - output=$output_objdir/$output_la-${k}.$objext - eval test_cmds=\"$reload_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - - # Loop over the list of objects to be linked. - for obj in $save_libobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - if test "X$objlist" = X || - test "$len" -lt "$max_cmd_len"; then - func_append objlist " $obj" - else - # The command $test_cmds is almost too long, add a - # command to the queue. - if test "$k" -eq 1 ; then - # The first file doesn't have a previous command to add. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\" - else - # All subsequent reloadable object files will link in - # the last one created. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\" - fi - last_robj=$output_objdir/$output_la-${k}.$objext - func_arith $k + 1 - k=$func_arith_result - output=$output_objdir/$output_la-${k}.$objext - objlist=$obj - func_len " $last_robj" - func_arith $len0 + $func_len_result - len=$func_arith_result - fi - done - # Handle the remaining objects by creating one last - # reloadable object file. All subsequent reloadable object - # files will link in the last one created. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" - if test -n "$last_robj"; then - eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" - fi - delfiles="$delfiles $output" - - else - output= - fi - - if ${skipped_export-false}; then - func_verbose "generating symbol list for \`$libname.la'" - export_symbols="$output_objdir/$libname.exp" - $opt_dry_run || $RM $export_symbols - libobjs=$output - # Append the command to create the export file. - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" - if test -n "$last_robj"; then - eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" - fi - fi - - test -n "$save_libobjs" && - func_verbose "creating a temporary reloadable object file: $output" - - # Loop through the commands generated above and execute them. - save_ifs="$IFS"; IFS='~' - for cmd in $concat_cmds; do - IFS="$save_ifs" - $opt_silent || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - if test -n "$export_symbols_regex" && ${skipped_export-false}; then - func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' - func_show_eval '$MV "${export_symbols}T" "$export_symbols"' - fi - fi - - if ${skipped_export-false}; then - if test -n "$export_symbols" && test -n "$include_expsyms"; then - tmp_export_symbols="$export_symbols" - test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' - fi - - if test -n "$orig_export_symbols"; then - # The given exports_symbols file has to be filtered, so filter it. - func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" - # FIXME: $output_objdir/$libname.filter potentially contains lots of - # 's' commands which not all seds can handle. GNU sed should be fine - # though. Also, the filter scales superlinearly with the number of - # global variables. join(1) would be nice here, but unfortunately - # isn't a blessed tool. - $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" - export_symbols=$output_objdir/$libname.def - $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols - fi - fi - - libobjs=$output - # Restore the value of output. - output=$save_output - - if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then - eval libobjs=\"\$libobjs $whole_archive_flag_spec\" - test "X$libobjs" = "X " && libobjs= - fi - # Expand the library linking commands again to reset the - # value of $libobjs for piecewise linking. - - # Do each of the archive commands. - if test "$module" = yes && test -n "$module_cmds" ; then - if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then - cmds=$module_expsym_cmds - else - cmds=$module_cmds - fi - else - if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then - cmds=$archive_expsym_cmds - else - cmds=$archive_cmds - fi - fi - fi - - if test -n "$delfiles"; then - # Append the command to remove temporary files to $cmds. - eval cmds=\"\$cmds~\$RM $delfiles\" - fi - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $dlprefiles - libobjs="$libobjs $func_extract_archives_result" - test "X$libobjs" = "X " && libobjs= - fi - - save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do - IFS="$save_ifs" - eval cmd=\"$cmd\" - $opt_silent || { - func_quote_for_expand "$cmd" - eval "func_echo $func_quote_for_expand_result" - } - $opt_dry_run || eval "$cmd" || { - lt_exit=$? - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - ( cd "$output_objdir" && \ - $RM "${realname}T" && \ - $MV "${realname}U" "$realname" ) - fi - - exit $lt_exit - } - done - IFS="$save_ifs" - - # Restore the uninstalled library and exit - if test "$mode" = relink; then - $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? - - if test -n "$convenience"; then - if test -z "$whole_archive_flag_spec"; then - func_show_eval '${RM}r "$gentop"' - fi - fi - - exit $EXIT_SUCCESS - fi - - # Create links to the real library. - for linkname in $linknames; do - if test "$realname" != "$linkname"; then - func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' - fi - done - - # If -module or -export-dynamic was specified, set the dlname. - if test "$module" = yes || test "$export_dynamic" = yes; then - # On all known operating systems, these are identical. - dlname="$soname" - fi - fi - ;; - - obj) - if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then - func_warning "\`-dlopen' is ignored for objects" - fi - - case " $deplibs" in - *\ -l* | *\ -L*) - func_warning "\`-l' and \`-L' are ignored for objects" ;; - esac - - test -n "$rpath" && \ - func_warning "\`-rpath' is ignored for objects" - - test -n "$xrpath" && \ - func_warning "\`-R' is ignored for objects" - - test -n "$vinfo" && \ - func_warning "\`-version-info' is ignored for objects" - - test -n "$release" && \ - func_warning "\`-release' is ignored for objects" - - case $output in - *.lo) - test -n "$objs$old_deplibs" && \ - func_fatal_error "cannot build library object \`$output' from non-libtool objects" - - libobj=$output - func_lo2o "$libobj" - obj=$func_lo2o_result - ;; - *) - libobj= - obj="$output" - ;; - esac - - # Delete the old objects. - $opt_dry_run || $RM $obj $libobj - - # Objects from convenience libraries. This assumes - # single-version convenience libraries. Whenever we create - # different ones for PIC/non-PIC, this we'll have to duplicate - # the extraction. - reload_conv_objs= - gentop= - # reload_cmds runs $LD directly, so let us get rid of - # -Wl from whole_archive_flag_spec and hope we can get by with - # turning comma into space.. - wl= - - if test -n "$convenience"; then - if test -n "$whole_archive_flag_spec"; then - eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` - else - gentop="$output_objdir/${obj}x" - generated="$generated $gentop" - - func_extract_archives $gentop $convenience - reload_conv_objs="$reload_objs $func_extract_archives_result" - fi - fi - - # Create the old-style object. - reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test - - output="$obj" - func_execute_cmds "$reload_cmds" 'exit $?' - - # Exit if we aren't doing a library object file. - if test -z "$libobj"; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - fi - - if test "$build_libtool_libs" != yes; then - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - # Create an invalid libtool object if no PIC, so that we don't - # accidentally link it into a program. - # $show "echo timestamp > $libobj" - # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? - exit $EXIT_SUCCESS - fi - - if test -n "$pic_flag" || test "$pic_mode" != default; then - # Only do commands if we really have different PIC objects. - reload_objs="$libobjs $reload_conv_objs" - output="$libobj" - func_execute_cmds "$reload_cmds" 'exit $?' - fi - - if test -n "$gentop"; then - func_show_eval '${RM}r "$gentop"' - fi - - exit $EXIT_SUCCESS - ;; - - prog) - case $host in - *cygwin*) func_stripname '' '.exe' "$output" - output=$func_stripname_result.exe;; - esac - test -n "$vinfo" && \ - func_warning "\`-version-info' is ignored for programs" - - test -n "$release" && \ - func_warning "\`-release' is ignored for programs" - - test "$preload" = yes \ - && test "$dlopen_support" = unknown \ - && test "$dlopen_self" = unknown \ - && test "$dlopen_self_static" = unknown && \ - func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." - - case $host in - *-*-rhapsody* | *-*-darwin1.[012]) - # On Rhapsody replace the C library is the System framework - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - ;; - esac - - case $host in - *-*-darwin*) - # Don't allow lazy linking, it breaks C++ global constructors - # But is supposedly fixed on 10.4 or later (yay!). - if test "$tagname" = CXX ; then - case ${MACOSX_DEPLOYMENT_TARGET-10.0} in - 10.[0123]) - compile_command="$compile_command ${wl}-bind_at_load" - finalize_command="$finalize_command ${wl}-bind_at_load" - ;; - esac - fi - # Time to change all our "foo.ltframework" stuff back to "-framework foo" - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - ;; - esac - - - # move library search paths that coincide with paths to not yet - # installed libraries to the beginning of the library search list - new_libs= - for path in $notinst_path; do - case " $new_libs " in - *" -L$path/$objdir "*) ;; - *) - case " $compile_deplibs " in - *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; - esac - ;; - esac - done - for deplib in $compile_deplibs; do - case $deplib in - -L*) - case " $new_libs " in - *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; - esac - ;; - *) new_libs="$new_libs $deplib" ;; - esac - done - compile_deplibs="$new_libs" - - - compile_command="$compile_command $compile_deplibs" - finalize_command="$finalize_command $finalize_deplibs" - - if test -n "$rpath$xrpath"; then - # If the user specified any rpath flags, then add them. - for libdir in $rpath $xrpath; do - # This is the magic to use -rpath. - case "$finalize_rpath " in - *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; - esac - done - fi - - # Now hardcode the library paths - rpath= - hardcode_libdirs= - for libdir in $compile_rpath $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$perm_rpath " in - *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; - esac - fi - case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` - case :$dllsearchpath: in - *":$libdir:"*) ;; - ::) dllsearchpath=$libdir;; - *) dllsearchpath="$dllsearchpath:$libdir";; - esac - case :$dllsearchpath: in - *":$testbindir:"*) ;; - ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; - esac - ;; - esac - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - compile_rpath="$rpath" - - rpath= - hardcode_libdirs= - for libdir in $finalize_rpath; do - if test -n "$hardcode_libdir_flag_spec"; then - if test -n "$hardcode_libdir_separator"; then - if test -z "$hardcode_libdirs"; then - hardcode_libdirs="$libdir" - else - # Just accumulate the unique libdirs. - case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in - *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) - ;; - *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" - ;; - esac - fi - else - eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" - fi - elif test -n "$runpath_var"; then - case "$finalize_perm_rpath " in - *" $libdir "*) ;; - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; - esac - fi - done - # Substitute the hardcoded libdirs into the rpath. - if test -n "$hardcode_libdir_separator" && - test -n "$hardcode_libdirs"; then - libdir="$hardcode_libdirs" - eval rpath=\" $hardcode_libdir_flag_spec\" - fi - finalize_rpath="$rpath" - - if test -n "$libobjs" && test "$build_old_libs" = yes; then - # Transform all the library objects into standard objects. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - fi - - func_generate_dlsyms "$outputname" "@PROGRAM@" "no" - - # template prelinking step - if test -n "$prelink_cmds"; then - func_execute_cmds "$prelink_cmds" 'exit $?' - fi - - wrappers_required=yes - case $host in - *cygwin* | *mingw* ) - if test "$build_libtool_libs" != yes; then - wrappers_required=no - fi - ;; - *cegcc) - # Disable wrappers for cegcc, we are cross compiling anyway. - wrappers_required=no - ;; - *) - if test "$need_relink" = no || test "$build_libtool_libs" != yes; then - wrappers_required=no - fi - ;; - esac - if test "$wrappers_required" = no; then - # Replace the output file specification. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` - link_command="$compile_command$compile_rpath" - - # We have no uninstalled library dependencies, so finalize right now. - exit_status=0 - func_show_eval "$link_command" 'exit_status=$?' - - # Delete the generated files. - if test -f "$output_objdir/${outputname}S.${objext}"; then - func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' - fi - - exit $exit_status - fi - - if test -n "$compile_shlibpath$finalize_shlibpath"; then - compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" - fi - if test -n "$finalize_shlibpath"; then - finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" - fi - - compile_var= - finalize_var= - if test -n "$runpath_var"; then - if test -n "$perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $perm_rpath; do - rpath="$rpath$dir:" - done - compile_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - if test -n "$finalize_perm_rpath"; then - # We should set the runpath_var. - rpath= - for dir in $finalize_perm_rpath; do - rpath="$rpath$dir:" - done - finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " - fi - fi - - if test "$no_install" = yes; then - # We don't need to create a wrapper script. - link_command="$compile_var$compile_command$compile_rpath" - # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` - # Delete the old output file. - $opt_dry_run || $RM $output - # Link the executable and exit - func_show_eval "$link_command" 'exit $?' - exit $EXIT_SUCCESS - fi - - if test "$hardcode_action" = relink; then - # Fast installation is not supported - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - - func_warning "this platform does not like uninstalled shared libraries" - func_warning "\`$output' will be relinked during installation" - else - if test "$fast_install" != no; then - link_command="$finalize_var$compile_command$finalize_rpath" - if test "$fast_install" = yes; then - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` - else - # fast_install is set to needless - relink_command= - fi - else - link_command="$compile_var$compile_command$compile_rpath" - relink_command="$finalize_var$finalize_command$finalize_rpath" - fi - fi - - # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` - - # Delete the old output files. - $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname - - func_show_eval "$link_command" 'exit $?' - - # Now create the wrapper script. - func_verbose "creating $output" - - # Quote the relink command for shipping. - if test -n "$relink_command"; then - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - relink_command="(cd `pwd`; $relink_command)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` - fi - - # Quote $ECHO for shipping. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then - case $progpath in - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; - esac - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` - else - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` - fi - - # Only actually do things if not in dry run mode. - $opt_dry_run || { - # win32 will think the script is a binary if it has - # a .exe suffix, so we strip it off here. - case $output in - *.exe) func_stripname '' '.exe' "$output" - output=$func_stripname_result ;; - esac - # test for cygwin because mv fails w/o .exe extensions - case $host in - *cygwin*) - exeext=.exe - func_stripname '' '.exe' "$outputname" - outputname=$func_stripname_result ;; - *) exeext= ;; - esac - case $host in - *cygwin* | *mingw* ) - func_dirname_and_basename "$output" "" "." - output_name=$func_basename_result - output_path=$func_dirname_result - cwrappersource="$output_path/$objdir/lt-$output_name.c" - cwrapper="$output_path/$output_name.exe" - $RM $cwrappersource $cwrapper - trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 - - func_emit_cwrapperexe_src > $cwrappersource - - # The wrapper executable is built using the $host compiler, - # because it contains $host paths and files. If cross- - # compiling, it, like the target executable, must be - # executed on the $host or under an emulation environment. - $opt_dry_run || { - $LTCC $LTCFLAGS -o $cwrapper $cwrappersource - $STRIP $cwrapper - } - - # Now, create the wrapper script for func_source use: - func_ltwrapper_scriptname $cwrapper - $RM $func_ltwrapper_scriptname_result - trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 - $opt_dry_run || { - # note: this script will not be executed, so do not chmod. - if test "x$build" = "x$host" ; then - $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result - else - func_emit_wrapper no > $func_ltwrapper_scriptname_result - fi - } - ;; - * ) - $RM $output - trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 - - func_emit_wrapper no > $output - chmod +x $output - ;; - esac - } - exit $EXIT_SUCCESS - ;; - esac - - # See if we need to build an old-fashioned archive. - for oldlib in $oldlibs; do - - if test "$build_libtool_libs" = convenience; then - oldobjs="$libobjs_save $symfileobj" - addlibs="$convenience" - build_libtool_libs=no - else - if test "$build_libtool_libs" = module; then - oldobjs="$libobjs_save" - build_libtool_libs=no - else - oldobjs="$old_deplibs $non_pic_objects" - if test "$preload" = yes && test -f "$symfileobj"; then - oldobjs="$oldobjs $symfileobj" - fi - fi - addlibs="$old_convenience" - fi - - if test -n "$addlibs"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $addlibs - oldobjs="$oldobjs $func_extract_archives_result" - fi - - # Do each command in the archive commands. - if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then - cmds=$old_archive_from_new_cmds - else - - # Add any objects from preloaded convenience libraries - if test -n "$dlprefiles"; then - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - - func_extract_archives $gentop $dlprefiles - oldobjs="$oldobjs $func_extract_archives_result" - fi - - # POSIX demands no paths to be encoded in archives. We have - # to avoid creating archives with duplicate basenames if we - # might have to extract them afterwards, e.g., when creating a - # static archive out of a convenience library, or when linking - # the entirety of a libtool archive into another (currently - # not supported by libtool). - if (for obj in $oldobjs - do - func_basename "$obj" - $ECHO "$func_basename_result" - done | sort | sort -uc >/dev/null 2>&1); then - : - else - $ECHO "copying selected object files to avoid basename conflicts..." - gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" - func_mkdir_p "$gentop" - save_oldobjs=$oldobjs - oldobjs= - counter=1 - for obj in $save_oldobjs - do - func_basename "$obj" - objbase="$func_basename_result" - case " $oldobjs " in - " ") oldobjs=$obj ;; - *[\ /]"$objbase "*) - while :; do - # Make sure we don't pick an alternate name that also - # overlaps. - newobj=lt$counter-$objbase - func_arith $counter + 1 - counter=$func_arith_result - case " $oldobjs " in - *[\ /]"$newobj "*) ;; - *) if test ! -f "$gentop/$newobj"; then break; fi ;; - esac - done - func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - oldobjs="$oldobjs $gentop/$newobj" - ;; - *) oldobjs="$oldobjs $obj" ;; - esac - done - fi - eval cmds=\"$old_archive_cmds\" - - func_len " $cmds" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then - cmds=$old_archive_cmds - else - # the command line is too long to link in one step, link in parts - func_verbose "using piecewise archive linking..." - save_RANLIB=$RANLIB - RANLIB=: - objlist= - concat_cmds= - save_oldobjs=$oldobjs - oldobjs= - # Is there a better way of finding the last object in the list? - for obj in $save_oldobjs - do - last_oldobj=$obj - done - eval test_cmds=\"$old_archive_cmds\" - func_len " $test_cmds" - len0=$func_len_result - len=$len0 - for obj in $save_oldobjs - do - func_len " $obj" - func_arith $len + $func_len_result - len=$func_arith_result - func_append objlist " $obj" - if test "$len" -lt "$max_cmd_len"; then - : - else - # the above command should be used before it gets too long - oldobjs=$objlist - if test "$obj" = "$last_oldobj" ; then - RANLIB=$save_RANLIB - fi - test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" - objlist= - len=$len0 - fi - done - RANLIB=$save_RANLIB - oldobjs=$objlist - if test "X$oldobjs" = "X" ; then - eval cmds=\"\$concat_cmds\" - else - eval cmds=\"\$concat_cmds~\$old_archive_cmds\" - fi - fi - fi - func_execute_cmds "$cmds" 'exit $?' - done - - test -n "$generated" && \ - func_show_eval "${RM}r$generated" - - # Now create the libtool archive. - case $output in - *.la) - old_library= - test "$build_old_libs" = yes && old_library="$libname.$libext" - func_verbose "creating $output" - - # Preserve any variables that may affect compiler behavior - for var in $variables_saved_for_relink; do - if eval test -z \"\${$var+set}\"; then - relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" - elif eval var_value=\$$var; test -z "$var_value"; then - relink_command="$var=; export $var; $relink_command" - else - func_quote_for_eval "$var_value" - relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" - fi - done - # Quote the link command for shipping. - relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` - if test "$hardcode_automatic" = yes ; then - relink_command= - fi - - # Only create the output if not a dry run. - $opt_dry_run || { - for installed in no yes; do - if test "$installed" = yes; then - if test -z "$install_libdir"; then - break - fi - output="$output_objdir/$outputname"i - # Replace all uninstalled libtool libraries with the installed ones - newdependency_libs= - for deplib in $dependency_libs; do - case $deplib in - *.la) - func_basename "$deplib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` - test -z "$libdir" && \ - func_fatal_error "\`$deplib' is not a valid libtool archive" - newdependency_libs="$newdependency_libs $libdir/$name" - ;; - *) newdependency_libs="$newdependency_libs $deplib" ;; - esac - done - dependency_libs="$newdependency_libs" - newdlfiles= - - for lib in $dlfiles; do - case $lib in - *.la) - func_basename "$lib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "\`$lib' is not a valid libtool archive" - newdlfiles="$newdlfiles $libdir/$name" - ;; - *) newdlfiles="$newdlfiles $lib" ;; - esac - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - *.la) - # Only pass preopened files to the pseudo-archive (for - # eventual linking with the app. that links it) if we - # didn't already link the preopened objects directly into - # the library: - func_basename "$lib" - name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` - test -z "$libdir" && \ - func_fatal_error "\`$lib' is not a valid libtool archive" - newdlprefiles="$newdlprefiles $libdir/$name" - ;; - esac - done - dlprefiles="$newdlprefiles" - else - newdlfiles= - for lib in $dlfiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlfiles="$newdlfiles $abs" - done - dlfiles="$newdlfiles" - newdlprefiles= - for lib in $dlprefiles; do - case $lib in - [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; - *) abs=`pwd`"/$lib" ;; - esac - newdlprefiles="$newdlprefiles $abs" - done - dlprefiles="$newdlprefiles" - fi - $RM $output - # place dlname in correct position for cygwin - tdlname=$dlname - case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; - esac - $ECHO > $output "\ -# $outputname - a libtool library file -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# Please DO NOT delete this file! -# It is necessary for linking the library. - -# The name that we can dlopen(3). -dlname='$tdlname' - -# Names of this library. -library_names='$library_names' - -# The name of the static archive. -old_library='$old_library' - -# Linker flags that can not go in dependency_libs. -inherited_linker_flags='$new_inherited_linker_flags' - -# Libraries that this one depends upon. -dependency_libs='$dependency_libs' - -# Names of additional weak libraries provided by this library -weak_library_names='$weak_libs' - -# Version information for $libname. -current=$current -age=$age -revision=$revision - -# Is this an already installed library? -installed=$installed - -# Should we warn about portability when linking against -modules? -shouldnotlink=$module - -# Files to dlopen/dlpreopen -dlopen='$dlfiles' -dlpreopen='$dlprefiles' - -# Directory that this library needs to be installed in: -libdir='$install_libdir'" - if test "$installed" = no && test "$need_relink" = yes; then - $ECHO >> $output "\ -relink_command=\"$relink_command\"" - fi - done - } - - # Do a symbolic link so that the libtool archive can be found in - # LD_LIBRARY_PATH before the program is installed. - func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' - ;; - esac - exit $EXIT_SUCCESS -} - -{ test "$mode" = link || test "$mode" = relink; } && - func_mode_link ${1+"$@"} - - -# func_mode_uninstall arg... -func_mode_uninstall () -{ - $opt_debug - RM="$nonopt" - files= - rmforce= - exit_status=0 - - # This variable tells wrapper scripts just to set variables rather - # than running their programs. - libtool_install_magic="$magic" - - for arg - do - case $arg in - -f) RM="$RM $arg"; rmforce=yes ;; - -*) RM="$RM $arg" ;; - *) files="$files $arg" ;; - esac - done - - test -z "$RM" && \ - func_fatal_help "you must specify an RM program" - - rmdirs= - - origobjdir="$objdir" - for file in $files; do - func_dirname "$file" "" "." - dir="$func_dirname_result" - if test "X$dir" = X.; then - objdir="$origobjdir" - else - objdir="$dir/$origobjdir" - fi - func_basename "$file" - name="$func_basename_result" - test "$mode" = uninstall && objdir="$dir" - - # Remember objdir for removal later, being careful to avoid duplicates - if test "$mode" = clean; then - case " $rmdirs " in - *" $objdir "*) ;; - *) rmdirs="$rmdirs $objdir" ;; - esac - fi - - # Don't error if the file doesn't exist and rm -f was used. - if { test -L "$file"; } >/dev/null 2>&1 || - { test -h "$file"; } >/dev/null 2>&1 || - test -f "$file"; then - : - elif test -d "$file"; then - exit_status=1 - continue - elif test "$rmforce" = yes; then - continue - fi - - rmfiles="$file" - - case $name in - *.la) - # Possibly a libtool archive, so verify it. - if func_lalib_p "$file"; then - func_source $dir/$name - - # Delete the libtool libraries and symlinks. - for n in $library_names; do - rmfiles="$rmfiles $objdir/$n" - done - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" - - case "$mode" in - clean) - case " $library_names " in - # " " in the beginning catches empty $dlname - *" $dlname "*) ;; - *) rmfiles="$rmfiles $objdir/$dlname" ;; - esac - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" - ;; - uninstall) - if test -n "$library_names"; then - # Do each command in the postuninstall commands. - func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' - fi - - if test -n "$old_library"; then - # Do each command in the old_postuninstall commands. - func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' - fi - # FIXME: should reinstall the best remaining shared library. - ;; - esac - fi - ;; - - *.lo) - # Possibly a libtool object, so verify it. - if func_lalib_p "$file"; then - - # Read the .lo file - func_source $dir/$name - - # Add PIC object to the list of files to remove. - if test -n "$pic_object" && - test "$pic_object" != none; then - rmfiles="$rmfiles $dir/$pic_object" - fi - - # Add non-PIC object to the list of files to remove. - if test -n "$non_pic_object" && - test "$non_pic_object" != none; then - rmfiles="$rmfiles $dir/$non_pic_object" - fi - fi - ;; - - *) - if test "$mode" = clean ; then - noexename=$name - case $file in - *.exe) - func_stripname '' '.exe' "$file" - file=$func_stripname_result - func_stripname '' '.exe' "$name" - noexename=$func_stripname_result - # $file with .exe has already been added to rmfiles, - # add $file without .exe - rmfiles="$rmfiles $file" - ;; - esac - # Do a test to see if this is a libtool program. - if func_ltwrapper_p "$file"; then - if func_ltwrapper_executable_p "$file"; then - func_ltwrapper_scriptname "$file" - relink_command= - func_source $func_ltwrapper_scriptname_result - rmfiles="$rmfiles $func_ltwrapper_scriptname_result" - else - relink_command= - func_source $dir/$noexename - fi - - # note $name still contains .exe if it was in $file originally - # as does the version of $file that was added into $rmfiles - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" - if test "$fast_install" = yes && test -n "$relink_command"; then - rmfiles="$rmfiles $objdir/lt-$name" - fi - if test "X$noexename" != "X$name" ; then - rmfiles="$rmfiles $objdir/lt-${noexename}.c" - fi - fi - fi - ;; - esac - func_show_eval "$RM $rmfiles" 'exit_status=1' - done - objdir="$origobjdir" - - # Try to remove the ${objdir}s in the directories where we deleted files - for dir in $rmdirs; do - if test -d "$dir"; then - func_show_eval "rmdir $dir >/dev/null 2>&1" - fi - done - - exit $exit_status -} - -{ test "$mode" = uninstall || test "$mode" = clean; } && - func_mode_uninstall ${1+"$@"} - -test -z "$mode" && { - help="$generic_help" - func_fatal_help "you must specify a MODE" -} - -test -z "$exec_cmd" && \ - func_fatal_help "invalid operation mode \`$mode'" - -if test -n "$exec_cmd"; then - eval exec "$exec_cmd" - exit $EXIT_FAILURE -fi - -exit $exit_status - - -# The TAGs below are defined such that we never get into a situation -# in which we disable both kinds of libraries. Given conflicting -# choices, we go for a static library, that is the most portable, -# since we can't tell whether shared libraries were disabled because -# the user asked for that or because the platform doesn't support -# them. This is particularly important on AIX, because we don't -# support having both static and shared libraries enabled at the same -# time on that platform, so we default to a shared-only configuration. -# If a disable-shared tag is given, we'll fallback to a static-only -# configuration. But we'll never go from static-only to shared-only. - -# ### BEGIN LIBTOOL TAG CONFIG: disable-shared -build_libtool_libs=no -build_old_libs=yes -# ### END LIBTOOL TAG CONFIG: disable-shared - -# ### BEGIN LIBTOOL TAG CONFIG: disable-static -build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` -# ### END LIBTOOL TAG CONFIG: disable-static - -# Local Variables: -# mode:shell-script -# sh-indentation:2 -# End: -# vi:sw=2 - diff --git a/Externals/SDL/build-scripts/makedep.sh b/Externals/SDL/build-scripts/makedep.sh deleted file mode 100755 index ceffe275b0..0000000000 --- a/Externals/SDL/build-scripts/makedep.sh +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh -# -# Generate dependencies from a list of source files - -# Check to make sure our environment variables are set -if test x"$INCLUDE" = x -o x"$SOURCES" = x -o x"$output" = x; then - echo "SOURCES, INCLUDE, and output needs to be set" - exit 1 -fi -cache_prefix=".#$$" - -generate_var() -{ - echo $1 | sed -e 's|^.*/||' -e 's|\.|_|g' -} - -search_deps() -{ - base=`echo $1 | sed 's|/[^/]*$||'` - grep '#include "' <$1 | sed -e 's|.*"\([^"]*\)".*|\1|' | \ - while read file - do cache=${cache_prefix}_`generate_var $file` - if test -f $cache; then - : # We already ahve this cached - else - : >$cache - for path in $base `echo $INCLUDE | sed 's|-I||g'` - do dep="$path/$file" - if test -f "$dep"; then - echo " $dep \\" >>$cache - search_deps $dep >>$cache - break - fi - done - fi - cat $cache - done -} - -:>${output}.new -for src in $SOURCES -do echo "Generating dependencies for $src" - ext=`echo $src | sed 's|.*\.\(.*\)|\1|'` - if test x"$ext" = x"rc"; then - obj=`echo $src | sed "s|^.*/\([^ ]*\)\..*|\1.o|g"` - else - obj=`echo $src | sed "s|^.*/\([^ ]*\)\..*|\1.lo|g"` - fi - echo "\$(objects)/$obj: $src \\" >>${output}.new - search_deps $src | sort | uniq >>${output}.new - case $ext in - c) cat >>${output}.new <<__EOF__ - - \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ - -__EOF__ - ;; - cc) cat >>${output}.new <<__EOF__ - - \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ - -__EOF__ - ;; - m) cat >>${output}.new <<__EOF__ - - \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ - -__EOF__ - ;; - asm) cat >>${output}.new <<__EOF__ - - \$(LIBTOOL) --tag=CC --mode=compile \$(auxdir)/strip_fPIC.sh \$(NASM) $src -o \$@ - -__EOF__ - ;; - S) cat >>${output}.new <<__EOF__ - - \$(LIBTOOL) --mode=compile \$(CC) \$(CFLAGS) \$(EXTRA_CFLAGS) -c $src -o \$@ - -__EOF__ - ;; - rc) cat >>${output}.new <<__EOF__ - - \$(WINDRES) $src \$@ - -__EOF__ - ;; - *) echo "Unknown file extension: $ext";; - esac - echo "" >>${output}.new -done -mv ${output}.new ${output} -rm -f ${cache_prefix}* diff --git a/Externals/SDL/build-scripts/mkinstalldirs b/Externals/SDL/build-scripts/mkinstalldirs deleted file mode 100755 index 8ab885ec92..0000000000 --- a/Externals/SDL/build-scripts/mkinstalldirs +++ /dev/null @@ -1,99 +0,0 @@ -#! /bin/sh -# mkinstalldirs --- make directory hierarchy -# Author: Noah Friedman -# Created: 1993-05-16 -# Public domain - -errstatus=0 -dirmode="" - -usage="\ -Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." - -# process command line arguments -while test $# -gt 0 ; do - case "${1}" in - -h | --help | --h* ) # -h for help - echo "${usage}" 1>&2; exit 0 ;; - -m ) # -m PERM arg - shift - test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; } - dirmode="${1}" - shift ;; - -- ) shift; break ;; # stop option processing - -* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option - * ) break ;; # first non-opt arg - esac -done - -for file -do - if test -d "$file"; then - shift - else - break - fi -done - -case $# in -0) exit 0 ;; -esac - -case $dirmode in -'') - if mkdir -p -- . 2>/dev/null; then - echo "mkdir -p -- $*" - exec mkdir -p -- "$@" - fi ;; -*) - if mkdir -m "$dirmode" -p -- . 2>/dev/null; then - echo "mkdir -m $dirmode -p -- $*" - exec mkdir -m "$dirmode" -p -- "$@" - fi ;; -esac - -for file -do - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` - shift - - pathcomp= - for d - do - pathcomp="$pathcomp$d" - case "$pathcomp" in - -* ) pathcomp=./$pathcomp ;; - esac - - if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" - - mkdir "$pathcomp" || lasterr=$? - - if test ! -d "$pathcomp"; then - errstatus=$lasterr - else - if test ! -z "$dirmode"; then - echo "chmod $dirmode $pathcomp" - - lasterr="" - chmod "$dirmode" "$pathcomp" || lasterr=$? - - if test ! -z "$lasterr"; then - errstatus=$lasterr - fi - fi - fi - fi - - pathcomp="$pathcomp/" - done -done - -exit $errstatus - -# Local Variables: -# mode: shell-script -# sh-indentation: 3 -# End: -# mkinstalldirs ends here diff --git a/Externals/SDL/build-scripts/strip_fPIC.sh b/Externals/SDL/build-scripts/strip_fPIC.sh deleted file mode 100755 index 45d34ba478..0000000000 --- a/Externals/SDL/build-scripts/strip_fPIC.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# -# libtool assumes that the compiler can handle the -fPIC flag -# This isn't always true (for example, nasm can't handle it) -command="" -while [ $# -gt 0 ]; do - case "$1" in - -fPIC) - # Ignore -fPIC option - ;; - -fno-common) - # Ignore -fPIC and -DPIC options - ;; - *) - command="$command $1" - ;; - esac - shift -done -echo $command -exec $command diff --git a/Externals/SDL/configure b/Externals/SDL/configure deleted file mode 100755 index ea9b5da01b..0000000000 --- a/Externals/SDL/configure +++ /dev/null @@ -1,33165 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63. -# -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS - - - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell bug-autoconf@gnu.org about your system, - echo including any error possibly output before this message. - echo This can help us improve future autoconf versions. - echo Configuration will now proceed without shell functions. -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - - - -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "$0" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -$* -_LT_EOF - exit 0 -fi - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL $0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL $0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "$0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" -fi - - - - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIBOBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= - -ac_unique_file="README" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='LTLIBOBJS -EXTRA_LDFLAGS -BUILD_LDFLAGS -EXTRA_CFLAGS -BUILD_CFLAGS -SDLMAIN_OBJECTS -SDLMAIN_SOURCES -OBJECTS -SOURCES -INCLUDE -ac_aux_dir -ENABLE_STATIC_FALSE -ENABLE_STATIC_TRUE -ENABLE_SHARED_FALSE -ENABLE_SHARED_TRUE -SDL_RLD_FLAGS -SDL_STATIC_LIBS -SDL_LIBS -SDL_CFLAGS -PTH_CONFIG -OSMESA_CONFIG -CACACONFIG -DIRECTFBCONFIG -X_EXTRA_LIBS -X_LIBS -X_PRE_LIBS -X_CFLAGS -XMKMF -NASMFLAGS -NASM -ARTSCONFIG -PKG_CONFIG -ESD_LIBS -ESD_CFLAGS -ESD_CONFIG -ALSA_LIBS -ALSA_CFLAGS -POW_LIB -LIBOBJS -ALLOCA -WINDRES -SET_MAKE -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -CXXCPP -ac_ct_CXX -CXXFLAGS -CXX -LT_AGE -LT_REVISION -LT_CURRENT -LT_RELEASE -OTOOL64 -OTOOL -LIPO -NMEDIT -DSYMUTIL -lt_ECHO -RANLIB -STRIP -AR -LN_S -NM -ac_ct_DUMPBIN -DUMPBIN -LD -FGREP -SED -host_os -host_vendor -host_cpu -host -build_os -build_vendor -build_cpu -build -LIBTOOL -OBJDUMP -DLLTOOL -AS -SDL_VERSION -SDL_BINARY_AGE -SDL_INTERFACE_AGE -SDL_MICRO_VERSION -SDL_MINOR_VERSION -SDL_MAJOR_VERSION -EGREP -GREP -CPP -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_shared -enable_static -with_pic -enable_fast_install -with_gnu_ld -enable_libtool_lock -enable_libc -enable_audio -enable_video -enable_events -enable_joystick -enable_cdrom -enable_threads -enable_timers -enable_file -enable_loadso -enable_cpuinfo -enable_assembly -enable_oss -enable_alsa -with_alsa_prefix -with_alsa_inc_prefix -enable_alsatest -enable_alsa_shared -enable_esd -with_esd_prefix -with_esd_exec_prefix -enable_esdtest -enable_esd_shared -enable_pulseaudio -enable_pulseaudio_shared -enable_arts -enable_arts_shared -enable_nas -enable_nas_shared -enable_diskaudio -enable_dummyaudio -enable_mintaudio -enable_nasm -enable_altivec -enable_ipod -enable_video_nanox -enable_nanox_debug -enable_nanox_share_memory -enable_nanox_direct_fb -enable_video_x11 -with_x -enable_x11_shared -enable_dga -enable_video_dga -enable_video_x11_dgamouse -enable_video_x11_vm -enable_video_x11_xv -enable_video_x11_xinerama -enable_video_x11_xme -enable_video_x11_xrandr -enable_video_photon -enable_video_carbon -enable_video_cocoa -enable_video_fbcon -enable_video_directfb -enable_video_ps2gs -enable_video_ps3 -enable_video_ggi -enable_video_svga -enable_video_vgl -enable_video_wscons -enable_video_aalib -enable_video_caca -enable_video_qtopia -enable_video_picogui -enable_xbios -enable_gem -enable_video_dummy -enable_video_opengl -enable_osmesa_shared -enable_screensaver -enable_input_events -enable_input_tslib -enable_pth -enable_pthreads -enable_pthread_sem -enable_stdio_redirect -enable_directx -enable_sdl_dlopen -enable_atari_ldg -enable_clock_gettime -enable_rpath -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP -CXX -CXXFLAGS -CCC -CXXCPP -XMKMF' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { $as_echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 - { (exit 1); exit 1; }; } ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { $as_echo "$as_me: error: working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF - -X features: - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR - -System types: - --build=BUILD configure for building on BUILD [guessed] - --host=HOST cross-compile to build programs to run on HOST [BUILD] -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-shared[=PKGS] build shared libraries [default=yes] - --enable-static[=PKGS] build static libraries [default=yes] - --enable-fast-install[=PKGS] - optimize for fast installation [default=yes] - --disable-libtool-lock avoid locking (might break parallel builds) - --enable-libc Use the system C library [default=yes] - --enable-audio Enable the audio subsystem [default=yes] - --enable-video Enable the video subsystem [default=yes] - --enable-events Enable the events subsystem [default=yes] - --enable-joystick Enable the joystick subsystem [default=yes] - --enable-cdrom Enable the cdrom subsystem [default=yes] - --enable-threads Enable the threading subsystem [default=yes] - --enable-timers Enable the timer subsystem [default=yes] - --enable-file Enable the file subsystem [default=yes] - --enable-loadso Enable the shared object loading subsystem - [default=yes] - --enable-cpuinfo Enable the cpuinfo subsystem [default=yes] - --enable-assembly Enable assembly routines [default=yes] - --enable-oss support the OSS audio API [default=yes] - --enable-alsa support the ALSA audio API [default=yes] - --disable-alsatest Do not try to compile and run a test Alsa program - --enable-alsa-shared dynamically load ALSA audio support [default=yes] - --enable-esd support the Enlightened Sound Daemon [default=yes] - --disable-esdtest Do not try to compile and run a test ESD program - --enable-esd-shared dynamically load ESD audio support [default=yes] - --enable-pulseaudio use PulseAudio [default=yes] - --enable-pulseaudio-shared - dynamically load PulseAudio support [default=yes] - --enable-arts support the Analog Real Time Synthesizer - [default=yes] - --enable-arts-shared dynamically load aRts audio support [default=yes] - --enable-nas support the NAS audio API [default=yes] - --enable-nas-shared dynamically load NAS audio support [default=yes] - --enable-diskaudio support the disk writer audio driver [default=yes] - --enable-dummyaudio support the dummy audio driver [default=yes] - --enable-mintaudio support Atari audio driver [default=yes] - --enable-nasm use nasm assembly blitters on x86 [default=yes] - --enable-altivec use altivec assembly blitters on PPC [default=yes] - --enable-ipod configure SDL to work with iPodLinux [default=no] - --enable-video-nanox use nanox video driver [default=no] - --enable-nanox-debug print debug messages [default=no] - --enable-nanox-share-memory - use share memory [default=no] - --enable-nanox-direct-fb - use direct framebuffer access [default=no] - --enable-video-x11 use X11 video driver [default=yes] - --enable-x11-shared dynamically load X11 support [default=maybe] - --enable-dga allow use of X11 DGA code [default=yes] - --enable-video-dga use DGA 2.0 video driver [default=yes] - --enable-video-x11-dgamouse - use X11 DGA for mouse events [default=yes] - --enable-video-x11-vm use X11 VM extension for fullscreen [default=yes] - --enable-video-x11-xv use X11 XvImage extension for video [default=yes] - --enable-video-x11-xinerama - enable X11 Xinerama support [default=yes] - --enable-video-x11-xme enable Xi Graphics XME for fullscreen - [default=yes] - --enable-video-x11-xrandr - enable X11 Xrandr extension for fullscreen - [default=yes] - --enable-video-photon use QNX Photon video driver [default=yes] - --enable-video-carbon use Carbon/QuickDraw video driver [default=no] - --enable-video-cocoa use Cocoa/Quartz video driver [default=yes] - --enable-video-fbcon use framebuffer console video driver [default=yes] - --enable-video-directfb use DirectFB video driver [default=yes] - --enable-video-ps2gs use PlayStation 2 GS video driver [default=yes] - --enable-video-ps3 use PlayStation 3 Cell driver [default=yes] - --enable-video-ggi use GGI video driver [default=no] - --enable-video-svga use SVGAlib video driver [default=yes] - --enable-video-vgl use VGL video driver [default=yes] - --enable-video-wscons use wscons video driver [default=yes] - --enable-video-aalib use AAlib video driver [default=no] - --enable-video-caca use libcaca video driver [default=no] - --enable-video-qtopia use Qtopia video driver [default=no] - --enable-video-picogui use PicoGUI video driver [default=no] - --enable-video-xbios use Atari Xbios video driver [default=yes] - --enable-video-gem use Atari Gem video driver [default=yes] - --enable-video-dummy use dummy video driver [default=yes] - --enable-video-opengl include OpenGL context creation [default=yes] - --enable-osmesa-shared dynamically load OSMesa OpenGL support - [default=yes] - --enable-screensaver enable screensaver by default while any SDL - application is running [default=no] - --enable-input-events use Linux 2.4 unified input interface - [default=yes] - --enable-input-tslib use the Touchscreen library for input - [default=yes] - --enable-pth use GNU pth library for multi-threading - [default=yes] - --enable-pthreads use POSIX threads for multi-threading - [default=yes] - --enable-pthread-sem use pthread semaphores [default=yes] - --enable-stdio-redirect Redirect STDIO to files on Win32 [default=yes] - --enable-directx use DirectX for Win32 audio/video [default=yes] - --enable-sdl-dlopen use dlopen for shared object loading [default=yes] - --enable-atari-ldg use Atari LDG for shared object loading - [default=yes] - --enable-clock_gettime use clock_gettime() instead of gettimeofday() on - UNIX [default=no] - --enable-rpath use an rpath when linking SDL [default=yes] - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-pic try to use only PIC/non-PIC objects [default=use - both] - --with-gnu-ld assume the C compiler uses GNU ld [default=no] - --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional) - --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional) - --with-esd-prefix=PFX Prefix where ESD is installed (optional) - --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional) - --with-x use the X Window System - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CPP C preprocessor - CXX C++ compiler command - CXXFLAGS C++ compiler flags - CXXCPP C++ preprocessor - XMKMF Path to xmkmf, Makefile generator for X Window System - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.63 - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.63. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" -done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test -r "$ac_site_file"; then - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - - - - - - - - - - - - - - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -ac_config_headers="$ac_config_headers include/SDL_config.h" - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { (ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi - -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -if test -z "$ac_file"; then - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } -fi - -ac_exeext=$ac_cv_exeext - -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - fi - fi -fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -rm -f conftest$ac_cv_exeext -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:$LINENO: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_header_stdc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdc=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - - if test "${ac_cv_header_minix_config_h+set}" = set; then - { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 -$as_echo_n "checking for minix/config.h... " >&6; } -if test "${ac_cv_header_minix_config_h+set}" = set; then - $as_echo_n "(cached) " >&6 -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 -$as_echo "$ac_cv_header_minix_config_h" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5 -$as_echo_n "checking minix/config.h usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5 -$as_echo_n "checking minix/config.h presence... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 -$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 -$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5 -$as_echo_n "checking for minix/config.h... " >&6; } -if test "${ac_cv_header_minix_config_h+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_header_minix_config_h=$ac_header_preproc -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 -$as_echo "$ac_cv_header_minix_config_h" >&6; } - -fi -if test "x$ac_cv_header_minix_config_h" = x""yes; then - MINIX=yes -else - MINIX= -fi - - - if test "$MINIX" = yes; then - -cat >>confdefs.h <<\_ACEOF -#define _POSIX_SOURCE 1 -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define _POSIX_1_SOURCE 2 -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define _MINIX 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 -$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -if test "${ac_cv_safe_to_define___extensions__+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -# define __EXTENSIONS__ 1 - $ac_includes_default -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_safe_to_define___extensions__=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_safe_to_define___extensions__=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 -$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } - test $ac_cv_safe_to_define___extensions__ = yes && - cat >>confdefs.h <<\_ACEOF -#define __EXTENSIONS__ 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define _ALL_SOURCE 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define _GNU_SOURCE 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define _POSIX_PTHREAD_SEMANTICS 1 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define _TANDEM_SOURCE 1 -_ACEOF - - -ac_aux_dir= -for ac_dir in $srcdir/build-scripts; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&5 -$as_echo "$as_me: error: cannot find install-sh or install.sh in $srcdir/build-scripts" >&2;} - { (exit 1); exit 1; }; } -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - - -# -# Making releases: -# Edit include/SDL/SDL_version.h and change the version, then: -# SDL_MICRO_VERSION += 1; -# SDL_INTERFACE_AGE += 1; -# SDL_BINARY_AGE += 1; -# if any functions have been added, set SDL_INTERFACE_AGE to 0. -# if backwards compatibility has been broken, -# set SDL_BINARY_AGE and SDL_INTERFACE_AGE to 0. -# -SDL_MAJOR_VERSION=1 -SDL_MINOR_VERSION=2 -SDL_MICRO_VERSION=14 -SDL_INTERFACE_AGE=3 -SDL_BINARY_AGE=14 -SDL_VERSION=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION.$SDL_MICRO_VERSION - - - - - - - - -# libtool versioning -case `pwd` in - *\ * | *\ *) - { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -esac - - - -macro_version='2.2.6' -macro_revision='1.3012' - - - - - - - - - - - - - -ltmain="$ac_aux_dir/ltmain.sh" - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 -$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} - { (exit 1); exit 1; }; } - -{ $as_echo "$as_me:$LINENO: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 -$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} - { (exit 1); exit 1; }; } -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} - { (exit 1); exit 1; }; } - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 -$as_echo "$as_me: error: invalid value of canonical build" >&2;} - { (exit 1); exit 1; }; };; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_build -shift -build_cpu=$1 -build_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -build_os=$* -IFS=$ac_save_IFS -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:$LINENO: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "x$host_alias" = x; then - ac_cv_host=$ac_cv_build -else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 -$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} - { (exit 1); exit 1; }; } -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } -case $ac_cv_host in -*-*-*) ;; -*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 -$as_echo "$as_me: error: invalid value of canonical host" >&2;} - { (exit 1); exit 1; }; };; -esac -host=$ac_cv_host -ac_save_IFS=$IFS; IFS='-' -set x $ac_cv_host -shift -host_cpu=$1 -host_vendor=$2 -shift; shift -# Remember, the first character of IFS is used to create $*, -# except with old shells: -host_os=$* -IFS=$ac_save_IFS -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac - - -{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 -$as_echo_n "checking for a sed that does not truncate output... " >&6; } -if test "${ac_cv_path_SED+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ - for ac_i in 1 2 3 4 5 6 7; do - ac_script="$ac_script$as_nl$ac_script" - done - echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - $as_unset ac_script || ac_script= - if test -z "$SED"; then - ac_path_SED_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue -# Check for GNU ac_path_SED and select it if it is found. - # Check for GNU $ac_path_SED -case `"$ac_path_SED" --version 2>&1` in -*GNU*) - ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo '' >> "conftest.nl" - "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_SED_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_SED="$ac_path_SED" - ac_path_SED_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_SED_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_SED"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 -$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_SED=$SED -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 -$as_echo "$ac_cv_path_SED" >&6; } - SED="$ac_cv_path_SED" - rm -f conftest.sed - -test -z "$SED" && SED=sed -Xsed="$SED -e 1s/^X//" - - - - - - - - - - - -{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 -$as_echo_n "checking for fgrep... " >&6; } -if test "${ac_cv_path_FGREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 - then ac_cv_path_FGREP="$GREP -F" - else - if test -z "$FGREP"; then - ac_path_FGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in fgrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue -# Check for GNU ac_path_FGREP and select it if it is found. - # Check for GNU $ac_path_FGREP -case `"$ac_path_FGREP" --version 2>&1` in -*GNU*) - ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'FGREP' >> "conftest.nl" - "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_FGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_FGREP="$ac_path_FGREP" - ac_path_FGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_FGREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_FGREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_FGREP=$FGREP -fi - - fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 -$as_echo "$ac_cv_path_FGREP" >&6; } - FGREP="$ac_cv_path_FGREP" - - -test -z "$GREP" && GREP=grep - - - - - - - - - - - - - - - - - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if test "${lt_cv_path_LD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - - - -{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 -$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if test "${lt_cv_path_NM+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$NM"; then - # Let the user override the test. - lt_cv_path_NM="$NM" -else - lt_nm_to_check="${ac_tool_prefix}nm" - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then - lt_nm_to_check="$lt_nm_to_check nm" - fi - for lt_tmp_nm in $lt_nm_to_check; do - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - tmp_nm="$ac_dir/$lt_tmp_nm" - if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then - # Check to see if the nm accepts a BSD-compat flag. - # Adding the `sed 1q' prevents false positives on HP-UX, which says: - # nm: unknown option "B" ignored - # Tru64's nm complains that /dev/null is an invalid object file - case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in - */dev/null* | *'Invalid file or object type'*) - lt_cv_path_NM="$tmp_nm -B" - break - ;; - *) - case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in - */dev/null*) - lt_cv_path_NM="$tmp_nm -p" - break - ;; - *) - lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but - continue # so that we can try to find one that supports BSD flags - ;; - esac - ;; - esac - fi - done - IFS="$lt_save_ifs" - done - : ${lt_cv_path_NM=no} -fi -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 -$as_echo "$lt_cv_path_NM" >&6; } -if test "$lt_cv_path_NM" != "no"; then - NM="$lt_cv_path_NM" -else - # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$ac_tool_prefix"; then - for ac_prog in "dumpbin -symbols" "link -dump -symbols" - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DUMPBIN+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$DUMPBIN"; then - ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DUMPBIN=$ac_cv_prog_DUMPBIN -if test -n "$DUMPBIN"; then - { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 -$as_echo "$DUMPBIN" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$DUMPBIN" && break - done -fi -if test -z "$DUMPBIN"; then - ac_ct_DUMPBIN=$DUMPBIN - for ac_prog in "dumpbin -symbols" "link -dump -symbols" -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DUMPBIN"; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN -if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 -$as_echo "$ac_ct_DUMPBIN" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_DUMPBIN" && break -done - - if test "x$ac_ct_DUMPBIN" = x; then - DUMPBIN=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DUMPBIN=$ac_ct_DUMPBIN - fi -fi - - - if test "$DUMPBIN" != ":"; then - NM="$DUMPBIN" - fi -fi -test -z "$NM" && NM=nm - - - - - - -{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 -$as_echo_n "checking the name lister ($NM) interface... " >&6; } -if test "${lt_cv_nm_interface+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:4632: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 - (eval echo "\"\$as_me:4635: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 - (eval echo "\"\$as_me:4638: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" - fi - rm -f conftest* -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 -$as_echo "$lt_cv_nm_interface" >&6; } - -{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } -LN_S=$as_ln_s -if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } -fi - -# find the maximum length of command line arguments -{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 -$as_echo_n "checking the maximum length of command line arguments... " >&6; } -if test "${lt_cv_sys_max_cmd_len+set}" = set; then - $as_echo_n "(cached) " >&6 -else - i=0 - teststring="ABCD" - - case $build_os in - msdosdjgpp*) - # On DJGPP, this test can blow up pretty badly due to problems in libc - # (any single argument exceeding 2000 bytes causes a buffer overrun - # during glob expansion). Even if it were fixed, the result of this - # check would be larger than it should be. - lt_cv_sys_max_cmd_len=12288; # 12K is about right - ;; - - gnu*) - # Under GNU Hurd, this test is not required because there is - # no limit to the length of command line arguments. - # Libtool will interpret -1 as no limit whatsoever - lt_cv_sys_max_cmd_len=-1; - ;; - - cygwin* | mingw* | cegcc*) - # On Win9x/ME, this test blows up -- it succeeds, but takes - # about 5 minutes as the teststring grows exponentially. - # Worse, since 9x/ME are not pre-emptively multitasking, - # you end up with a "frozen" computer, even though with patience - # the test eventually succeeds (with a max line length of 256k). - # Instead, let's just punt: use the minimum linelength reported by - # all of the supported platforms: 8192 (on NT/2K/XP). - lt_cv_sys_max_cmd_len=8192; - ;; - - beos*) - # On BeOS, this test takes a really really long time. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - amigaos*) - # On AmigaOS with pdksh, this test takes hours, literally. - # So we just punt and use a minimum line length of 8192. - lt_cv_sys_max_cmd_len=8192; - ;; - - netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) - # This has been around since 386BSD, at least. Likely further. - if test -x /sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` - elif test -x /usr/sbin/sysctl; then - lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` - else - lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs - fi - # And add a safety zone - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - ;; - - interix*) - # We know the value 262144 and hardcode it with a safety zone (like BSD) - lt_cv_sys_max_cmd_len=196608 - ;; - - osf*) - # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure - # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not - # nice to cause kernel panics so lets avoid the loop below. - # First set a reasonable default. - lt_cv_sys_max_cmd_len=16384 - # - if test -x /sbin/sysconfig; then - case `/sbin/sysconfig -q proc exec_disable_arg_limit` in - *1*) lt_cv_sys_max_cmd_len=-1 ;; - esac - fi - ;; - sco3.2v5*) - lt_cv_sys_max_cmd_len=102400 - ;; - sysv5* | sco5v6* | sysv4.2uw2*) - kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` - if test -n "$kargmax"; then - lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` - else - lt_cv_sys_max_cmd_len=32768 - fi - ;; - *) - lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` - else - # Make teststring a little bigger before we do anything with it. - # a 1K string should be a reasonable start. - for i in 1 2 3 4 5 6 7 8 ; do - teststring=$teststring$teststring - done - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} - # If test is not a shell built-in, we'll probably end up computing a - # maximum length that is only half of the actual maximum length, but - # we can't tell. - while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && - test $i != 17 # 1/2 MB should be enough - do - i=`expr $i + 1` - teststring=$teststring$teststring - done - # Only check the string length outside the loop. - lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` - teststring= - # Add a significant safety factor because C++ compilers can tack on - # massive amounts of additional arguments before passing them to the - # linker. It appears as though 1/2 is a usable value. - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` - fi - ;; - esac - -fi - -if test -n $lt_cv_sys_max_cmd_len ; then - { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 -$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -else - { $as_echo "$as_me:$LINENO: result: none" >&5 -$as_echo "none" >&6; } -fi -max_cmd_len=$lt_cv_sys_max_cmd_len - - - - - - -: ${CP="cp -f"} -: ${MV="mv -f"} -: ${RM="rm -f"} - -{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 -$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } -# Try some XSI features -xsi_shell=no -( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ - && eval 'test $(( 1 + 1 )) -eq 2 \ - && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ - && xsi_shell=yes -{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 -$as_echo "$xsi_shell" >&6; } - - -{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 -$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } -lt_shell_append=no -( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ - >/dev/null 2>&1 \ - && lt_shell_append=yes -{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 -$as_echo "$lt_shell_append" >&6; } - - -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - lt_unset=unset -else - lt_unset=false -fi - - - - - -# test EBCDIC or ASCII -case `echo X|tr X '\101'` in - A) # ASCII based system - # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr - lt_SP2NL='tr \040 \012' - lt_NL2SP='tr \015\012 \040\040' - ;; - *) # EBCDIC based system - lt_SP2NL='tr \100 \n' - lt_NL2SP='tr \r\n \100\100' - ;; -esac - - - - - - - - - -{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 -$as_echo_n "checking for $LD option to reload object files... " >&6; } -if test "${lt_cv_ld_reload_flag+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_reload_flag='-r' -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 -$as_echo "$lt_cv_ld_reload_flag" >&6; } -reload_flag=$lt_cv_ld_reload_flag -case $reload_flag in -"" | " "*) ;; -*) reload_flag=" $reload_flag" ;; -esac -reload_cmds='$LD$reload_flag -o $output$reload_objs' -case $host_os in - darwin*) - if test "$GCC" = yes; then - reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' - else - reload_cmds='$LD$reload_flag -o $output$reload_objs' - fi - ;; -esac - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OBJDUMP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OBJDUMP=$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OBJDUMP" = x; then - OBJDUMP="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OBJDUMP=$ac_ct_OBJDUMP - fi -else - OBJDUMP="$ac_cv_prog_OBJDUMP" -fi - -test -z "$OBJDUMP" && OBJDUMP=objdump - - - - - - -{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 -$as_echo_n "checking how to recognize dependent libraries... " >&6; } -if test "${lt_cv_deplibs_check_method+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_file_magic_cmd='$MAGIC_CMD' -lt_cv_file_magic_test_file= -lt_cv_deplibs_check_method='unknown' -# Need to set the preceding variable on all platforms that support -# interlibrary dependencies. -# 'none' -- dependencies not supported. -# `unknown' -- same as none, but documents that we really don't know. -# 'pass_all' -- all dependencies passed with no checks. -# 'test_compile' -- check by making test program. -# 'file_magic [[regex]]' -- check by looking for files in library path -# which responds to the $file_magic_cmd with a given extended regex. -# If you have `file' or equivalent on your system and you're not sure -# whether `pass_all' will *always* work, you probably want this one. - -case $host_os in -aix[4-9]*) - lt_cv_deplibs_check_method=pass_all - ;; - -beos*) - lt_cv_deplibs_check_method=pass_all - ;; - -bsdi[45]*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' - lt_cv_file_magic_cmd='/usr/bin/file -L' - lt_cv_file_magic_test_file=/shlib/libc.so - ;; - -cygwin*) - # func_win32_libid is a shell function defined in ltmain.sh - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_deplibs_check_method=pass_all - lt_cv_file_magic_cmd='func_win32_libid' - ;; - -mingw* | pw32*) - # Base MSYS/MinGW do not provide the 'file' command needed by - # func_win32_libid shell function, so use a weaker test based on 'objdump', - # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then - lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' - lt_cv_file_magic_cmd='func_win32_libid' - else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - fi - lt_cv_deplibs_check_method=pass_all - ;; - -cegcc) - # use the weaker test based on 'objdump'. See mingw*. - lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' - lt_cv_file_magic_cmd='$OBJDUMP -f' - ;; - -darwin* | rhapsody*) - lt_cv_deplibs_check_method=pass_all - ;; - -freebsd* | dragonfly*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - case $host_cpu in - i*86 ) - # Not sure whether the presence of OpenBSD here was a mistake. - # Let's accept both of them until this is cleared up. - lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` - ;; - esac - else - lt_cv_deplibs_check_method=pass_all - fi - ;; - -gnu*) - lt_cv_deplibs_check_method=pass_all - ;; - -hpux10.20* | hpux11*) - lt_cv_file_magic_cmd=/usr/bin/file - case $host_cpu in - ia64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' - lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so - ;; - hppa*64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' - lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl - ;; - *) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' - lt_cv_file_magic_test_file=/usr/lib/libc.sl - ;; - esac - ;; - -interix[3-9]*) - # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' - ;; - -irix5* | irix6* | nonstopux*) - case $LD in - *-32|*"-32 ") libmagic=32-bit;; - *-n32|*"-n32 ") libmagic=N32;; - *-64|*"-64 ") libmagic=64-bit;; - *) libmagic=never-match;; - esac - lt_cv_deplibs_check_method=pass_all - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - lt_cv_deplibs_check_method=pass_all - ;; - -netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' - fi - ;; - -newos6*) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libnls.so - ;; - -*nto* | *qnx*) - lt_cv_deplibs_check_method=pass_all - ;; - -openbsd*) - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' - else - lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' - fi - ;; - -osf3* | osf4* | osf5*) - lt_cv_deplibs_check_method=pass_all - ;; - -rdos*) - lt_cv_deplibs_check_method=pass_all - ;; - -solaris*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - lt_cv_deplibs_check_method=pass_all - ;; - -sysv4 | sysv4.3*) - case $host_vendor in - motorola) - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' - lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` - ;; - ncr) - lt_cv_deplibs_check_method=pass_all - ;; - sequent) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' - ;; - sni) - lt_cv_file_magic_cmd='/bin/file' - lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" - lt_cv_file_magic_test_file=/lib/libc.so - ;; - siemens) - lt_cv_deplibs_check_method=pass_all - ;; - pc) - lt_cv_deplibs_check_method=pass_all - ;; - esac - ;; - -tpf*) - lt_cv_deplibs_check_method=pass_all - ;; -esac - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 -$as_echo "$lt_cv_deplibs_check_method" >&6; } -file_magic_cmd=$lt_cv_file_magic_cmd -deplibs_check_method=$lt_cv_deplibs_check_method -test -z "$deplibs_check_method" && deplibs_check_method=unknown - - - - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. -set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AR+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AR="${ac_tool_prefix}ar" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:$LINENO: result: $AR" >&5 -$as_echo "$AR" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AR"; then - ac_ct_AR=$AR - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AR="ar" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_AR=$ac_cv_prog_ac_ct_AR -if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AR" = x; then - AR="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AR=$ac_ct_AR - fi -else - AR="$ac_cv_prog_AR" -fi - -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru - - - - - - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -STRIP=$ac_cv_prog_STRIP -if test -n "$STRIP"; then - { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_STRIP"; then - ac_ct_STRIP=$STRIP - # Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_STRIP"; then - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_STRIP" = x; then - STRIP=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - STRIP=$ac_ct_STRIP - fi -else - STRIP="$ac_cv_prog_STRIP" -fi - -test -z "$STRIP" && STRIP=: - - - - - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -RANLIB=$ac_cv_prog_RANLIB -if test -n "$RANLIB"; then - { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_RANLIB"; then - ac_ct_RANLIB=$RANLIB - # Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RANLIB"; then - ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_RANLIB" = x; then - RANLIB=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RANLIB=$ac_ct_RANLIB - fi -else - RANLIB="$ac_cv_prog_RANLIB" -fi - -test -z "$RANLIB" && RANLIB=: - - - - - - -# Determine commands to create old-style static archives. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -old_postinstall_cmds='chmod 644 $oldlib' -old_postuninstall_cmds= - -if test -n "$RANLIB"; then - case $host_os in - openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" - ;; - *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" - ;; - esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - -# Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 -$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then - $as_echo_n "(cached) " >&6 -else - -# These are sane defaults that work on at least a few old systems. -# [They come from Ultrix. What could be older than Ultrix?!! ;)] - -# Character class describing NM global symbol codes. -symcode='[BCDEGRST]' - -# Regexp to match symbols that can be accessed directly from C. -sympat='\([_A-Za-z][_A-Za-z0-9]*\)' - -# Define system-specific variables. -case $host_os in -aix*) - symcode='[BCDT]' - ;; -cygwin* | mingw* | pw32* | cegcc*) - symcode='[ABCDGISTW]' - ;; -hpux*) - if test "$host_cpu" = ia64; then - symcode='[ABCDEGRST]' - fi - ;; -irix* | nonstopux*) - symcode='[BCDEGRST]' - ;; -osf*) - symcode='[BCDEGQRST]' - ;; -solaris*) - symcode='[BDRT]' - ;; -sco3.2v5*) - symcode='[DT]' - ;; -sysv4.2uw2*) - symcode='[DT]' - ;; -sysv5* | sco5v6* | unixware* | OpenUNIX*) - symcode='[ABDT]' - ;; -sysv4) - symcode='[DFNSTU]' - ;; -esac - -# If we're using GNU nm, then use its standard symbol codes. -case `$NM -V 2>&1` in -*GNU* | *'with BFD'*) - symcode='[ABCDGIRSTW]' ;; -esac - -# Transform an extracted symbol line into a proper C declaration. -# Some systems (esp. on ia64) link data and code symbols differently, -# so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" - -# Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" - -# Handle CRLF in mingw tool chain -opt_cr= -case $build_os in -mingw*) - opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp - ;; -esac - -# Try without a prefix underscore, then with it. -for ac_symprfx in "" "_"; do - - # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. - symxfrm="\\1 $ac_symprfx\\2 \\2" - - # Write the raw and C identifiers. - if test "$lt_cv_nm_interface" = "MS dumpbin"; then - # Fake it for dumpbin and say T for any non-static function - # and D for any global variable. - # Also find C++ and __fastcall symbols from MSVC++, - # which start with @ or ?. - lt_cv_sys_global_symbol_pipe="$AWK '"\ -" {last_section=section; section=\$ 3};"\ -" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -" \$ 0!~/External *\|/{next};"\ -" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -" {if(hide[section]) next};"\ -" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -" ' prfx=^$ac_symprfx" - else - lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" - fi - - # Check to see that the pipe works correctly. - pipe_works=no - - rm -f conftest* - cat > conftest.$ac_ext <<_LT_EOF -#ifdef __cplusplus -extern "C" { -#endif -char nm_test_var; -void nm_test_func(void); -void nm_test_func(void){} -#ifdef __cplusplus -} -#endif -int main(){nm_test_var='a';nm_test_func();return(0);} -_LT_EOF - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Now try to grab the symbols. - nlist=conftest.nm - if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s "$nlist"; then - # Try sorting and uniquifying the output. - if sort "$nlist" | uniq > "$nlist"T; then - mv -f "$nlist"T "$nlist" - else - rm -f "$nlist"T - fi - - # Make sure that we snagged all the symbols we need. - if $GREP ' nm_test_var$' "$nlist" >/dev/null; then - if $GREP ' nm_test_func$' "$nlist" >/dev/null; then - cat <<_LT_EOF > conftest.$ac_ext -#ifdef __cplusplus -extern "C" { -#endif - -_LT_EOF - # Now generate the symbol file. - eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' - - cat <<_LT_EOF >> conftest.$ac_ext - -/* The mapping between symbol names and symbols. */ -const struct { - const char *name; - void *address; -} -lt__PROGRAM__LTX_preloaded_symbols[] = -{ - { "@PROGRAM@", (void *) 0 }, -_LT_EOF - $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext - cat <<\_LT_EOF >> conftest.$ac_ext - {0, (void *) 0} -}; - -/* This works around a problem in FreeBSD linker */ -#ifdef FREEBSD_WORKAROUND -static const void *lt_preloaded_setup() { - return lt__PROGRAM__LTX_preloaded_symbols; -} -#endif - -#ifdef __cplusplus -} -#endif -_LT_EOF - # Now try linking the two files. - mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" - LIBS="conftstm.$ac_objext" - CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext}; then - pipe_works=yes - fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" - else - echo "cannot find nm_test_func in $nlist" >&5 - fi - else - echo "cannot find nm_test_var in $nlist" >&5 - fi - else - echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 - fi - else - echo "$progname: failed program was:" >&5 - cat conftest.$ac_ext >&5 - fi - rm -rf conftest* conftst* - - # Do not use the global_symbol_pipe unless it works. - if test "$pipe_works" = yes; then - break - else - lt_cv_sys_global_symbol_pipe= - fi -done - -fi - -if test -z "$lt_cv_sys_global_symbol_pipe"; then - lt_cv_sys_global_symbol_to_cdecl= -fi -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { $as_echo "$as_me:$LINENO: result: failed" >&5 -$as_echo "failed" >&6; } -else - { $as_echo "$as_me:$LINENO: result: ok" >&5 -$as_echo "ok" >&6; } -fi - - - - - - - - - - - - - - - - - - - - - - -# Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then - enableval=$enable_libtool_lock; -fi - -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes - -# Some flags need to be propagated to the compiler or linker for good -# libtool support. -case $host in -ia64-*-hpux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.$ac_objext` in - *ELF-32*) - HPUX_IA64_MODE="32" - ;; - *ELF-64*) - HPUX_IA64_MODE="64" - ;; - esac - fi - rm -rf conftest* - ;; -*-*-irix6*) - # Find out which ABI we are using. - echo '#line 5848 "configure"' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - if test "$lt_cv_prog_gnu_ld" = yes; then - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -melf32bsmip" - ;; - *N32*) - LD="${LD-ld} -melf32bmipn32" - ;; - *64-bit*) - LD="${LD-ld} -melf64bmip" - ;; - esac - else - case `/usr/bin/file conftest.$ac_objext` in - *32-bit*) - LD="${LD-ld} -32" - ;; - *N32*) - LD="${LD-ld} -n32" - ;; - *64-bit*) - LD="${LD-ld} -64" - ;; - esac - fi - fi - rm -rf conftest* - ;; - -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -s390*-*linux*|s390*-*tpf*|sparc*-*linux*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.o` in - *32-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_i386_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_i386" - ;; - ppc64-*linux*|powerpc64-*linux*) - LD="${LD-ld} -m elf32ppclinux" - ;; - s390x-*linux*) - LD="${LD-ld} -m elf_s390" - ;; - sparc64-*linux*) - LD="${LD-ld} -m elf32_sparc" - ;; - esac - ;; - *64-bit*) - case $host in - x86_64-*kfreebsd*-gnu) - LD="${LD-ld} -m elf_x86_64_fbsd" - ;; - x86_64-*linux*) - LD="${LD-ld} -m elf_x86_64" - ;; - ppc*-*linux*|powerpc*-*linux*) - LD="${LD-ld} -m elf64ppc" - ;; - s390*-*linux*|s390*-*tpf*) - LD="${LD-ld} -m elf64_s390" - ;; - sparc*-*linux*) - LD="${LD-ld} -m elf64_sparc" - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; - -*-*-sco3.2v5*) - # On SCO OpenServer 5, we need -belf to get full-featured binaries. - SAVE_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -belf" - { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 -$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if test "${lt_cv_cc_needs_belf+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - lt_cv_cc_needs_belf=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_cc_needs_belf=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 -$as_echo "$lt_cv_cc_needs_belf" >&6; } - if test x"$lt_cv_cc_needs_belf" != x"yes"; then - # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf - CFLAGS="$SAVE_CFLAGS" - fi - ;; -sparc*-*solaris*) - # Find out which ABI we are using. - echo 'int i;' > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - case `/usr/bin/file conftest.o` in - *64-bit*) - case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; - *) - if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then - LD="${LD-ld} -64" - fi - ;; - esac - ;; - esac - fi - rm -rf conftest* - ;; -esac - -need_locks="$enable_libtool_lock" - - - case $host_os in - rhapsody* | darwin*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$DSYMUTIL"; then - ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DSYMUTIL=$ac_cv_prog_DSYMUTIL -if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 -$as_echo "$DSYMUTIL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DSYMUTIL"; then - ac_ct_DSYMUTIL=$DSYMUTIL - # Extract the first word of "dsymutil", so it can be a program name with args. -set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DSYMUTIL"; then - ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 -$as_echo "$ac_ct_DSYMUTIL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DSYMUTIL" = x; then - DSYMUTIL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DSYMUTIL=$ac_ct_DSYMUTIL - fi -else - DSYMUTIL="$ac_cv_prog_DSYMUTIL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_NMEDIT+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$NMEDIT"; then - ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -NMEDIT=$ac_cv_prog_NMEDIT -if test -n "$NMEDIT"; then - { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 -$as_echo "$NMEDIT" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_NMEDIT"; then - ac_ct_NMEDIT=$NMEDIT - # Extract the first word of "nmedit", so it can be a program name with args. -set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_NMEDIT"; then - ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 -$as_echo "$ac_ct_NMEDIT" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_NMEDIT" = x; then - NMEDIT=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - NMEDIT=$ac_ct_NMEDIT - fi -else - NMEDIT="$ac_cv_prog_NMEDIT" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. -set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_LIPO+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$LIPO"; then - ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -LIPO=$ac_cv_prog_LIPO -if test -n "$LIPO"; then - { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 -$as_echo "$LIPO" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_LIPO"; then - ac_ct_LIPO=$LIPO - # Extract the first word of "lipo", so it can be a program name with args. -set dummy lipo; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_LIPO"; then - ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_LIPO="lipo" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO -if test -n "$ac_ct_LIPO"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 -$as_echo "$ac_ct_LIPO" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_LIPO" = x; then - LIPO=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - LIPO=$ac_ct_LIPO - fi -else - LIPO="$ac_cv_prog_LIPO" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL"; then - ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OTOOL=$ac_cv_prog_OTOOL -if test -n "$OTOOL"; then - { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 -$as_echo "$OTOOL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL"; then - ac_ct_OTOOL=$OTOOL - # Extract the first word of "otool", so it can be a program name with args. -set dummy otool; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL"; then - ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OTOOL="otool" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL -if test -n "$ac_ct_OTOOL"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 -$as_echo "$ac_ct_OTOOL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL" = x; then - OTOOL=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL=$ac_ct_OTOOL - fi -else - OTOOL="$ac_cv_prog_OTOOL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. -set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL64+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$OTOOL64"; then - ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OTOOL64=$ac_cv_prog_OTOOL64 -if test -n "$OTOOL64"; then - { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 -$as_echo "$OTOOL64" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OTOOL64"; then - ac_ct_OTOOL64=$OTOOL64 - # Extract the first word of "otool64", so it can be a program name with args. -set dummy otool64; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OTOOL64"; then - ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OTOOL64="otool64" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 -if test -n "$ac_ct_OTOOL64"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 -$as_echo "$ac_ct_OTOOL64" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OTOOL64" = x; then - OTOOL64=":" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OTOOL64=$ac_ct_OTOOL64 - fi -else - OTOOL64="$ac_cv_prog_OTOOL64" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 -$as_echo_n "checking for -single_module linker flag... " >&6; } -if test "${lt_cv_apple_cc_single_mod+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_apple_cc_single_mod=no - if test -z "${LT_MULTI_MODULE}"; then - # By default we will add the -single_module flag. You can override - # by either setting the environment variable LT_MULTI_MODULE - # non-empty at configure time, or by adding -multi_module to the - # link flags. - rm -rf libconftest.dylib* - echo "int foo(void){return 1;}" > conftest.c - echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ --dynamiclib -Wl,-single_module conftest.c" >&5 - $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ - -dynamiclib -Wl,-single_module conftest.c 2>conftest.err - _lt_result=$? - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then - lt_cv_apple_cc_single_mod=yes - else - cat conftest.err >&5 - fi - rm -rf libconftest.dylib* - rm -f conftest.* - fi -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 -$as_echo "$lt_cv_apple_cc_single_mod" >&6; } - { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 -$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_ld_exported_symbols_list=no - save_LDFLAGS=$LDFLAGS - echo "_main" > conftest.sym - LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - lt_cv_ld_exported_symbols_list=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - lt_cv_ld_exported_symbols_list=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 -$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } - case $host_os in - rhapsody* | darwin1.[012]) - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; - darwin1.*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - darwin*) # darwin 5.x on - # if running on 10.5 or later, the deployment target defaults - # to the OS version, if on x86, and 10.4, the deployment - # target defaults to 10.4. Don't you love it? - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in - 10.0,*86*-darwin8*|10.0,*-darwin[91]*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[012]*) - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; - 10.*) - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - esac - ;; - esac - if test "$lt_cv_apple_cc_single_mod" = "yes"; then - _lt_dar_single_mod='$single_module' - fi - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' - else - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' - fi - if test "$DSYMUTIL" != ":"; then - _lt_dsymutil='~$DSYMUTIL $lib || :' - else - _lt_dsymutil= - fi - ;; - esac - - -for ac_header in dlfcn.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - -# Set options -enable_win32_dll=yes - -case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. -set dummy ${ac_tool_prefix}as; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AS+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$AS"; then - ac_cv_prog_AS="$AS" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AS="${ac_tool_prefix}as" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -AS=$ac_cv_prog_AS -if test -n "$AS"; then - { $as_echo "$as_me:$LINENO: result: $AS" >&5 -$as_echo "$AS" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_AS"; then - ac_ct_AS=$AS - # Extract the first word of "as", so it can be a program name with args. -set dummy as; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AS+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_AS"; then - ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AS="as" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_AS=$ac_cv_prog_ac_ct_AS -if test -n "$ac_ct_AS"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 -$as_echo "$ac_ct_AS" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_AS" = x; then - AS="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - AS=$ac_ct_AS - fi -else - AS="$ac_cv_prog_AS" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DLLTOOL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$DLLTOOL"; then - ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -DLLTOOL=$ac_cv_prog_DLLTOOL -if test -n "$DLLTOOL"; then - { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 -$as_echo "$DLLTOOL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_DLLTOOL"; then - ac_ct_DLLTOOL=$DLLTOOL - # Extract the first word of "dlltool", so it can be a program name with args. -set dummy dlltool; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_DLLTOOL"; then - ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_DLLTOOL="dlltool" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -if test -n "$ac_ct_DLLTOOL"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 -$as_echo "$ac_ct_DLLTOOL" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_DLLTOOL" = x; then - DLLTOOL="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - DLLTOOL=$ac_ct_DLLTOOL - fi -else - DLLTOOL="$ac_cv_prog_DLLTOOL" -fi - - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OBJDUMP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$OBJDUMP"; then - ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -OBJDUMP=$ac_cv_prog_OBJDUMP -if test -n "$OBJDUMP"; then - { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 -$as_echo "$OBJDUMP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_OBJDUMP"; then - ac_ct_OBJDUMP=$OBJDUMP - # Extract the first word of "objdump", so it can be a program name with args. -set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_OBJDUMP"; then - ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 -$as_echo "$ac_ct_OBJDUMP" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_OBJDUMP" = x; then - OBJDUMP="false" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - OBJDUMP=$ac_ct_OBJDUMP - fi -else - OBJDUMP="$ac_cv_prog_OBJDUMP" -fi - - ;; -esac - -test -z "$AS" && AS=as - - - - - -test -z "$DLLTOOL" && DLLTOOL=dlltool - - - - - -test -z "$OBJDUMP" && OBJDUMP=objdump - - - - - - - - enable_dlopen=no - - - - # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then - enableval=$enable_shared; p=${PACKAGE-default} - case $enableval in - yes) enable_shared=yes ;; - no) enable_shared=no ;; - *) - enable_shared=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_shared=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_shared=yes -fi - - - - - - - - - - # Check whether --enable-static was given. -if test "${enable_static+set}" = set; then - enableval=$enable_static; p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_static=yes -fi - - - - - - - - - - -# Check whether --with-pic was given. -if test "${with_pic+set}" = set; then - withval=$with_pic; pic_mode="$withval" -else - pic_mode=default -fi - - -test -z "$pic_mode" && pic_mode=default - - - - - - - - # Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then - enableval=$enable_fast_install; p=${PACKAGE-default} - case $enableval in - yes) enable_fast_install=yes ;; - no) enable_fast_install=no ;; - *) - enable_fast_install=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," - for pkg in $enableval; do - IFS="$lt_save_ifs" - if test "X$pkg" = "X$p"; then - enable_fast_install=yes - fi - done - IFS="$lt_save_ifs" - ;; - esac -else - enable_fast_install=yes -fi - - - - - - - - - - - -# This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ltmain" - -# Always use our own libtool. -LIBTOOL='$(SHELL) $(top_builddir)/libtool' - - - - - - - - - - - - - - - - - - - - - - - - - -test -z "$LN_S" && LN_S="ln -s" - - - - - - - - - - - - - - -if test -n "${ZSH_VERSION+set}" ; then - setopt NO_GLOB_SUBST -fi - -{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 -$as_echo_n "checking for objdir... " >&6; } -if test "${lt_cv_objdir+set}" = set; then - $as_echo_n "(cached) " >&6 -else - rm -f .libs 2>/dev/null -mkdir .libs 2>/dev/null -if test -d .libs; then - lt_cv_objdir=.libs -else - # MS-DOS does not allow filenames that begin with a dot. - lt_cv_objdir=_libs -fi -rmdir .libs 2>/dev/null -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 -$as_echo "$lt_cv_objdir" >&6; } -objdir=$lt_cv_objdir - - - - - -cat >>confdefs.h <<_ACEOF -#define LT_OBJDIR "$lt_cv_objdir/" -_ACEOF - - - - - - - - - - - - - - - - - -case $host_os in -aix3*) - # AIX sometimes has problems with the GCC collect2 program. For some - # reason, if we set the COLLECT_NAMES environment variable, the problems - # vanish in a puff of smoke. - if test "X${COLLECT_NAMES+set}" != Xset; then - COLLECT_NAMES= - export COLLECT_NAMES - fi - ;; -esac - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - -# Global variables: -ofile=libtool -can_build_shared=yes - -# All known linkers require a `.a' archive for static linking (except MSVC, -# which needs '.lib'). -libext=a - -with_gnu_ld="$lt_cv_prog_gnu_ld" - -old_CC="$CC" -old_CFLAGS="$CFLAGS" - -# Set sane defaults for various variables -test -z "$CC" && CC=cc -test -z "$LTCC" && LTCC=$CC -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -test -z "$LD" && LD=ld -test -z "$ac_objext" && ac_objext=o - -for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - -# Only perform the check for file, if the check method requires it -test -z "$MAGIC_CMD" && MAGIC_CMD=file -case $deplibs_check_method in -file_magic*) - if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 -$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/${ac_tool_prefix}file; then - lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - - - -if test -z "$lt_cv_path_MAGIC_CMD"; then - if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:$LINENO: checking for file" >&5 -$as_echo_n "checking for file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $MAGIC_CMD in -[\\/*] | ?:[\\/]*) - lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. - ;; -*) - lt_save_MAGIC_CMD="$MAGIC_CMD" - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" - for ac_dir in $ac_dummy; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/file; then - lt_cv_path_MAGIC_CMD="$ac_dir/file" - if test -n "$file_magic_test_file"; then - case $deplibs_check_method in - "file_magic "*) - file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` - MAGIC_CMD="$lt_cv_path_MAGIC_CMD" - if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | - $EGREP "$file_magic_regex" > /dev/null; then - : - else - cat <<_LT_EOF 1>&2 - -*** Warning: the command libtool uses to detect shared libraries, -*** $file_magic_cmd, produces output that libtool cannot recognize. -*** The result is that libtool may fail to recognize shared libraries -*** as such. This will affect the creation of libtool libraries that -*** depend on shared libraries, but programs linked with such libtool -*** libraries will work regardless of this problem. Nevertheless, you -*** may want to report the problem to your system manager and/or to -*** bug-libtool@gnu.org - -_LT_EOF - fi ;; - esac - fi - break - fi - done - IFS="$lt_save_ifs" - MAGIC_CMD="$lt_save_MAGIC_CMD" - ;; -esac -fi - -MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 -$as_echo "$MAGIC_CMD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - else - MAGIC_CMD=: - fi -fi - - fi - ;; -esac - -# Use C for the default configuration in the libtool script - -lt_save_CC="$CC" -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# Source file extension for C test sources. -ac_ext=c - -# Object file extension for compiled C test sources. -objext=o -objext=$objext - -# Code to be used in simple compile tests -lt_simple_compile_test_code="int some_variable = 0;" - -# Code to be used in simple link tests -lt_simple_link_test_code='int main(){return(0);}' - - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - -# Save the default compiler, since it gets overwritten when the other -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -compiler_DEFAULT=$CC - -# save warnings/boilerplate of simple test code -ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - -ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - -## CAVEAT EMPTOR: -## There is no encapsulation within the following macros, do not change -## the running order or otherwise move them around unless you know exactly -## what you are doing... -if test -n "$compiler"; then - -lt_prog_compiler_no_builtin_flag= - -if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' - - { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_rtti_exceptions=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="-fno-rtti -fno-exceptions" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7515: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:7519: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_rtti_exceptions=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } - -if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then - lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -else - : -fi - -fi - - - - - - - lt_prog_compiler_wl= -lt_prog_compiler_pic= -lt_prog_compiler_static= - -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } - - if test "$GCC" = yes; then - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_static='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic='-fno-common' - ;; - - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - ;; - - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - - msdosdjgpp*) - # Just because we use GCC doesn't mean we suddenly get shared libraries - # on systems that don't support them. - lt_prog_compiler_can_build_shared=no - enable_shared=no - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic=-Kconform_pic - fi - ;; - - *) - lt_prog_compiler_pic='-fPIC' - ;; - esac - else - # PORTME Check for flag to pass linker flags through the system compiler. - case $host_os in - aix*) - lt_prog_compiler_wl='-Wl,' - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static='-Bstatic' - else - lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' - fi - ;; - - mingw* | cygwin* | pw32* | os2* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - lt_prog_compiler_pic='-DDLL_EXPORT' - ;; - - hpux9* | hpux10* | hpux11*) - lt_prog_compiler_wl='-Wl,' - # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but - # not for PA HP-UX. - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic='+Z' - ;; - esac - # Is there a better lt_prog_compiler_static that works with the bundled CC? - lt_prog_compiler_static='${wl}-a ${wl}archive' - ;; - - irix5* | irix6* | nonstopux*) - lt_prog_compiler_wl='-Wl,' - # PIC (with -KPIC) is the default. - lt_prog_compiler_static='-non_shared' - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - # old Intel for x86_64 which still supported -KPIC. - ecc*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-static' - ;; - # icc used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - icc* | ifort*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fPIC' - lt_prog_compiler_static='-static' - ;; - # Lahey Fortran 8.1. - lf95*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='--shared' - lt_prog_compiler_static='--static' - ;; - pgcc* | pgf77* | pgf90* | pgf95*) - # Portland Group compilers (*not* the Pentium gcc compiler, - # which looks to be a dead project) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-fpic' - lt_prog_compiler_static='-Bstatic' - ;; - ccc*) - lt_prog_compiler_wl='-Wl,' - # All Alpha code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-qpic' - lt_prog_compiler_static='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C 5.9 - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='-Wl,' - ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' - ;; - esac - ;; - esac - ;; - - newsos6) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - *nto* | *qnx*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic='-fPIC -shared' - ;; - - osf3* | osf4* | osf5*) - lt_prog_compiler_wl='-Wl,' - # All OSF/1 code is PIC. - lt_prog_compiler_static='-non_shared' - ;; - - rdos*) - lt_prog_compiler_static='-non_shared' - ;; - - solaris*) - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - case $cc_basename in - f77* | f90* | f95*) - lt_prog_compiler_wl='-Qoption ld ';; - *) - lt_prog_compiler_wl='-Wl,';; - esac - ;; - - sunos4*) - lt_prog_compiler_wl='-Qoption ld ' - lt_prog_compiler_pic='-PIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4 | sysv4.2uw2* | sysv4.3*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - sysv4*MP*) - if test -d /usr/nec ;then - lt_prog_compiler_pic='-Kconform_pic' - lt_prog_compiler_static='-Bstatic' - fi - ;; - - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_pic='-KPIC' - lt_prog_compiler_static='-Bstatic' - ;; - - unicos*) - lt_prog_compiler_wl='-Wl,' - lt_prog_compiler_can_build_shared=no - ;; - - uts4*) - lt_prog_compiler_pic='-pic' - lt_prog_compiler_static='-Bstatic' - ;; - - *) - lt_prog_compiler_can_build_shared=no - ;; - esac - fi - -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic= - ;; - *) - lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 -$as_echo "$lt_prog_compiler_pic" >&6; } - - - - - - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic"; then - { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7854: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:7858: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } - -if test x"$lt_cv_prog_compiler_pic_works" = xyes; then - case $lt_prog_compiler_pic in - "" | " "*) ;; - *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; - esac -else - lt_prog_compiler_pic= - lt_prog_compiler_can_build_shared=no -fi - -fi - - - - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works=yes - fi - else - lt_cv_prog_compiler_static_works=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 -$as_echo "$lt_cv_prog_compiler_static_works" >&6; } - -if test x"$lt_cv_prog_compiler_static_works" = xyes; then - : -else - lt_prog_compiler_static= -fi - - - - - - - - { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7959: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:7963: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - - - - { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8014: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:8018: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 -$as_echo "$lt_cv_prog_compiler_c_o" >&6; } - - - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - - - - { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - runpath_var= - allow_undefined_flag= - always_export_symbols=no - archive_cmds= - archive_expsym_cmds= - compiler_needs_object=no - enable_shared_with_static_runtimes=no - export_dynamic_flag_spec= - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - hardcode_automatic=no - hardcode_direct=no - hardcode_direct_absolute=no - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld= - hardcode_libdir_separator= - hardcode_minus_L=no - hardcode_shlibpath_var=unsupported - inherit_rpath=no - link_all_deplibs=unknown - module_cmds= - module_expsym_cmds= - old_archive_from_new_cmds= - old_archive_from_expsyms_cmds= - thread_safe_flag_spec= - whole_archive_flag_spec= - # include_expsyms should be a list of space-separated symbols to be *always* - # included in the symbol list - include_expsyms= - # exclude_expsyms can be an extended regexp of symbols to exclude - # it will be wrapped by ` (' and `)$', so one must not match beginning or - # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', - # as well as any symbol that contains `d'. - exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out - # platforms (ab)use it in PIC code, but their linkers get confused if - # the symbol is explicitly referenced. Since portable code cannot - # rely on this symbol name, it's probably fine to never include it in - # preloaded symbol tables. - # Exclude shared library initialization/finalization symbols. - extract_expsyms_cmds= - - case $host_os in - cygwin* | mingw* | pw32* | cegcc*) - # FIXME: the MSVC++ port hasn't been tested in a loooong time - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - if test "$GCC" != yes; then - with_gnu_ld=no - fi - ;; - interix*) - # we just hope/assume this is gcc and not c89 (= MSVC++) - with_gnu_ld=yes - ;; - openbsd*) - with_gnu_ld=no - ;; - esac - - ld_shlibs=yes - if test "$with_gnu_ld" = yes; then - # If archive_cmds runs LD, not CC, wlarc should be empty - wlarc='${wl}' - - # Set some defaults for GNU ld with shared library support. These - # are reset later if shared libraries are not supported. Putting them - # here allows them to be overridden if necessary. - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec='${wl}--export-dynamic' - # ancient GNU ld didn't support --whole-archive et. al. - if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec= - fi - supports_anon_versioning=no - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 - *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... - *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... - *\ 2.11.*) ;; # other 2.11 versions - *) supports_anon_versioning=yes ;; - esac - - # See if GNU ld supports shared libraries. - case $host_os in - aix[3-9]*) - # On AIX/PPC, the GNU linker is very broken - if test "$host_cpu" != ia64; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: the GNU linker, at least up to release 2.9.1, is reported -*** to be unable to reliably create shared libraries on AIX. -*** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. - -_LT_EOF - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs=no - fi - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec='-L$libdir' - allow_undefined_flag=unsupported - always_export_symbols=no - enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs=no - fi - ;; - - interix[3-9]*) - hardcode_direct=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - - gnu* | linux* | tpf* | k*bsd*-gnu) - tmp_diet=no - if test "$host_os" = linux-dietlibc; then - case $cc_basename in - diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) - esac - fi - if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ - && test "$tmp_diet" = no - then - tmp_addflag= - tmp_sharedflag='-shared' - case $cc_basename,$host_cpu in - pgcc*) # Portland Group C compiler - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag' - ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - tmp_addflag=' $pic_flag -Mnomain' ;; - ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 - tmp_addflag=' -i_dynamic' ;; - efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 - tmp_addflag=' -i_dynamic -nofor_main' ;; - ifc* | ifort*) # Intel Fortran compiler - tmp_addflag=' -nofor_main' ;; - lf95*) # Lahey Fortran 8.1 - whole_archive_flag_spec= - tmp_sharedflag='--shared' ;; - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) - tmp_sharedflag='-qmkshrobj' - tmp_addflag= ;; - esac - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - compiler_needs_object=yes - tmp_sharedflag='-G' ;; - *Sun\ F*) # Sun Fortran 8.3 - tmp_sharedflag='-G' ;; - esac - archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - - case $cc_basename in - xlf*) - # IBM XL Fortran 10.1 on PPC cannot create shared libs itself - whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld='-rpath $libdir' - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' - fi - ;; - esac - else - ld_shlibs=no - fi - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' - wlarc= - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - fi - ;; - - solaris*) - if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: The releases 2.8.* of the GNU linker cannot reliably -*** create shared libraries on Solaris systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.9.1 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - - sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) - case `$LD -v 2>&1` in - *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) - ld_shlibs=no - cat <<_LT_EOF 1>&2 - -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -*** reliably create shared libraries on SCO systems. Therefore, libtool -*** is disabling shared libraries support. We urge you to upgrade GNU -*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -*** your PATH or compiler configuration so that the native linker is -*** used, and then restart. - -_LT_EOF - ;; - *) - # For security reasons, it is highly recommended that you always - # use absolute paths for naming shared libraries, and exclude the - # DT_RUNPATH tag from executables and libraries. But doing so - # requires that you compile everything twice, which is a pain. - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - ;; - - sunos4*) - archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' - wlarc= - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - *) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - else - ld_shlibs=no - fi - ;; - esac - - if test "$ld_shlibs" = no; then - runpath_var= - hardcode_libdir_flag_spec= - export_dynamic_flag_spec= - whole_archive_flag_spec= - fi - else - # PORTME fill in a description of your system's linker (not GNU ld) - case $host_os in - aix3*) - allow_undefined_flag=unsupported - always_export_symbols=yes - archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' - # Note: this linker hardcodes the directories in LIBPATH if there - # are no directories specified by -L. - hardcode_minus_L=yes - if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then - # Neither direct hardcoding nor static linking is supported with a - # broken collect2. - hardcode_direct=unsupported - fi - ;; - - aix[4-9]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then - aix_use_runtimelinking=yes - break - fi - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds='' - hardcode_direct=yes - hardcode_direct_absolute=yes - hardcode_libdir_separator=':' - link_all_deplibs=yes - file_list_spec='${wl}-f,' - - if test "$GCC" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L=yes - hardcode_libdir_flag_spec='-L$libdir' - hardcode_libdir_separator= - fi - ;; - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - export_dynamic_flag_spec='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to export. - always_export_symbols=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag='-berok' - # Determine the default libpath from the value encoded in an - # empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag="-z nodefs" - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag=' ${wl}-bernotok' - allow_undefined_flag=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' - archive_cmds_need_lc=yes - # This is similar to how AIX traditionally builds its shared libraries. - archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='' - ;; - m68k) - archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - ;; - esac - ;; - - bsdi[45]*) - export_dynamic_flag_spec=-rdynamic - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # When not using gcc, we currently assume that we are using - # Microsoft Visual C++. - # hardcode_libdir_flag_spec is actually meaningless, as there is - # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes=yes - ;; - - darwin* | rhapsody*) - - - archive_cmds_need_lc=no - hardcode_direct=no - hardcode_automatic=yes - hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='' - link_all_deplibs=yes - allow_undefined_flag="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - - else - ld_shlibs=no - fi - - ;; - - dgux*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - freebsd1*) - ld_shlibs=no - ;; - - # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor - # support. Future versions do this automatically, but an explicit c++rt0.o - # does not break anything, and helps significantly (at the cost of a little - # extra space). - freebsd2.2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - # FreeBSD 3 and greater uses gcc -shared to do shared libraries. - freebsd* | dragonfly*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - hpux9*) - if test "$GCC" = yes; then - archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - fi - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - export_dynamic_flag_spec='${wl}-E' - ;; - - hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_flag_spec_ld='+b $libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='${wl}-E' - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - fi - ;; - - hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - case $host_cpu in - hppa*64*) - archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - else - case $host_cpu in - hppa*64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - ia64*) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - fi - if test "$with_gnu_ld" = no; then - hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct=no - hardcode_shlibpath_var=no - ;; - *) - hardcode_direct=yes - hardcode_direct_absolute=yes - export_dynamic_flag_spec='${wl}-E' - - # hardcode_minus_L: Not really in the search PATH, - # but as the default location of the library. - hardcode_minus_L=yes - ;; - esac - fi - ;; - - irix5* | irix6* | nonstopux*) - if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - # Try to use the -exported_symbol ld option, if it does not - # work, assume that -exports_file does not work either and - # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - cat >conftest.$ac_ext <<_ACEOF -int foo(void) {} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" - else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - inherit_rpath=yes - link_all_deplibs=yes - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out - else - archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no - ;; - - newsos6) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_shlibpath_var=no - ;; - - *nto* | *qnx*) - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct=yes - hardcode_shlibpath_var=no - hardcode_direct_absolute=yes - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - export_dynamic_flag_spec='${wl}-E' - else - case $host_os in - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-R$libdir' - ;; - *) - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' - hardcode_libdir_flag_spec='${wl}-rpath,$libdir' - ;; - esac - fi - else - ld_shlibs=no - fi - ;; - - os2*) - hardcode_libdir_flag_spec='-L$libdir' - hardcode_minus_L=yes - allow_undefined_flag=unsupported - archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' - old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' - ;; - - osf3*) - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - fi - archive_cmds_need_lc='no' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator=: - ;; - - osf4* | osf5*) # as osf3* with the addition of -msym flag - if test "$GCC" = yes; then - allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' - else - allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' - - # Both c and cxx compiler support -rpath directly - hardcode_libdir_flag_spec='-rpath $libdir' - fi - archive_cmds_need_lc='no' - hardcode_libdir_separator=: - ;; - - solaris*) - no_undefined_flag=' -z defs' - if test "$GCC" = yes; then - wlarc='${wl}' - archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - else - case `$CC -V 2>&1` in - *"Compilers 5.0"*) - wlarc='' - archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' - ;; - *) - wlarc='${wl}' - archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' - ;; - esac - fi - hardcode_libdir_flag_spec='-R$libdir' - hardcode_shlibpath_var=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. GCC discards it without `$wl', - # but is careful enough not to reorder. - # Supported since Solaris 2.6 (maybe 2.5.1?) - if test "$GCC" = yes; then - whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - else - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' - fi - ;; - esac - link_all_deplibs=yes - ;; - - sunos4*) - if test "x$host_vendor" = xsequent; then - # Use $CC to link under sequent, because it throws in some extra .o - # files that make .init and .fini sections work. - archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' - fi - hardcode_libdir_flag_spec='-L$libdir' - hardcode_direct=yes - hardcode_minus_L=yes - hardcode_shlibpath_var=no - ;; - - sysv4) - case $host_vendor in - sni) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=yes # is this really true??? - ;; - siemens) - ## LD is ld it makes a PLAMLIB - ## CC just makes a GrossModule. - archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' - reload_cmds='$CC -r -o $output$reload_objs' - hardcode_direct=no - ;; - motorola) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_direct=no #Motorola manual says yes, but my tests say they lie - ;; - esac - runpath_var='LD_RUN_PATH' - hardcode_shlibpath_var=no - ;; - - sysv4.3*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - export_dynamic_flag_spec='-Bexport' - ;; - - sysv4*MP*) - if test -d /usr/nec; then - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_shlibpath_var=no - runpath_var=LD_RUN_PATH - hardcode_runpath_var=yes - ld_shlibs=yes - fi - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag='${wl}-z,text' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag='${wl}-z,text' - allow_undefined_flag='${wl}-z,nodefs' - archive_cmds_need_lc=no - hardcode_shlibpath_var=no - hardcode_libdir_flag_spec='${wl}-R,$libdir' - hardcode_libdir_separator=':' - link_all_deplibs=yes - export_dynamic_flag_spec='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - if test "$GCC" = yes; then - archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - else - archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - fi - ;; - - uts4*) - archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' - hardcode_libdir_flag_spec='-L$libdir' - hardcode_shlibpath_var=no - ;; - - *) - ld_shlibs=no - ;; - esac - - if test x$host_vendor = xsni; then - case $host in - sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) - export_dynamic_flag_spec='${wl}-Blargedynsym' - ;; - esac - fi - fi - -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 -$as_echo "$ld_shlibs" >&6; } -test "$ld_shlibs" = no && can_build_shared=no - -with_gnu_ld=$with_gnu_ld - - - - - - - - - - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc=no - else - archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 -$as_echo "$archive_cmds_need_lc" >&6; } - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -if test "$GCC" = yes; then - case $host_os in - darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; - *) lt_awk_arg="/^libraries:/" ;; - esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then - # if the path contains ";" then we assume it to be the separator - # otherwise default to the standard path separator (i.e. ":") - it is - # assumed that no part of a normal pathname contains ";" but that should - # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - # Ok, now we have the path, separated by spaces, we can step through it - # and add multilib dir if necessary. - lt_tmp_lt_search_path_spec= - lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` - for lt_sys_path in $lt_search_path_spec; do - if test -d "$lt_sys_path/$lt_multi_os_dir"; then - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" - else - test -d "$lt_sys_path" && \ - lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" - fi - done - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' -BEGIN {RS=" "; FS="/|\n";} { - lt_foo=""; - lt_count=0; - for (lt_i = NF; lt_i > 0; lt_i--) { - if ($lt_i != "" && $lt_i != ".") { - if ($lt_i == "..") { - lt_count++; - } else { - if (lt_count == 0) { - lt_foo="/" $lt_i lt_foo; - } else { - lt_count--; - } - } - } - } - if (lt_foo != "") { lt_freq[lt_foo]++; } - if (lt_freq[lt_foo] == 1) { print lt_foo; } -}'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` -else - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -fi -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[4-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - #soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - soname_spec='`echo ${libname} | sed -e 's/^lib//'`${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - #soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - soname_spec='`echo ${libname} | $SED -e 's/^lib//'`${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then - shlibpath_overrides_runpath=yes -fi - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action= -if test -n "$hardcode_libdir_flag_spec" || - test -n "$runpath_var" || - test "X$hardcode_automatic" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$hardcode_direct" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && - test "$hardcode_minus_L" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action=unsupported -fi -{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 -$as_echo "$hardcode_action" >&6; } - -if test "$hardcode_action" = relink || - test "$inherit_rpath" = yes; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - - - - - - if test "x$enable_dlopen" != xyes; then - enable_dlopen=unknown - enable_dlopen_self=unknown - enable_dlopen_self_static=unknown -else - lt_cv_dlopen=no - lt_cv_dlopen_libs= - - case $host_os in - beos*) - lt_cv_dlopen="load_add_on" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - ;; - - mingw* | pw32* | cegcc*) - lt_cv_dlopen="LoadLibrary" - lt_cv_dlopen_libs= - ;; - - cygwin*) - lt_cv_dlopen="dlopen" - lt_cv_dlopen_libs= - ;; - - darwin*) - # if libdl is installed we need to link against it - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_dl_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - - lt_cv_dlopen="dyld" - lt_cv_dlopen_libs= - lt_cv_dlopen_self=yes - -fi - - ;; - - *) - { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 -$as_echo_n "checking for shl_load... " >&6; } -if test "${ac_cv_func_shl_load+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define shl_load to an innocuous variant, in case declares shl_load. - For example, HP-UX 11i declares gettimeofday. */ -#define shl_load innocuous_shl_load - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char shl_load (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef shl_load - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_shl_load || defined __stub___shl_load -choke me -#endif - -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_shl_load=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_shl_load=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 -$as_echo "$ac_cv_func_shl_load" >&6; } -if test "x$ac_cv_func_shl_load" = x""yes; then - lt_cv_dlopen="shl_load" -else - { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 -$as_echo_n "checking for shl_load in -ldld... " >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shl_load (); -int -main () -{ -return shl_load (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_dld_shl_load=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dld_shl_load=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 -$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -else - { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 -$as_echo_n "checking for dlopen... " >&6; } -if test "${ac_cv_func_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define dlopen to an innocuous variant, in case declares dlopen. - For example, HP-UX 11i declares gettimeofday. */ -#define dlopen innocuous_dlopen - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char dlopen (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef dlopen - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_dlopen || defined __stub___dlopen -choke me -#endif - -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 -$as_echo "$ac_cv_func_dlopen" >&6; } -if test "x$ac_cv_func_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" -else - { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_dl_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dl_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -else - { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 -$as_echo_n "checking for dlopen in -lsvld... " >&6; } -if test "${ac_cv_lib_svld_dlopen+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lsvld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dlopen (); -int -main () -{ -return dlopen (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_svld_dlopen=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_svld_dlopen=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 -$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = x""yes; then - lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -else - { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 -$as_echo_n "checking for dld_link in -ldld... " >&6; } -if test "${ac_cv_lib_dld_dld_link+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-ldld $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char dld_link (); -int -main () -{ -return dld_link (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_dld_dld_link=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dld_dld_link=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 -$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = x""yes; then - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" -fi - - -fi - - -fi - - -fi - - -fi - - -fi - - ;; - esac - - if test "x$lt_cv_dlopen" != xno; then - enable_dlopen=yes - else - enable_dlopen=no - fi - - case $lt_cv_dlopen in - dlopen) - save_CPPFLAGS="$CPPFLAGS" - test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" - - save_LDFLAGS="$LDFLAGS" - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" - - save_LIBS="$LIBS" - LIBS="$lt_cv_dlopen_libs $LIBS" - - { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 -$as_echo_n "checking whether a program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line 10816 "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 -$as_echo "$lt_cv_dlopen_self" >&6; } - - if test "x$lt_cv_dlopen_self" = xyes; then - wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 -$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self_static+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : - lt_cv_dlopen_self_static=cross -else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF -#line 10912 "configure" -#include "confdefs.h" - -#if HAVE_DLFCN_H -#include -#endif - -#include - -#ifdef RTLD_GLOBAL -# define LT_DLGLOBAL RTLD_GLOBAL -#else -# ifdef DL_GLOBAL -# define LT_DLGLOBAL DL_GLOBAL -# else -# define LT_DLGLOBAL 0 -# endif -#endif - -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we - find out it does not work in some platform. */ -#ifndef LT_DLLAZY_OR_NOW -# ifdef RTLD_LAZY -# define LT_DLLAZY_OR_NOW RTLD_LAZY -# else -# ifdef DL_LAZY -# define LT_DLLAZY_OR_NOW DL_LAZY -# else -# ifdef RTLD_NOW -# define LT_DLLAZY_OR_NOW RTLD_NOW -# else -# ifdef DL_NOW -# define LT_DLLAZY_OR_NOW DL_NOW -# else -# define LT_DLLAZY_OR_NOW 0 -# endif -# endif -# endif -# endif -#endif - -void fnord() { int i=42;} -int main () -{ - void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); - int status = $lt_dlunknown; - - if (self) - { - if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; - /* dlclose (self); */ - } - else - puts (dlerror ()); - - return status; -} -_LT_EOF - if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then - (./conftest; exit; ) >&5 2>/dev/null - lt_status=$? - case x$lt_status in - x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; - x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; - esac - else : - # compilation failed - lt_cv_dlopen_self_static=no - fi -fi -rm -fr conftest* - - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 -$as_echo "$lt_cv_dlopen_self_static" >&6; } - fi - - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - ;; - esac - - case $lt_cv_dlopen_self in - yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; - *) enable_dlopen_self=unknown ;; - esac - - case $lt_cv_dlopen_self_static in - yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; - *) enable_dlopen_self_static=unknown ;; - esac -fi - - - - - - - - - - - - - - - - - -striplib= -old_striplib= -{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 -$as_echo_n "checking whether stripping libraries is possible... " >&6; } -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then - test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" - test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -else -# FIXME - insert some real tests, host_os isn't really good enough - case $host_os in - darwin*) - if test -n "$STRIP" ; then - striplib="$STRIP -x" - old_striplib="$STRIP -S" - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - fi - ;; - *) - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - ;; - esac -fi - - - - - - - - - - - - - # Report which library types will actually be built - { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 -$as_echo_n "checking if libtool supports shared libraries... " >&6; } - { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 -$as_echo "$can_build_shared" >&6; } - - { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 -$as_echo_n "checking whether to build shared libraries... " >&6; } - test "$can_build_shared" = "no" && enable_shared=no - - # On AIX, shared libraries and static libraries use the same namespace, and - # are all built from PIC. - case $host_os in - aix3*) - test "$enable_shared" = yes && enable_static=no - if test -n "$RANLIB"; then - archive_cmds="$archive_cmds~\$RANLIB \$lib" - postinstall_cmds='$RANLIB $lib' - fi - ;; - - aix[4-9]*) - if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then - test "$enable_shared" = yes && enable_static=no - fi - ;; - esac - { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 -$as_echo "$enable_shared" >&6; } - - { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 -$as_echo_n "checking whether to build static libraries... " >&6; } - # Make sure either enable_shared or enable_static is yes. - test "$enable_shared" = yes || enable_static=yes - { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 -$as_echo "$enable_static" >&6; } - - - - -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -CC="$lt_save_CC" - - - - - - - - - - - - - - ac_config_commands="$ac_config_commands libtool" - - - - -# Only expand once: - - - -LT_RELEASE=$SDL_MAJOR_VERSION.$SDL_MINOR_VERSION -LT_CURRENT=`expr $SDL_MICRO_VERSION - $SDL_INTERFACE_AGE` -LT_REVISION=$SDL_INTERFACE_AGE -LT_AGE=`expr $SDL_BINARY_AGE - $SDL_INTERFACE_AGE` - - - - - - - -ac_aux_dir= -for ac_dir in build-scripts "$srcdir"/build-scripts; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-scripts \"$srcdir\"/build-scripts" >&5 -$as_echo "$as_me: error: cannot find install-sh or install.sh in build-scripts \"$srcdir\"/build-scripts" >&2;} - { (exit 1); exit 1; }; } -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - - - { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if test "${ac_cv_c_bigendian+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_c_bigendian=unknown - # See if we're dealing with a universal compiler. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifndef __APPLE_CC__ - not a universal capable compiler - #endif - typedef int dummy; - -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - # Check for potential -arch flags. It is not universal unless - # there are some -arch flags. Note that *ppc* also matches - # ppc64. This check is also rather less than ideal. - case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( - *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; - esac -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test $ac_cv_c_bigendian = unknown; then - # See if sys/param.h defines the BYTE_ORDER macro. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ - && LITTLE_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - # It does; now see whether it defined to BIG_ENDIAN or not. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - #include - -int -main () -{ -#if BYTE_ORDER != BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_bigendian=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_bigendian=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -int -main () -{ -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) - bogus endian macros - #endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - # It does; now see whether it defined to _BIG_ENDIAN or not. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef _BIG_ENDIAN - not big endian - #endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_bigendian=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_bigendian=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test $ac_cv_c_bigendian = unknown; then - # Compile a test program. - if test "$cross_compiling" = yes; then - # Try to guess by grepping values from an object file. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -short int ascii_mm[] = - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; - int use_ascii (int i) { - return ascii_mm[i] + ascii_ii[i]; - } - short int ebcdic_ii[] = - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; - int use_ebcdic (int i) { - return ebcdic_mm[i] + ebcdic_ii[i]; - } - extern int foo; - -int -main () -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then - ac_cv_c_bigendian=yes - fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then - if test "$ac_cv_c_bigendian" = unknown; then - ac_cv_c_bigendian=no - else - # finding both strings is unlikely to happen, but who knows? - ac_cv_c_bigendian=unknown - fi - fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ - - /* Are we little or big endian? From Harbison&Steele. */ - union - { - long int l; - char c[sizeof (long int)]; - } u; - u.l = 1; - return u.c[sizeof (long int) - 1] == 1; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_c_bigendian=no -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_c_bigendian=yes -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - - fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } - case $ac_cv_c_bigendian in #( - yes) - cat >>confdefs.h <<\_ACEOF -#define WORDS_BIGENDIAN 1 -_ACEOF -;; #( - no) - ;; #( - universal) - -cat >>confdefs.h <<\_ACEOF -#define AC_APPLE_UNIVERSAL_BUILD 1 -_ACEOF - - ;; #( - *) - { { $as_echo "$as_me:$LINENO: error: unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" >&5 -$as_echo "$as_me: error: unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} - { (exit 1); exit 1; }; } ;; - esac - -if test x$ac_cv_c_bigendian = xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_BYTEORDER 4321 -_ACEOF - -else - cat >>confdefs.h <<\_ACEOF -#define SDL_BYTEORDER 1234 -_ACEOF - -fi - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $# != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:$LINENO: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:$LINENO: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cxx_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CXXFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cxx_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:$LINENO: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cxx_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CXXFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cxx_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Broken: fails on valid input. -continue -fi - -rm -f conftest.err conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - : -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -_lt_caught_CXX_error=yes; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -else - _lt_caught_CXX_error=yes -fi - - - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - -archive_cmds_need_lc_CXX=no -allow_undefined_flag_CXX= -always_export_symbols_CXX=no -archive_expsym_cmds_CXX= -compiler_needs_object_CXX=no -export_dynamic_flag_spec_CXX= -hardcode_direct_CXX=no -hardcode_direct_absolute_CXX=no -hardcode_libdir_flag_spec_CXX= -hardcode_libdir_flag_spec_ld_CXX= -hardcode_libdir_separator_CXX= -hardcode_minus_L_CXX=no -hardcode_shlibpath_var_CXX=unsupported -hardcode_automatic_CXX=no -inherit_rpath_CXX=no -module_cmds_CXX= -module_expsym_cmds_CXX= -link_all_deplibs_CXX=unknown -old_archive_cmds_CXX=$old_archive_cmds -no_undefined_flag_CXX= -whole_archive_flag_spec_CXX= -enable_shared_with_static_runtimes_CXX=no - -# Source file extension for C++ test sources. -ac_ext=cpp - -# Object file extension for compiled C++ test sources. -objext=o -objext_CXX=$objext - -# No sense in running all these tests if we already determined that -# the CXX compiler isn't working. Some variables (like enable_shared) -# are currently assumed to apply to all compilers on this platform, -# and will be corrupted by setting them based on a non-working compiler. -if test "$_lt_caught_CXX_error" != yes; then - # Code to be used in simple compile tests - lt_simple_compile_test_code="int some_variable = 0;" - - # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[]) { return(0); }' - - # ltmain only uses $CC for tagged configurations so make sure $CC is set. - - - - - - -# If no C compiler was specified, use CC. -LTCC=${LTCC-"$CC"} - -# If no C compiler flags were specified, use CFLAGS. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} - -# Allow CC to be a program name with arguments. -compiler=$CC - - - # save warnings/boilerplate of simple test code - ac_outfile=conftest.$ac_objext -echo "$lt_simple_compile_test_code" >conftest.$ac_ext -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_compiler_boilerplate=`cat conftest.err` -$RM conftest* - - ac_outfile=conftest.$ac_objext -echo "$lt_simple_link_test_code" >conftest.$ac_ext -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -_lt_linker_boilerplate=`cat conftest.err` -$RM -r conftest* - - - # Allow CC to be a program name with arguments. - lt_save_CC=$CC - lt_save_LD=$LD - lt_save_GCC=$GCC - GCC=$GXX - lt_save_with_gnu_ld=$with_gnu_ld - lt_save_path_LD=$lt_cv_path_LD - if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then - lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx - else - $as_unset lt_cv_prog_gnu_ld - fi - if test -n "${lt_cv_path_LDCXX+set}"; then - lt_cv_path_LD=$lt_cv_path_LDCXX - else - $as_unset lt_cv_path_LD - fi - test -z "${LDCXX+set}" || LD=$LDCXX - CC=${CXX-"c++"} - compiler=$CC - compiler_CXX=$CC - for cc_temp in $compiler""; do - case $cc_temp in - compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; - distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; - \-*) ;; - *) break;; - esac -done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` - - - if test -n "$compiler"; then - # We don't want -fno-exception when compiling C++ code, so set the - # no_builtin_flag separately - if test "$GXX" = yes; then - lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' - else - lt_prog_compiler_no_builtin_flag_CXX= - fi - - if test "$GXX" = yes; then - # Set up default GNU C++ configuration - - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 -$as_echo_n "checking for ld used by $CC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | ?:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the pathname of ld - ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` - while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do - ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if test "${lt_cv_path_LD+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for ac_dir in $PATH; do - IFS="$lt_save_ifs" - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - lt_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some variants of GNU ld only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - case `"$lt_cv_path_LD" -v 2>&1 &5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU lds only accept -v. -case `$LD -v 2>&1 &5 -$as_echo "$lt_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$lt_cv_prog_gnu_ld - - - - - - - - # Check if GNU C++ uses GNU ld as the underlying linker, since the - # archiving commands below assume that GNU ld is being used. - if test "$with_gnu_ld" = yes; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # If archive_cmds runs LD, not CC, wlarc should be empty - # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to - # investigate it a little bit more. (MM) - wlarc='${wl}' - - # ancient GNU ld didn't support --whole-archive et. al. - if eval "`$CC -print-prog-name=ld` --help 2>&1" | - $GREP 'no-whole-archive' > /dev/null; then - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - else - whole_archive_flag_spec_CXX= - fi - else - with_gnu_ld=no - wlarc= - - # A generic and very simple default shared library creation - # command for GNU C++ for the case where it uses the native - # linker, instead of GNU ld. If possible, this setting should - # overridden to take advantage of the native linker features on - # the platform it is being used on. - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - fi - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - GXX=no - with_gnu_ld=no - wlarc= - fi - - # PORTME: fill in a description of your system's C++ link characteristics - { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - ld_shlibs_CXX=yes - case $host_os in - aix3*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aix[4-9]*) - if test "$host_cpu" = ia64; then - # On IA64, the linker does run time linking by default, so we don't - # have to do anything special. - aix_use_runtimelinking=no - exp_sym_flag='-Bexport' - no_entry_flag="" - else - aix_use_runtimelinking=no - - # Test if we are trying to use run time linking or normal - # AIX style linking. If -brtl is somewhere in LDFLAGS, we - # need to do runtime linking. - case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) - for ld_flag in $LDFLAGS; do - case $ld_flag in - *-brtl*) - aix_use_runtimelinking=yes - break - ;; - esac - done - ;; - esac - - exp_sym_flag='-bexport' - no_entry_flag='-bnoentry' - fi - - # When large executables or shared objects are built, AIX ld can - # have problems creating the table of contents. If linking a library - # or program results in "error TOC overflow" add -mminimal-toc to - # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not - # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. - - archive_cmds_CXX='' - hardcode_direct_CXX=yes - hardcode_direct_absolute_CXX=yes - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - file_list_spec_CXX='${wl}-f,' - - if test "$GXX" = yes; then - case $host_os in aix4.[012]|aix4.[012].*) - # We only want to do this on AIX 4.2 and lower, the check - # below for broken collect2 doesn't work under 4.3+ - collect2name=`${CC} -print-prog-name=collect2` - if test -f "$collect2name" && - strings "$collect2name" | $GREP resolve_lib_name >/dev/null - then - # We have reworked collect2 - : - else - # We have old collect2 - hardcode_direct_CXX=unsupported - # It fails to find uninstalled libraries when the uninstalled - # path is not listed in the libpath. Setting hardcode_minus_L - # to unsupported forces relinking - hardcode_minus_L_CXX=yes - hardcode_libdir_flag_spec_CXX='-L$libdir' - hardcode_libdir_separator_CXX= - fi - esac - shared_flag='-shared' - if test "$aix_use_runtimelinking" = yes; then - shared_flag="$shared_flag "'${wl}-G' - fi - else - # not using gcc - if test "$host_cpu" = ia64; then - # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release - # chokes on -Wl,-G. The following line is correct: - shared_flag='-G' - else - if test "$aix_use_runtimelinking" = yes; then - shared_flag='${wl}-G' - else - shared_flag='${wl}-bM:SRE' - fi - fi - fi - - export_dynamic_flag_spec_CXX='${wl}-bexpall' - # It seems that -bexpall does not export symbols beginning with - # underscore (_), so it is better to generate a list of symbols to - # export. - always_export_symbols_CXX=yes - if test "$aix_use_runtimelinking" = yes; then - # Warning - without using the other runtime loading flags (-brtl), - # -berok will link without error, but may produce a broken library. - allow_undefined_flag_CXX='-berok' - # Determine the default libpath from the value encoded in an empty - # executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - - archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" - else - if test "$host_cpu" = ia64; then - hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' - allow_undefined_flag_CXX="-z nodefs" - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" - else - # Determine the default libpath from the value encoded in an - # empty executable. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi - - hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - # Warning - without using the other run time loading flags, - # -berok will link without error, but may produce a broken library. - no_undefined_flag_CXX=' ${wl}-bernotok' - allow_undefined_flag_CXX=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_CXX='$convenience' - archive_cmds_need_lc_CXX=yes - # This is similar to how AIX traditionally builds its shared - # libraries. - archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' - fi - fi - ;; - - beos*) - if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - allow_undefined_flag_CXX=unsupported - # Joseph Beckenbach says some releases of gcc - # support --undefined. This deserves some investigation. FIXME - archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - else - ld_shlibs_CXX=no - fi - ;; - - chorus*) - case $cc_basename in - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=no - enable_shared_with_static_runtimes_CXX=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_CXX=no - fi - ;; - darwin* | rhapsody*) - - - archive_cmds_need_lc_CXX=no - hardcode_direct_CXX=no - hardcode_automatic_CXX=yes - hardcode_shlibpath_var_CXX=unsupported - whole_archive_flag_spec_CXX='' - link_all_deplibs_CXX=yes - allow_undefined_flag_CXX="$_lt_dar_allow_undefined" - case $cc_basename in - ifort*) _lt_dar_can_shared=yes ;; - *) _lt_dar_can_shared=$GCC ;; - esac - if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo - archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" - module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" - module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" - if test "$lt_cv_apple_cc_single_mod" != "yes"; then - archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" - archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" - fi - - else - ld_shlibs_CXX=no - fi - - ;; - - dgux*) - case $cc_basename in - ec++*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - ghcx*) - # Green Hills C++ Compiler - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - freebsd[12]*) - # C++ shared libraries reported to be fairly broken before - # switch to ELF - ld_shlibs_CXX=no - ;; - - freebsd-elf*) - archive_cmds_need_lc_CXX=no - ;; - - freebsd* | dragonfly*) - # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF - # conventions - ld_shlibs_CXX=yes - ;; - - gnu*) - ;; - - hpux9*) - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - export_dynamic_flag_spec_CXX='${wl}-E' - hardcode_direct_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - hpux10*|hpux11*) - if test $with_gnu_ld = no; then - hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - case $host_cpu in - hppa*64*|ia64*) - ;; - *) - export_dynamic_flag_spec_CXX='${wl}-E' - ;; - esac - fi - case $host_cpu in - hppa*64*|ia64*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - ;; - *) - hardcode_direct_CXX=yes - hardcode_direct_absolute_CXX=yes - hardcode_minus_L_CXX=yes # Not in the search PATH, - # but as the default - # location of the library. - ;; - esac - - case $cc_basename in - CC*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - aCC*) - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes; then - if test $with_gnu_ld = no; then - case $host_cpu in - hppa*64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - ia64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - ;; - esac - fi - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - interix[3-9]*) - hardcode_direct_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}-E' - # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. - # Instead, shared libraries are loaded at an image base (0x10000000 by - # default) and relocated if they conflict, which is a slow very memory - # consuming and fragmenting process. To avoid this, we pick a random, - # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link - # time. Moving up from 0x10000000 also allows more sbrk(2) space. - archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' - ;; - irix5* | irix6*) - case $cc_basename in - CC*) - # SGI C++ - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - - # Archives containing C++ object files must be created using - # "CC -ar", where "CC" is the IRIX C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' - ;; - *) - if test "$GXX" = yes; then - if test "$with_gnu_ld" = no; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - else - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' - fi - fi - link_all_deplibs_CXX=yes - ;; - esac - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - inherit_rpath_CXX=yes - ;; - - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - - # Archives containing C++ object files must be created using - # "CC -Bstatic", where "CC" is the KAI C++ compiler. - old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' - ;; - icpc* | ecpc* ) - # Intel C++ - with_gnu_ld=yes - # version 8.0 and above of icpc choke on multiply defined symbols - # if we add $predep_objects and $postdep_objects, however 7.1 and - # earlier do not add the objects themselves. - case `$CC -V 2>&1` in - *"Version 7."*) - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - *) # Version 8.0 or newer - tmp_idyn= - case $host_cpu in - ia64*) tmp_idyn=' -i_dynamic';; - esac - archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' - ;; - esac - archive_cmds_need_lc_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - case `$CC -V` in - *pgCC\ [1-5]* | *pgcpp\ [1-5]*) - prelink_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' - old_archive_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ - $RANLIB $oldlib' - archive_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - archive_expsym_cmds_CXX='tpldir=Template.dir~ - rm -rf $tpldir~ - $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - *) # Version 6 will use weak symbols - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' - ;; - esac - - hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - ;; - cxx*) - # Compaq C++ - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' - - runpath_var=LD_RUN_PATH - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - xl*) - # IBM XL 8.0 on PPC, with GNU ld - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - if test "x$supports_anon_versioning" = xyes; then - archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ - cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ - echo "local: *; };" >> $output_objdir/$libname.ver~ - $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' - fi - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' - hardcode_libdir_flag_spec_CXX='-R$libdir' - whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' - compiler_needs_object_CXX=yes - - # Not sure whether something based on - # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 - # would be better. - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - esac - ;; - esac - ;; - - lynxos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - m88k*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - mvs*) - case $cc_basename in - cxx*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - netbsd*) - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' - wlarc= - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - fi - # Workaround some broken pre-1.5 toolchains - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' - ;; - - *nto* | *qnx*) - ld_shlibs_CXX=yes - ;; - - openbsd2*) - # C++ shared libraries are fairly broken - ld_shlibs_CXX=no - ;; - - openbsd*) - if test -f /usr/libexec/ld.so; then - hardcode_direct_CXX=yes - hardcode_shlibpath_var_CXX=no - hardcode_direct_absolute_CXX=yes - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' - export_dynamic_flag_spec_CXX='${wl}-E' - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' - fi - output_verbose_link_cmd=echo - else - ld_shlibs_CXX=no - fi - ;; - - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - # Kuck and Associates, Inc. (KAI) C++ Compiler - - # KCC will only create a shared library if the output file - # ends with ".so" (or ".sl" for HP-UX), so rename the library - # to its proper name (with version) after linking. - archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' - - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' - hardcode_libdir_separator_CXX=: - - # Archives containing C++ object files must be created using - # the KAI C++ compiler. - case $host in - osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; - *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; - esac - ;; - RCC*) - # Rational C++ 2.4.1 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - cxx*) - case $host in - osf3*) - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - ;; - *) - allow_undefined_flag_CXX=' -expect_unresolved \*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ - echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ - $RM $lib.exp' - hardcode_libdir_flag_spec_CXX='-rpath $libdir' - ;; - esac - - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - # - # There doesn't appear to be a way to prevent this compiler from - # explicitly linking system object files so we need to strip them - # from the output so that they don't get included in the library - # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' - ;; - *) - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - case $host in - osf3*) - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - *) - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' - ;; - esac - - hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' - hardcode_libdir_separator_CXX=: - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - - else - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - fi - ;; - esac - ;; - - psos*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - lcc*) - # Lucid - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - archive_cmds_need_lc_CXX=yes - no_undefined_flag_CXX=' -zdefs' - archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - hardcode_libdir_flag_spec_CXX='-R$libdir' - hardcode_shlibpath_var_CXX=no - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - # The compiler driver will combine and reorder linker options, - # but understands `-z linker_flag'. - # Supported since Solaris 2.6 (maybe 2.5.1?) - whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' - ;; - esac - link_all_deplibs_CXX=yes - - output_verbose_link_cmd='echo' - - # Archives containing C++ object files must be created using - # "CC -xar", where "CC" is the Sun C++ compiler. This is - # necessary to make sure instantiated templates are included - # in the archive. - old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' - ;; - gcx*) - # Green Hills C++ Compiler - archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - - # The C++ compiler must be used to create the archive. - old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' - ;; - *) - # GNU C++ compiler with Solaris linker - if test "$GXX" = yes && test "$with_gnu_ld" = no; then - no_undefined_flag_CXX=' ${wl}-z ${wl}defs' - if $CC --version | $GREP -v '^2\.7' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - else - # g++ 2.7 appears to require `-G' NOT `-shared' on this - # platform. - archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' - archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' - - # Commands to make compiler produce verbose output that lists - # what "hidden" libraries, object files and flags are used when - # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' - fi - - hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' - case $host_os in - solaris2.[0-5] | solaris2.[0-5].*) ;; - *) - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' - ;; - esac - fi - ;; - esac - ;; - - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) - no_undefined_flag_CXX='${wl}-z,text' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - sysv5* | sco3.2v5* | sco5v6*) - # Note: We can NOT use -z defs as we might desire, because we do not - # link with -lc, and that would cause any symbols used from libc to - # always be unresolved, which means just about no library would - # ever link correctly. If we're not using GNU ld we use -z text - # though, which does catch some bad symbols but isn't as heavy-handed - # as -z defs. - no_undefined_flag_CXX='${wl}-z,text' - allow_undefined_flag_CXX='${wl}-z,nodefs' - archive_cmds_need_lc_CXX=no - hardcode_shlibpath_var_CXX=no - hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' - hardcode_libdir_separator_CXX=':' - link_all_deplibs_CXX=yes - export_dynamic_flag_spec_CXX='${wl}-Bexport' - runpath_var='LD_RUN_PATH' - - case $cc_basename in - CC*) - archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - *) - archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' - ;; - esac - ;; - - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - ;; - - vxworks*) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - - *) - # FIXME: insert proper C++ library support - ld_shlibs_CXX=no - ;; - esac - - { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } - test "$ld_shlibs_CXX" = no && can_build_shared=no - - GCC_CXX="$GXX" - LD_CXX="$LD" - - ## CAVEAT EMPTOR: - ## There is no encapsulation within the following macros, do not change - ## the running order or otherwise move them around unless you know exactly - ## what you are doing... - # Dependencies to place before and after the object being linked: -predep_objects_CXX= -postdep_objects_CXX= -predeps_CXX= -postdeps_CXX= -compiler_lib_search_path_CXX= - -cat > conftest.$ac_ext <<_LT_EOF -class Foo -{ -public: - Foo (void) { a = 0; } -private: - int a; -}; -_LT_EOF - -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Parse the compiler output and extract the necessary - # objects, libraries and library flags. - - # Sentinel used to keep track of whether or not we are before - # the conftest object file. - pre_test_object_deps_done=no - - for p in `eval "$output_verbose_link_cmd"`; do - case $p in - - -L* | -R* | -l*) - # Some compilers place space between "-{L,R}" and the path. - # Remove the space. - if test $p = "-L" || - test $p = "-R"; then - prev=$p - continue - else - prev= - fi - - if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) - # Internal compiler library paths should come after those - # provided the user. The postdeps already come after the - # user supplied libs so there is no need to process them. - if test -z "$compiler_lib_search_path_CXX"; then - compiler_lib_search_path_CXX="${prev}${p}" - else - compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" - fi - ;; - # The "-l" case would never come before the object being - # linked, so don't bother handling this case. - esac - else - if test -z "$postdeps_CXX"; then - postdeps_CXX="${prev}${p}" - else - postdeps_CXX="${postdeps_CXX} ${prev}${p}" - fi - fi - ;; - - *.$objext) - # This assumes that the test object file only shows up - # once in the compiler output. - if test "$p" = "conftest.$objext"; then - pre_test_object_deps_done=yes - continue - fi - - if test "$pre_test_object_deps_done" = no; then - if test -z "$predep_objects_CXX"; then - predep_objects_CXX="$p" - else - predep_objects_CXX="$predep_objects_CXX $p" - fi - else - if test -z "$postdep_objects_CXX"; then - postdep_objects_CXX="$p" - else - postdep_objects_CXX="$postdep_objects_CXX $p" - fi - fi - ;; - - *) ;; # Ignore the rest. - - esac - done - - # Clean up. - rm -f a.out a.exe -else - echo "libtool.m4: error: problem compiling CXX test program" -fi - -$RM -f confest.$objext - -# PORTME: override above test on systems where it is broken -case $host_os in -interix[3-9]*) - # Interix 3.5 installs completely hosed .la files for C++, so rather than - # hack all around it, let's just trust "g++" to DTRT. - predep_objects_CXX= - postdep_objects_CXX= - postdeps_CXX= - ;; - -linux*) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; - -solaris*) - case $cc_basename in - CC*) - # The more standards-conforming stlport4 library is - # incompatible with the Cstd library. Avoid specifying - # it if it's in CXXFLAGS. Ignore libCrun as - # -library=stlport4 depends on it. - case " $CXX $CXXFLAGS " in - *" -library=stlport4 "*) - solaris_use_stlport4=yes - ;; - esac - - # Adding this requires a known-good setup of shared libraries for - # Sun compiler versions before 5.6, else PIC objects from an old - # archive will be linked into the output, leading to subtle bugs. - if test "$solaris_use_stlport4" != yes; then - postdeps_CXX='-library=Cstd -library=Crun' - fi - ;; - esac - ;; -esac - - -case " $postdeps_CXX " in -*" -lc "*) archive_cmds_need_lc_CXX=no ;; -esac - compiler_lib_search_dirs_CXX= -if test -n "${compiler_lib_search_path_CXX}"; then - compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lt_prog_compiler_wl_CXX= -lt_prog_compiler_pic_CXX= -lt_prog_compiler_static_CXX= - -{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } - - # C++ specific cases for pic, static, wl, etc. - if test "$GXX" = yes; then - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-static' - - case $host_os in - aix*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - fi - ;; - - amigaos*) - case $host_cpu in - powerpc) - # see comment about AmigaOS4 .so support - lt_prog_compiler_pic_CXX='-fPIC' - ;; - m68k) - # FIXME: we need at least 68020 code to build shared libraries, but - # adding the `-m68020' flag to GCC prevents building anything better, - # like `-m68040'. - lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' - ;; - esac - ;; - - beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) - # PIC is the default for these OSes. - ;; - mingw* | cygwin* | os2* | pw32* | cegcc*) - # This hack is so that the source file can tell whether it is being - # built for inclusion in a dll (and should export symbols for example). - # Although the cygwin gcc ignores -fPIC, still need this for old-style - # (--disable-auto-import) libraries - lt_prog_compiler_pic_CXX='-DDLL_EXPORT' - ;; - darwin* | rhapsody*) - # PIC is the default on this platform - # Common symbols not allowed in MH_DYLIB files - lt_prog_compiler_pic_CXX='-fno-common' - ;; - *djgpp*) - # DJGPP does not support shared libraries at all - lt_prog_compiler_pic_CXX= - ;; - interix[3-9]*) - # Interix 3.x gcc -fpic/-fPIC options generate broken code. - # Instead, we relocate shared libraries at runtime. - ;; - sysv4*MP*) - if test -d /usr/nec; then - lt_prog_compiler_pic_CXX=-Kconform_pic - fi - ;; - hpux*) - # PIC is the default for 64-bit PA HP-UX, but not for 32-bit - # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag - # sets the default TLS model and affects inlining. - case $host_cpu in - hppa*64*) - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic_CXX='-fPIC -shared' - ;; - *) - lt_prog_compiler_pic_CXX='-fPIC' - ;; - esac - else - case $host_os in - aix[4-9]*) - # All AIX code is PIC. - if test "$host_cpu" = ia64; then - # AIX 5 now supports IA64 processor - lt_prog_compiler_static_CXX='-Bstatic' - else - lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' - fi - ;; - chorus*) - case $cc_basename in - cxch68*) - # Green Hills C++ Compiler - # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" - ;; - esac - ;; - dgux*) - case $cc_basename in - ec++*) - lt_prog_compiler_pic_CXX='-KPIC' - ;; - ghcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - freebsd* | dragonfly*) - # FreeBSD uses GNU C++ - ;; - hpux9* | hpux10* | hpux11*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - if test "$host_cpu" != ia64; then - lt_prog_compiler_pic_CXX='+Z' - fi - ;; - aCC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' - case $host_cpu in - hppa*64*|ia64*) - # +Z the default - ;; - *) - lt_prog_compiler_pic_CXX='+Z' - ;; - esac - ;; - *) - ;; - esac - ;; - interix*) - # This is c89, which is MS Visual C++ (no shared libs) - # Anyone wants to do a port? - ;; - irix5* | irix6* | nonstopux*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_static_CXX='-non_shared' - # CC pic flag -KPIC is the default. - ;; - *) - ;; - esac - ;; - linux* | k*bsd*-gnu) - case $cc_basename in - KCC*) - # KAI C++ Compiler - lt_prog_compiler_wl_CXX='--backend -Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - ;; - ecpc* ) - # old Intel C++ for x86_64 which still supported -KPIC. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-static' - ;; - icpc* ) - # Intel C++, used to be incompatible with GCC. - # ICC 10 doesn't accept -KPIC any more. - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fPIC' - lt_prog_compiler_static_CXX='-static' - ;; - pgCC* | pgcpp*) - # Portland Group C++ compiler - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-fpic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - cxx*) - # Compaq C++ - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-qpic' - lt_prog_compiler_static_CXX='-qstaticlink' - ;; - *) - case `$CC -V 2>&1 | sed 5q` in - *Sun\ C*) - # Sun C++ 5.9 - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - esac - ;; - esac - ;; - lynxos*) - ;; - m88k*) - ;; - mvs*) - case $cc_basename in - cxx*) - lt_prog_compiler_pic_CXX='-W c,exportall' - ;; - *) - ;; - esac - ;; - netbsd*) - ;; - *qnx* | *nto*) - # QNX uses GNU C++, but need to define -shared option too, otherwise - # it will coredump. - lt_prog_compiler_pic_CXX='-fPIC -shared' - ;; - osf3* | osf4* | osf5*) - case $cc_basename in - KCC*) - lt_prog_compiler_wl_CXX='--backend -Wl,' - ;; - RCC*) - # Rational C++ 2.4.1 - lt_prog_compiler_pic_CXX='-pic' - ;; - cxx*) - # Digital/Compaq C++ - lt_prog_compiler_wl_CXX='-Wl,' - # Make sure the PIC flag is empty. It appears that all Alpha - # Linux and Compaq Tru64 Unix objects are PIC. - lt_prog_compiler_pic_CXX= - lt_prog_compiler_static_CXX='-non_shared' - ;; - *) - ;; - esac - ;; - psos*) - ;; - solaris*) - case $cc_basename in - CC*) - # Sun C++ 4.2, 5.x and Centerline C++ - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - lt_prog_compiler_wl_CXX='-Qoption ld ' - ;; - gcx*) - # Green Hills C++ Compiler - lt_prog_compiler_pic_CXX='-PIC' - ;; - *) - ;; - esac - ;; - sunos4*) - case $cc_basename in - CC*) - # Sun C++ 4.x - lt_prog_compiler_pic_CXX='-pic' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - lcc*) - # Lucid - lt_prog_compiler_pic_CXX='-pic' - ;; - *) - ;; - esac - ;; - sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) - case $cc_basename in - CC*) - lt_prog_compiler_wl_CXX='-Wl,' - lt_prog_compiler_pic_CXX='-KPIC' - lt_prog_compiler_static_CXX='-Bstatic' - ;; - esac - ;; - tandem*) - case $cc_basename in - NCC*) - # NonStop-UX NCC 3.20 - lt_prog_compiler_pic_CXX='-KPIC' - ;; - *) - ;; - esac - ;; - vxworks*) - ;; - *) - lt_prog_compiler_can_build_shared_CXX=no - ;; - esac - fi - -case $host_os in - # For platforms which do not support PIC, -DPIC is meaningless: - *djgpp*) - lt_prog_compiler_pic_CXX= - ;; - *) - lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 -$as_echo "$lt_prog_compiler_pic_CXX" >&6; } - - - -# -# Check to make sure the PIC flag actually works. -# -if test -n "$lt_prog_compiler_pic_CXX"; then - { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 -$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_pic_works_CXX=no - ac_outfile=conftest.$ac_objext - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - # The option is referenced via a variable to avoid confusing sed. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15079: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 - echo "$as_me:15083: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_pic_works_CXX=yes - fi - fi - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } - -if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then - case $lt_prog_compiler_pic_CXX in - "" | " "*) ;; - *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; - esac -else - lt_prog_compiler_pic_CXX= - lt_prog_compiler_can_build_shared_CXX=no -fi - -fi - - - -# -# Check to make sure the static flag actually works. -# -wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" -{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_static_works_CXX=no - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $lt_tmp_static_flag" - echo "$lt_simple_link_test_code" > conftest.$ac_ext - if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then - # The linker can only warn and ignore the option if not recognized - # So say no if there are warnings - if test -s conftest.err; then - # Append any errors to the config.log. - cat conftest.err 1>&5 - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp - $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 - if diff conftest.exp conftest.er2 >/dev/null; then - lt_cv_prog_compiler_static_works_CXX=yes - fi - else - lt_cv_prog_compiler_static_works_CXX=yes - fi - fi - $RM -r conftest* - LDFLAGS="$save_LDFLAGS" - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } - -if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then - : -else - lt_prog_compiler_static_CXX= -fi - - - - - { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15178: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:15182: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - - { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 -$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then - $as_echo_n "(cached) " >&6 -else - lt_cv_prog_compiler_c_o_CXX=no - $RM -r conftest 2>/dev/null - mkdir conftest - cd conftest - mkdir out - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - lt_compiler_flag="-o out/conftest2.$ac_objext" - # Insert the option either (1) after the last *FLAGS variable, or - # (2) before a word containing "conftest.", or (3) at the end. - # Note that $ac_compile itself does not contain backslashes and begins - # with a dollar sign (not a hyphen), so the echo should work correctly. - lt_compile=`echo "$ac_compile" | $SED \ - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15230: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 - echo "$as_me:15234: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp - $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 - if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then - lt_cv_prog_compiler_c_o_CXX=yes - fi - fi - chmod u+w . 2>&5 - $RM conftest* - # SGI C++ compiler will create directory out/ii_files/ for - # template instantiation - test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files - $RM out/* && rmdir out - cd .. - $RM -r conftest - $RM conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 -$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } - - - - -hard_links="nottested" -if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then - # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 -$as_echo_n "checking if we can lock with hard links... " >&6; } - hard_links=yes - $RM conftest* - ln conftest.a conftest.b 2>/dev/null && hard_links=no - touch conftest.a - ln conftest.a conftest.b 2>&5 || hard_links=no - ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 -$as_echo "$hard_links" >&6; } - if test "$hard_links" = no; then - { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} - need_locks=warn - fi -else - need_locks=no -fi - - - - { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } - - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - case $host_os in - aix[4-9]*) - # If we're using GNU nm, then we don't want the "-C" option. - # -C means demangle to AIX nm, but means don't demangle with GNU nm - if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - else - export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' - fi - ;; - pw32*) - export_symbols_cmds_CXX="$ltdll_cmds" - ;; - cygwin* | mingw* | cegcc*) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - *) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; - esac - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' - -{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 -$as_echo "$ld_shlibs_CXX" >&6; } -test "$ld_shlibs_CXX" = no && can_build_shared=no - -with_gnu_ld_CXX=$with_gnu_ld - - - - - - -# -# Do we need to explicitly link libc? -# -case "x$archive_cmds_need_lc_CXX" in -x|xyes) - # Assume -lc should be added - archive_cmds_need_lc_CXX=yes - - if test "$enable_shared" = yes && test "$GCC" = yes; then - case $archive_cmds_CXX in - *'~'*) - # FIXME: we may have to deal with multi-command sequences. - ;; - '$CC '*) - # Test whether the compiler implicitly links with -lc since on some - # systems, -lgcc has to come before -lc. If gcc already passes -lc - # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 -$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_CXX - pic_flag=$lt_prog_compiler_pic_CXX - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 - (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - then - archive_cmds_need_lc_CXX=no - else - archive_cmds_need_lc_CXX=yes - fi - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 -$as_echo "$archive_cmds_need_lc_CXX" >&6; } - ;; - esac - fi - ;; -esac - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 -$as_echo_n "checking dynamic linker characteristics... " >&6; } - -library_names_spec= -libname_spec='lib$name' -soname_spec= -shrext_cmds=".so" -postinstall_cmds= -postuninstall_cmds= -finish_cmds= -finish_eval= -shlibpath_var= -shlibpath_overrides_runpath=unknown -version_type=none -dynamic_linker="$host_os ld.so" -sys_lib_dlsearch_path_spec="/lib /usr/lib" -need_lib_prefix=unknown -hardcode_into_libs=no - -# when you set need_version to no, make sure it does not cause -set_version -# flags to be left without arguments -need_version=unknown - -case $host_os in -aix3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' - shlibpath_var=LIBPATH - - # AIX 3 has no versioning support, so we append a major version to the name. - soname_spec='${libname}${release}${shared_ext}$major' - ;; - -aix[4-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - hardcode_into_libs=yes - if test "$host_cpu" = ia64; then - # AIX 5 supports IA64 - library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - else - # With GCC up to 2.95.x, collect2 would create an import file - # for dependence libraries. The import file would start with - # the line `#! .'. This would cause the generated library to - # depend on `.', always an invalid library. This was fixed in - # development snapshots of GCC prior to 3.0. - case $host_os in - aix4 | aix4.[01] | aix4.[01].*) - if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' - echo ' yes ' - echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then - : - else - can_build_shared=no - fi - ;; - esac - # AIX (on Power*) has no versioning support, so currently we can not hardcode correct - # soname into executable. Probably we can add versioning support to - # collect2, so additional links can be useful in future. - if test "$aix_use_runtimelinking" = yes; then - # If using run time linking (on AIX 4.2 or later) use lib.so - # instead of lib.a to let people know that these are not - # typical AIX shared libraries. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - else - # We preserve .a as extension for shared libraries through AIX4.2 - # and later when we are not doing run time linking. - library_names_spec='${libname}${release}.a $libname.a' - soname_spec='${libname}${release}${shared_ext}$major' - fi - shlibpath_var=LIBPATH - fi - ;; - -amigaos*) - case $host_cpu in - powerpc) - # Since July 2007 AmigaOS4 officially supports .so libraries. - # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - ;; - m68k) - library_names_spec='$libname.ixlibrary $libname.a' - # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' - ;; - esac - ;; - -beos*) - library_names_spec='${libname}${shared_ext}' - dynamic_linker="$host_os ld.so" - shlibpath_var=LIBRARY_PATH - ;; - -bsdi[45]*) - version_type=linux - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" - sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" - # the default ld.so.conf also contains /usr/contrib/lib and - # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow - # libtool to hard-code these into programs - ;; - -cygwin* | mingw* | pw32* | cegcc*) - version_type=windows - shrext_cmds=".dll" - need_version=no - need_lib_prefix=no - - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) - library_names_spec='$libname.dll.a' - # DLL is installed to $(libdir)/../bin by postinstall_cmds - postinstall_cmds='base_file=`basename \${file}`~ - dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ - dldir=$destdir/`dirname \$dlpath`~ - test -d \$dldir || mkdir -p \$dldir~ - $install_prog $dir/$dlname \$dldir/$dlname~ - chmod a+x \$dldir/$dlname~ - if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then - eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; - fi' - postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ - dlpath=$dir/\$dldll~ - $RM \$dlpath' - shlibpath_overrides_runpath=yes - - case $host_os in - cygwin*) - # Cygwin DLLs use 'cyg' prefix rather than 'lib' - #soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - soname_spec='`echo ${libname} | sed -e 's/^lib//'`${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" - ;; - mingw* | cegcc*) - # MinGW DLLs use traditional 'lib' prefix - #soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - soname_spec='`echo ${libname} | $SED -e 's/^lib//'`${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi - ;; - pw32*) - # pw32 DLLs use 'pw' prefix rather than 'lib' - library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - ;; - esac - ;; - - *) - library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' - ;; - esac - dynamic_linker='Win32 ld.exe' - # FIXME: first we should search . and the directory the executable is in - shlibpath_var=PATH - ;; - -darwin* | rhapsody*) - dynamic_linker="$host_os dyld" - version_type=darwin - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' - soname_spec='${libname}${release}${major}$shared_ext' - shlibpath_overrides_runpath=yes - shlibpath_var=DYLD_LIBRARY_PATH - shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' - - sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' - ;; - -dgux*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no - ;; - -freebsd* | dragonfly*) - # DragonFly does not have aout. When/if they implement a new - # versioning mechanism, adjust this. - if test -x /usr/bin/objformat; then - objformat=`/usr/bin/objformat` - else - case $host_os in - freebsd[123]*) objformat=aout ;; - *) objformat=elf ;; - esac - fi - version_type=freebsd-$objformat - case $version_type in - freebsd-elf*) - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - need_version=no - need_lib_prefix=no - ;; - freebsd-*) - library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' - need_version=yes - ;; - esac - shlibpath_var=LD_LIBRARY_PATH - case $host_os in - freebsd2*) - shlibpath_overrides_runpath=yes - ;; - freebsd3.[01]* | freebsdelf3.[01]*) - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ - freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - *) # from 4.6 on, and DragonFly - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - esac - ;; - -gnu*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - hardcode_into_libs=yes - ;; - -hpux9* | hpux10* | hpux11*) - # Give a soname corresponding to the major version so that dld.sl refuses to - # link against other versions. - version_type=sunos - need_lib_prefix=no - need_version=no - case $host_cpu in - ia64*) - shrext_cmds='.so' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.so" - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - if test "X$HPUX_IA64_MODE" = X32; then - sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" - else - sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" - fi - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - hppa*64*) - shrext_cmds='.sl' - hardcode_into_libs=yes - dynamic_linker="$host_os dld.sl" - shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH - shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" - sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec - ;; - *) - shrext_cmds='.sl' - dynamic_linker="$host_os dld.sl" - shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - ;; - esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. - postinstall_cmds='chmod 555 $lib' - ;; - -interix[3-9]*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -irix5* | irix6* | nonstopux*) - case $host_os in - nonstopux*) version_type=nonstopux ;; - *) - if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux - else - version_type=irix - fi ;; - esac - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' - case $host_os in - irix5* | nonstopux*) - libsuff= shlibsuff= - ;; - *) - case $LD in # libtool.m4 will add one of these switches to LD - *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") - libsuff= shlibsuff= libmagic=32-bit;; - *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") - libsuff=32 shlibsuff=N32 libmagic=N32;; - *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") - libsuff=64 shlibsuff=64 libmagic=64-bit;; - *) libsuff= shlibsuff= libmagic=never-match;; - esac - ;; - esac - shlibpath_var=LD_LIBRARY${shlibsuff}_PATH - shlibpath_overrides_runpath=no - sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" - sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" - hardcode_into_libs=yes - ;; - -# No shared lib support for Linux oldld, aout, or coff. -linux*oldld* | linux*aout* | linux*coff*) - dynamic_linker=no - ;; - -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_cxx_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then - shlibpath_overrides_runpath=yes -fi - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir - - # This implies no fast_install, which is unacceptable. - # Some rework will be needed to allow for fast_install - # before this can be enabled. - hardcode_into_libs=yes - - # Append ld.so.conf contents to the search path - if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" - fi - - # We used to test for /lib/ld.so.1 and disable shared libraries on - # powerpc, because MkLinux only supported shared libraries with the - # GNU dynamic linker. Since this was broken with cross compilers, - # most powerpc-linux boxes support dynamic linking these days and - # people can always --disable-shared, the test was removed, and we - # assume the GNU/Linux dynamic linker is in use. - dynamic_linker='GNU/Linux ld.so' - ;; - -netbsd*) - version_type=sunos - need_lib_prefix=no - need_version=no - if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - dynamic_linker='NetBSD (a.out) ld.so' - else - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - dynamic_linker='NetBSD ld.elf_so' - fi - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - ;; - -newsos6) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - ;; - -*nto* | *qnx*) - version_type=qnx - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='ldqnx.so' - ;; - -openbsd*) - version_type=sunos - sys_lib_dlsearch_path_spec="/usr/lib" - need_lib_prefix=no - # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. - case $host_os in - openbsd3.3 | openbsd3.3.*) need_version=yes ;; - *) need_version=no ;; - esac - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH - if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - case $host_os in - openbsd2.[89] | openbsd2.[89].*) - shlibpath_overrides_runpath=no - ;; - *) - shlibpath_overrides_runpath=yes - ;; - esac - else - shlibpath_overrides_runpath=yes - fi - ;; - -os2*) - libname_spec='$name' - shrext_cmds=".dll" - need_lib_prefix=no - library_names_spec='$libname${shared_ext} $libname.a' - dynamic_linker='OS/2 ld.exe' - shlibpath_var=LIBPATH - ;; - -osf3* | osf4* | osf5*) - version_type=osf - need_lib_prefix=no - need_version=no - soname_spec='${libname}${release}${shared_ext}$major' - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" - sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" - ;; - -rdos*) - dynamic_linker=no - ;; - -solaris*) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - # ldd complains unless libraries are executable - postinstall_cmds='chmod +x $lib' - ;; - -sunos4*) - version_type=sunos - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' - finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - if test "$with_gnu_ld" = yes; then - need_lib_prefix=no - fi - need_version=yes - ;; - -sysv4 | sysv4.3*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - case $host_vendor in - sni) - shlibpath_overrides_runpath=no - need_lib_prefix=no - runpath_var=LD_RUN_PATH - ;; - siemens) - need_lib_prefix=no - ;; - motorola) - need_lib_prefix=no - need_version=no - shlibpath_overrides_runpath=no - sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' - ;; - esac - ;; - -sysv4*MP*) - if test -d /usr/nec ;then - version_type=linux - library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' - soname_spec='$libname${shared_ext}.$major' - shlibpath_var=LD_LIBRARY_PATH - fi - ;; - -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) - version_type=freebsd-elf - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=yes - hardcode_into_libs=yes - if test "$with_gnu_ld" = yes; then - sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' - else - sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' - case $host_os in - sco3.2v5*) - sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" - ;; - esac - fi - sys_lib_dlsearch_path_spec='/usr/lib' - ;; - -tpf*) - # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - ;; - -uts4*) - version_type=linux - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - ;; - -*) - dynamic_linker=no - ;; -esac -{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 -$as_echo "$dynamic_linker" >&6; } -test "$dynamic_linker" = no && can_build_shared=no - -variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -if test "$GCC" = yes; then - variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -fi - -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then - sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -fi -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then - sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 -$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -hardcode_action_CXX= -if test -n "$hardcode_libdir_flag_spec_CXX" || - test -n "$runpath_var_CXX" || - test "X$hardcode_automatic_CXX" = "Xyes" ; then - - # We can hardcode non-existent directories. - if test "$hardcode_direct_CXX" != no && - # If the only mechanism to avoid hardcoding is shlibpath_var, we - # have to relink, otherwise we might link with an installed library - # when we should be linking with a yet-to-be-installed one - ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && - test "$hardcode_minus_L_CXX" != no; then - # Linking always hardcodes the temporary library directory. - hardcode_action_CXX=relink - else - # We can link without hardcoding, and we can hardcode nonexisting dirs. - hardcode_action_CXX=immediate - fi -else - # We cannot hardcode anything, or else we can only hardcode existing - # directories. - hardcode_action_CXX=unsupported -fi -{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 -$as_echo "$hardcode_action_CXX" >&6; } - -if test "$hardcode_action_CXX" = relink || - test "$inherit_rpath_CXX" = yes; then - # Fast installation is not supported - enable_fast_install=no -elif test "$shlibpath_overrides_runpath" = yes || - test "$enable_shared" = no; then - # Fast installation is not necessary - enable_fast_install=needless -fi - - - - - - - - fi # test -n "$compiler" - - CC=$lt_save_CC - LDCXX=$LD - LD=$lt_save_LD - GCC=$lt_save_GCC - with_gnu_ld=$lt_save_with_gnu_ld - lt_cv_path_LDCXX=$lt_cv_path_LD - lt_cv_path_LD=$lt_save_path_LD - lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld - lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld -fi # test "$_lt_caught_CXX_error" != yes - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - -done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - -{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.make <<\_ACEOF -SHELL = /bin/sh -all: - @echo '@@@%%%=$(MAKE)=@@@%%%' -_ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -case `${MAKE-make} -f conftest.make 2>/dev/null` in - *@@@%%%=?*=@@@%%%*) - eval ac_cv_prog_make_${ac_make}_set=yes;; - *) - eval ac_cv_prog_make_${ac_make}_set=no;; -esac -rm -f conftest.make -fi -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - SET_MAKE= -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - SET_MAKE="MAKE=${MAKE-make}" -fi - -if test -z "$host_alias"; then - hostaliaswindres= -else - hostaliaswindres="$host_alias-windres" -fi -for ac_prog in windres $hostaliaswindres $host_os-windres -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_WINDRES+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$WINDRES"; then - ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_WINDRES="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -WINDRES=$ac_cv_prog_WINDRES -if test -n "$WINDRES"; then - { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5 -$as_echo "$WINDRES" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$WINDRES" && break -done - - -INCLUDE="-I$srcdir/include" -if test x$srcdir != x.; then - # Remove SDL_config.h from the source directory, since it's the - # default one, and we want to include the one that we generate. - if test -f $srcdir/include/SDL_config.h; then - rm $srcdir/include/SDL_config.h - fi - INCLUDE="-Iinclude $INCLUDE" -fi -case "$host" in - *-*-cygwin*) - # We build SDL on cygwin without the UNIX emulation layer - BASE_CFLAGS="-I/usr/include/mingw -mno-cygwin" - BASE_LDFLAGS="-mno-cygwin" - ;; - *) - BASE_CFLAGS="-D_GNU_SOURCE=1" - BASE_LDFLAGS="" - ;; -esac -BUILD_CFLAGS="$CFLAGS $CPPFLAGS" -EXTRA_CFLAGS="$INCLUDE $BASE_CFLAGS" -BUILD_LDFLAGS="$LDFLAGS" -EXTRA_LDFLAGS="$BASE_LDFLAGS" -## These are common directories to find software packages -#for path in /usr/freeware /usr/pkg /usr/X11R6 /usr/local; do -# if test -d $path/include; then -# EXTRA_CFLAGS="$EXTRA_CFLAGS -I$path/include" -# fi -# if test -d $path/lib; then -# EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L$path/lib" -# fi -#done -SDL_CFLAGS="$BASE_CFLAGS" -SDL_LIBS="-lSDL $BASE_LDFLAGS" -CPPFLAGS="$CPPFLAGS $EXTRA_CFLAGS" -CFLAGS="$CFLAGS $EXTRA_CFLAGS" -LDFLAGS="$LDFLAGS $EXTRA_LDFLAGS" - -base_libdir=`echo \${libdir} | sed 's/.*\/\(.*\)/\1/; q'` - -find_lib() -{ - gcc_bin_path=`$CC -print-search-dirs 2>/dev/null | fgrep programs: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'` - gcc_lib_path=`$CC -print-search-dirs 2>/dev/null | fgrep libraries: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'` - env_lib_path=`echo $LIBS $LDFLAGS $* | sed 's/-L[ ]*//g'` - if test "$cross_compiling" = yes; then - host_lib_path="" - else - host_lib_path="/usr/$base_libdir /usr/local/$base_libdir" - fi - for path in $gcc_bin_path $gcc_lib_path $env_lib_path $host_lib_path; do - lib=`ls -- $path/$1 2>/dev/null | sort | sed 's/.*\/\(.*\)/\1/; q'` - if test x$lib != x; then - echo $lib - return - fi - done -} - -{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if test "${ac_cv_c_const+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset[2]; - const charset cs; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* NEC SVR4.0.2 mips cc rejects this. */ - struct point {int x, y;}; - static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. - It does not let you subtract one const X* pointer from another in - an arm of an if-expression whose if-part is not a constant - expression */ - const char *g = "string"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 0; - } - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ - int x[] = {25, 17}; - const int *foo = &x[0]; - ++foo; - } - { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ - typedef const int *iptr; - iptr p = 0; - ++p; - } - { /* AIX XL C 1.02.0.0 rejects this saying - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; - } - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ - const int foo = 10; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_const=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_const=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -cat >>confdefs.h <<\_ACEOF -#define const /**/ -_ACEOF - -fi - -{ $as_echo "$as_me:$LINENO: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_inline=$ac_kw -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } - - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - -{ $as_echo "$as_me:$LINENO: checking for working volatile" >&5 -$as_echo_n "checking for working volatile... " >&6; } -if test "${ac_cv_c_volatile+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - -volatile int x; -int * volatile y = (int *) 0; -return !x && !y; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_volatile=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_volatile=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 -$as_echo "$ac_cv_c_volatile" >&6; } -if test $ac_cv_c_volatile = no; then - -cat >>confdefs.h <<\_ACEOF -#define volatile /**/ -_ACEOF - -fi - - -# Check whether --enable-libc was given. -if test "${enable_libc+set}" = set; then - enableval=$enable_libc; -else - enable_libc=yes -fi - -if test x$enable_libc = xyes; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_LIBC 1 -_ACEOF - - - { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_header_stdc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdc=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - - - - - - - - - - - - - - - - -for ac_header in sys/types.h stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h strings.h inttypes.h stdint.h ctype.h math.h iconv.h signal.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 -$as_echo_n "checking $ac_header usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 -$as_echo_n "checking $ac_header presence... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - eval "$as_ac_Header=\$ac_header_preproc" -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - -fi -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - { $as_echo "$as_me:$LINENO: checking for size_t" >&5 -$as_echo_n "checking for size_t... " >&6; } -if test "${ac_cv_type_size_t+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_type_size_t=no -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -if (sizeof (size_t)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -if (sizeof ((size_t))) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_size_t=yes -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 -$as_echo "$ac_cv_type_size_t" >&6; } -if test "x$ac_cv_type_size_t" = x""yes; then - : -else - -cat >>confdefs.h <<_ACEOF -#define size_t unsigned int -_ACEOF - -fi - - if test x$ac_cv_header_inttypes_h = xyes -o x$ac_cv_header_stdint_h = xyes; then - { $as_echo "$as_me:$LINENO: checking for int64_t" >&5 -$as_echo_n "checking for int64_t... " >&6; } -if test "${ac_cv_type_int64_t+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_type_int64_t=no -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -if (sizeof (int64_t)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -if (sizeof ((int64_t))) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_int64_t=yes -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 -$as_echo "$ac_cv_type_int64_t" >&6; } - - if test x$ac_cv_type_int64_t = xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_HAS_64BIT_TYPE 1 -_ACEOF - - fi - have_inttypes=yes - fi - - case "$host" in - *-*-cygwin* | *-*-mingw32*) - ;; - *) - # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works -# for constant arguments. Useless! -{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 -$as_echo_n "checking for working alloca.h... " >&6; } -if test "${ac_cv_working_alloca_h+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -int -main () -{ -char *p = (char *) alloca (2 * sizeof (int)); - if (p) return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_working_alloca_h=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_working_alloca_h=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 -$as_echo "$ac_cv_working_alloca_h" >&6; } -if test $ac_cv_working_alloca_h = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_ALLOCA_H 1 -_ACEOF - -fi - -{ $as_echo "$as_me:$LINENO: checking for alloca" >&5 -$as_echo_n "checking for alloca... " >&6; } -if test "${ac_cv_func_alloca_works+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifdef __GNUC__ -# define alloca __builtin_alloca -#else -# ifdef _MSC_VER -# include -# define alloca _alloca -# else -# ifdef HAVE_ALLOCA_H -# include -# else -# ifdef _AIX - #pragma alloca -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); -# endif -# endif -# endif -# endif -#endif - -int -main () -{ -char *p = (char *) alloca (1); - if (p) return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_alloca_works=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_alloca_works=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 -$as_echo "$ac_cv_func_alloca_works" >&6; } - -if test $ac_cv_func_alloca_works = yes; then - -cat >>confdefs.h <<\_ACEOF -#define HAVE_ALLOCA 1 -_ACEOF - -else - # The SVR3 libPW and SVR4 libucb both contain incompatible functions -# that cause trouble. Some versions do not even contain alloca or -# contain a buggy version. If you still want to use their alloca, -# use ar to extract alloca.o from them instead of compiling alloca.c. - -ALLOCA=\${LIBOBJDIR}alloca.$ac_objext - -cat >>confdefs.h <<\_ACEOF -#define C_ALLOCA 1 -_ACEOF - - -{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 -$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } -if test "${ac_cv_os_cray+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#if defined CRAY && ! defined CRAY2 -webecray -#else -wenotbecray -#endif - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "webecray" >/dev/null 2>&1; then - ac_cv_os_cray=yes -else - ac_cv_os_cray=no -fi -rm -f conftest* - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 -$as_echo "$ac_cv_os_cray" >&6; } -if test $ac_cv_os_cray = yes; then - for ac_func in _getb67 GETB67 getb67; do - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 -$as_echo_n "checking for $ac_func... " >&6; } -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$ac_func || defined __stub___$ac_func -choke me -#endif - -int -main () -{ -return $ac_func (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - eval "$as_ac_var=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_var=no" -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_var'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_var'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - -cat >>confdefs.h <<_ACEOF -#define CRAY_STACKSEG_END $ac_func -_ACEOF - - break -fi - - done -fi - -{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 -$as_echo_n "checking stack direction for C alloca... " >&6; } -if test "${ac_cv_c_stack_direction+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then - ac_cv_c_stack_direction=0 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -find_stack_direction () -{ - static char *addr = 0; - auto char dummy; - if (addr == 0) - { - addr = &dummy; - return find_stack_direction (); - } - else - return (&dummy > addr) ? 1 : -1; -} - -int -main () -{ - return find_stack_direction () < 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_c_stack_direction=1 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_c_stack_direction=-1 -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 -$as_echo "$ac_cv_c_stack_direction" >&6; } - -cat >>confdefs.h <<_ACEOF -#define STACK_DIRECTION $ac_cv_c_stack_direction -_ACEOF - - -fi - - ;; - esac - - { $as_echo "$as_me:$LINENO: checking for working memcmp" >&5 -$as_echo_n "checking for working memcmp... " >&6; } -if test "${ac_cv_func_memcmp_working+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then - ac_cv_func_memcmp_working=no -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ - - /* Some versions of memcmp are not 8-bit clean. */ - char c0 = '\100', c1 = '\200', c2 = '\201'; - if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) - return 1; - - /* The Next x86 OpenStep bug shows up only when comparing 16 bytes - or more and with at least one buffer not starting on a 4-byte boundary. - William Lewis provided this test program. */ - { - char foo[21]; - char bar[21]; - int i; - for (i = 0; i < 4; i++) - { - char *a = foo + i; - char *b = bar + i; - strcpy (a, "--------01111111"); - strcpy (b, "--------10000000"); - if (memcmp (a, b, 16) >= 0) - return 1; - } - return 0; - } - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_memcmp_working=yes -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_func_memcmp_working=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 -$as_echo "$ac_cv_func_memcmp_working" >&6; } -test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in - *" memcmp.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" - ;; -esac - - - if test x$ac_cv_func_memcmp_working = xyes; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_MEMCMP 1 -_ACEOF - - fi - { $as_echo "$as_me:$LINENO: checking for working strtod" >&5 -$as_echo_n "checking for working strtod... " >&6; } -if test "${ac_cv_func_strtod+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then - ac_cv_func_strtod=no -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -$ac_includes_default -#ifndef strtod -double strtod (); -#endif -int -main() -{ - { - /* Some versions of Linux strtod mis-parse strings with leading '+'. */ - char *string = " +69"; - char *term; - double value; - value = strtod (string, &term); - if (value != 69 || term != (string + 4)) - return 1; - } - - { - /* Under Solaris 2.4, strtod returns the wrong value for the - terminating character under some conditions. */ - char *string = "NaN"; - char *term; - strtod (string, &term); - if (term != string && *(term - 1) == 0) - return 1; - } - return 0; -} - -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_func_strtod=yes -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_func_strtod=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5 -$as_echo "$ac_cv_func_strtod" >&6; } -if test $ac_cv_func_strtod = no; then - case " $LIBOBJS " in - *" strtod.$ac_objext "* ) ;; - *) LIBOBJS="$LIBOBJS strtod.$ac_objext" - ;; -esac - -{ $as_echo "$as_me:$LINENO: checking for pow" >&5 -$as_echo_n "checking for pow... " >&6; } -if test "${ac_cv_func_pow+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define pow to an innocuous variant, in case declares pow. - For example, HP-UX 11i declares gettimeofday. */ -#define pow innocuous_pow - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char pow (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef pow - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pow (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_pow || defined __stub___pow -choke me -#endif - -int -main () -{ -return pow (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_pow=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_pow=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5 -$as_echo "$ac_cv_func_pow" >&6; } - -if test $ac_cv_func_pow = no; then - { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5 -$as_echo_n "checking for pow in -lm... " >&6; } -if test "${ac_cv_lib_m_pow+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pow (); -int -main () -{ -return pow (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_m_pow=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_m_pow=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 -$as_echo "$ac_cv_lib_m_pow" >&6; } -if test "x$ac_cv_lib_m_pow" = x""yes; then - POW_LIB=-lm -else - { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5 -$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;} -fi - -fi - -fi - - if test x$ac_cv_func_strtod = xyes; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_STRTOD 1 -_ACEOF - - fi - { $as_echo "$as_me:$LINENO: checking for mprotect" >&5 -$as_echo_n "checking for mprotect... " >&6; } -if test "${ac_cv_func_mprotect+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define mprotect to an innocuous variant, in case declares mprotect. - For example, HP-UX 11i declares gettimeofday. */ -#define mprotect innocuous_mprotect - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char mprotect (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef mprotect - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char mprotect (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_mprotect || defined __stub___mprotect -choke me -#endif - -int -main () -{ -return mprotect (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_func_mprotect=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_mprotect=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5 -$as_echo "$ac_cv_func_mprotect" >&6; } -if test "x$ac_cv_func_mprotect" = x""yes; then - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - #include - -int -main () -{ - - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - cat >>confdefs.h <<\_ACEOF -#define HAVE_MPROTECT 1 -_ACEOF - - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -for ac_func in malloc calloc realloc free getenv putenv unsetenv qsort abs bcopy memset memcpy memmove strlen strlcpy strlcat strdup _strrev _strupr _strlwr strchr strrchr strstr itoa _ltoa _uitoa _ultoa strtol strtoul _i64toa _ui64toa strtoll strtoull atoi atof strcmp strncmp _stricmp strcasecmp _strnicmp strncasecmp sscanf snprintf vsnprintf iconv sigaction setjmp nanosleep -do -as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 -$as_echo_n "checking for $ac_func... " >&6; } -if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* Define $ac_func to an innocuous variant, in case declares $ac_func. - For example, HP-UX 11i declares gettimeofday. */ -#define $ac_func innocuous_$ac_func - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef $ac_func - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $ac_func (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$ac_func || defined __stub___$ac_func -choke me -#endif - -int -main () -{ -return $ac_func (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - eval "$as_ac_var=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_var=no" -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_var'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_var'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - - { $as_echo "$as_me:$LINENO: checking for libiconv_open in -liconv" >&5 -$as_echo_n "checking for libiconv_open in -liconv... " >&6; } -if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-liconv $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char libiconv_open (); -int -main () -{ -return libiconv_open (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_iconv_libiconv_open=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_iconv_libiconv_open=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_libiconv_open" >&5 -$as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; } -if test "x$ac_cv_lib_iconv_libiconv_open" = x""yes; then - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -liconv" -fi - - { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5 -$as_echo_n "checking for pow in -lm... " >&6; } -if test "${ac_cv_lib_m_pow+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char pow (); -int -main () -{ -return pow (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_m_pow=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_m_pow=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5 -$as_echo "$ac_cv_lib_m_pow" >&6; } -if test "x$ac_cv_lib_m_pow" = x""yes; then - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lm" -fi - -fi - -if test x$have_inttypes != xyes; then - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:$LINENO: checking size of char" >&5 -$as_echo_n "checking size of char... " >&6; } -if test "${ac_cv_sizeof_char+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_char=$ac_lo;; -'') if test "$ac_cv_type_char" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (char) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_char=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -static long int longval () { return (long int) (sizeof (char)); } -static unsigned long int ulongval () { return (long int) (sizeof (char)); } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (char))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (char)))) - return 1; - fprintf (f, "%ld", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (char)))) - return 1; - fprintf (f, "%lu", i); - } - /* Do not output a trailing newline, as this causes \r\n confusion - on some platforms. */ - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_char=`cat conftest.val` -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_char" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (char) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_char=0 - fi -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 -$as_echo "$ac_cv_sizeof_char" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_CHAR $ac_cv_sizeof_char -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:$LINENO: checking size of short" >&5 -$as_echo_n "checking size of short... " >&6; } -if test "${ac_cv_sizeof_short+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_short=$ac_lo;; -'') if test "$ac_cv_type_short" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (short) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_short=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -static long int longval () { return (long int) (sizeof (short)); } -static unsigned long int ulongval () { return (long int) (sizeof (short)); } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (short))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (short)))) - return 1; - fprintf (f, "%ld", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (short)))) - return 1; - fprintf (f, "%lu", i); - } - /* Do not output a trailing newline, as this causes \r\n confusion - on some platforms. */ - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_short=`cat conftest.val` -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_short" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (short) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_short=0 - fi -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 -$as_echo "$ac_cv_sizeof_short" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_SHORT $ac_cv_sizeof_short -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:$LINENO: checking size of int" >&5 -$as_echo_n "checking size of int... " >&6; } -if test "${ac_cv_sizeof_int+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_int=$ac_lo;; -'') if test "$ac_cv_type_int" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (int) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_int=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -static long int longval () { return (long int) (sizeof (int)); } -static unsigned long int ulongval () { return (long int) (sizeof (int)); } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (int))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (int)))) - return 1; - fprintf (f, "%ld", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (int)))) - return 1; - fprintf (f, "%lu", i); - } - /* Do not output a trailing newline, as this causes \r\n confusion - on some platforms. */ - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_int=`cat conftest.val` -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_int" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (int) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_int=0 - fi -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 -$as_echo "$ac_cv_sizeof_int" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_INT $ac_cv_sizeof_int -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:$LINENO: checking size of long" >&5 -$as_echo_n "checking size of long... " >&6; } -if test "${ac_cv_sizeof_long+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_long=$ac_lo;; -'') if test "$ac_cv_type_long" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (long) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_long=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -static long int longval () { return (long int) (sizeof (long)); } -static unsigned long int ulongval () { return (long int) (sizeof (long)); } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (long))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (long)))) - return 1; - fprintf (f, "%ld", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (long)))) - return 1; - fprintf (f, "%lu", i); - } - /* Do not output a trailing newline, as this causes \r\n confusion - on some platforms. */ - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_long=`cat conftest.val` -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_long" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (long) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_long=0 - fi -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 -$as_echo "$ac_cv_sizeof_long" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG $ac_cv_sizeof_long -_ACEOF - - - # The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ $as_echo "$as_me:$LINENO: checking size of long long" >&5 -$as_echo_n "checking size of long long... " >&6; } -if test "${ac_cv_sizeof_long_long+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_long_long=$ac_lo;; -'') if test "$ac_cv_type_long_long" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (long long) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_long_long=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -static long int longval () { return (long int) (sizeof (long long)); } -static unsigned long int ulongval () { return (long int) (sizeof (long long)); } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (long long))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (long long)))) - return 1; - fprintf (f, "%ld", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (long long)))) - return 1; - fprintf (f, "%lu", i); - } - /* Do not output a trailing newline, as this causes \r\n confusion - on some platforms. */ - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_long_long=`cat conftest.val` -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_long_long" = yes; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute sizeof (long long) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } - else - ac_cv_sizeof_long_long=0 - fi -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 -$as_echo "$ac_cv_sizeof_long_long" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long -_ACEOF - - - if test x$ac_cv_sizeof_char = x1; then - cat >>confdefs.h <<\_ACEOF -#define int8_t signed char -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define uint8_t unsigned char -_ACEOF - - fi - if test x$ac_cv_sizeof_short = x2; then - cat >>confdefs.h <<\_ACEOF -#define int16_t signed short -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define uint16_t unsigned short -_ACEOF - - else - if test x$ac_cv_sizeof_int = x2; then - cat >>confdefs.h <<\_ACEOF -#define int16_t signed int -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define uint16_t unsigned int -_ACEOF - - fi - fi - if test x$ac_cv_sizeof_int = x4; then - cat >>confdefs.h <<\_ACEOF -#define int32_t signed int -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define uint32_t unsigned int -_ACEOF - - else - if test x$ac_cv_sizeof_long = x4; then - cat >>confdefs.h <<\_ACEOF -#define int32_t signed long -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define uint32_t unsigned long -_ACEOF - - fi - fi - if test x$ac_cv_sizeof_long = x8; then - cat >>confdefs.h <<\_ACEOF -#define int64_t signed long -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define uint64_t unsigned long -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define SDL_HAS_64BIT_TYPE 1 -_ACEOF - - else - if test x$ac_cv_sizeof_long_long = x8; then - cat >>confdefs.h <<\_ACEOF -#define int64_t signed long long -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define uint64_t unsigned long long -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define SDL_HAS_64BIT_TYPE 1 -_ACEOF - - fi - fi - cat >>confdefs.h <<\_ACEOF -#define size_t unsigned int -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define uintptr_t unsigned long -_ACEOF - -fi - -# Standard C sources -SOURCES="$SOURCES $srcdir/src/*.c" -SOURCES="$SOURCES $srcdir/src/audio/*.c" -SOURCES="$SOURCES $srcdir/src/cdrom/*.c" -SOURCES="$SOURCES $srcdir/src/cpuinfo/*.c" -SOURCES="$SOURCES $srcdir/src/events/*.c" -SOURCES="$SOURCES $srcdir/src/file/*.c" -SOURCES="$SOURCES $srcdir/src/stdlib/*.c" -SOURCES="$SOURCES $srcdir/src/thread/*.c" -SOURCES="$SOURCES $srcdir/src/timer/*.c" -SOURCES="$SOURCES $srcdir/src/video/*.c" - - -# Check whether --enable-audio was given. -if test "${enable_audio+set}" = set; then - enableval=$enable_audio; -else - enable_audio=yes -fi - -if test x$enable_audio != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-video was given. -if test "${enable_video+set}" = set; then - enableval=$enable_video; -else - enable_video=yes -fi - -if test x$enable_video != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_VIDEO_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-events was given. -if test "${enable_events+set}" = set; then - enableval=$enable_events; -else - enable_events=yes -fi - -if test x$enable_events != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_EVENTS_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-joystick was given. -if test "${enable_joystick+set}" = set; then - enableval=$enable_joystick; -else - enable_joystick=yes -fi - -if test x$enable_joystick != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_JOYSTICK_DISABLED 1 -_ACEOF - -else - SOURCES="$SOURCES $srcdir/src/joystick/*.c" -fi -# Check whether --enable-cdrom was given. -if test "${enable_cdrom+set}" = set; then - enableval=$enable_cdrom; -else - enable_cdrom=yes -fi - -if test x$enable_cdrom != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_CDROM_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-threads was given. -if test "${enable_threads+set}" = set; then - enableval=$enable_threads; -else - enable_threads=yes -fi - -if test x$enable_threads != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_THREADS_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-timers was given. -if test "${enable_timers+set}" = set; then - enableval=$enable_timers; -else - enable_timers=yes -fi - -if test x$enable_timers != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_TIMERS_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-file was given. -if test "${enable_file+set}" = set; then - enableval=$enable_file; -else - enable_file=yes -fi - -if test x$enable_file != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_FILE_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-loadso was given. -if test "${enable_loadso+set}" = set; then - enableval=$enable_loadso; -else - enable_loadso=yes -fi - -if test x$enable_loadso != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_LOADSO_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-cpuinfo was given. -if test "${enable_cpuinfo+set}" = set; then - enableval=$enable_cpuinfo; -else - enable_cpuinfo=yes -fi - -if test x$enable_cpuinfo != xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_CPUINFO_DISABLED 1 -_ACEOF - -fi -# Check whether --enable-assembly was given. -if test "${enable_assembly+set}" = set; then - enableval=$enable_assembly; -else - enable_assembly=yes -fi - -if test x$enable_assembly = xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_ASSEMBLY_ROUTINES 1 -_ACEOF - -fi - -CheckOSS() -{ - # Check whether --enable-oss was given. -if test "${enable_oss+set}" = set; then - enableval=$enable_oss; -else - enable_oss=yes -fi - - if test x$enable_audio = xyes -a x$enable_oss = xyes; then - { $as_echo "$as_me:$LINENO: checking for OSS audio support" >&5 -$as_echo_n "checking for OSS audio support... " >&6; } - have_oss=no - if test x$have_oss != xyes; then - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - -int -main () -{ - - int arg = SNDCTL_DSP_SETFRAGMENT; - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - have_oss=yes - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - if test x$have_oss != xyes; then - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - -int -main () -{ - - int arg = SNDCTL_DSP_SETFRAGMENT; - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - have_oss=yes - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H 1 -_ACEOF - - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi - { $as_echo "$as_me:$LINENO: result: $have_oss" >&5 -$as_echo "$have_oss" >&6; } - if test x$have_oss = xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DRIVER_OSS 1 -_ACEOF - - SOURCES="$SOURCES $srcdir/src/audio/dsp/*.c" - SOURCES="$SOURCES $srcdir/src/audio/dma/*.c" - have_audio=yes - - # We may need to link with ossaudio emulation library - case "$host" in - *-*-openbsd*|*-*-netbsd*) - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lossaudio";; - esac - fi - fi -} - -CheckALSA() -{ - # Check whether --enable-alsa was given. -if test "${enable_alsa+set}" = set; then - enableval=$enable_alsa; -else - enable_alsa=yes -fi - - if test x$enable_audio = xyes -a x$enable_alsa = xyes; then - alsa_save_CFLAGS="$CFLAGS" -alsa_save_LDFLAGS="$LDFLAGS" -alsa_save_LIBS="$LIBS" -alsa_found=yes - - -# Check whether --with-alsa-prefix was given. -if test "${with_alsa_prefix+set}" = set; then - withval=$with_alsa_prefix; alsa_prefix="$withval" -else - alsa_prefix="" -fi - - - -# Check whether --with-alsa-inc-prefix was given. -if test "${with_alsa_inc_prefix+set}" = set; then - withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval" -else - alsa_inc_prefix="" -fi - - -# Check whether --enable-alsatest was given. -if test "${enable_alsatest+set}" = set; then - enableval=$enable_alsatest; enable_alsatest="$enableval" -else - enable_alsatest=yes -fi - - -{ $as_echo "$as_me:$LINENO: checking for ALSA CFLAGS" >&5 -$as_echo_n "checking for ALSA CFLAGS... " >&6; } -if test "$alsa_inc_prefix" != "" ; then - ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" - CFLAGS="$CFLAGS -I$alsa_inc_prefix" -fi -{ $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 -$as_echo "$ALSA_CFLAGS" >&6; } - -{ $as_echo "$as_me:$LINENO: checking for ALSA LDFLAGS" >&5 -$as_echo_n "checking for ALSA LDFLAGS... " >&6; } -if test "$alsa_prefix" != "" ; then - ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" - LDFLAGS="$LDFLAGS $ALSA_LIBS" -fi - -ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" -LIBS=`echo $LIBS | sed 's/-lm//'` -LIBS=`echo $LIBS | sed 's/-ldl//'` -LIBS=`echo $LIBS | sed 's/-lpthread//'` -LIBS=`echo $LIBS | sed 's/ //'` -LIBS="$ALSA_LIBS $LIBS" -{ $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 -$as_echo "$ALSA_LIBS" >&6; } - -min_alsa_version=0.9.0 -{ $as_echo "$as_me:$LINENO: checking for libasound headers version >= $min_alsa_version" >&5 -$as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; } -no_alsa="" - alsa_min_major_version=`echo $min_alsa_version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` - alsa_min_minor_version=`echo $min_alsa_version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` - alsa_min_micro_version=`echo $min_alsa_version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include - -int -main () -{ - -/* ensure backward compatibility */ -#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) -#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR -#endif -#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) -#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR -#endif -#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) -#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR -#endif - -# if(SND_LIB_MAJOR > $alsa_min_major_version) - exit(0); -# else -# if(SND_LIB_MAJOR < $alsa_min_major_version) -# error not present -# endif - -# if(SND_LIB_MINOR > $alsa_min_minor_version) - exit(0); -# else -# if(SND_LIB_MINOR < $alsa_min_minor_version) -# error not present -# endif - -# if(SND_LIB_SUBMINOR < $alsa_min_micro_version) -# error not present -# endif -# endif -# endif -exit(0); - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - { $as_echo "$as_me:$LINENO: result: found." >&5 -$as_echo "found." >&6; } -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - { $as_echo "$as_me:$LINENO: result: not present." >&5 -$as_echo "not present." >&6; } - - alsa_found=no - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -if test "x$enable_alsatest" = "xyes"; then - -{ $as_echo "$as_me:$LINENO: checking for snd_ctl_open in -lasound" >&5 -$as_echo_n "checking for snd_ctl_open in -lasound... " >&6; } -if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lasound $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char snd_ctl_open (); -int -main () -{ -return snd_ctl_open (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_asound_snd_ctl_open=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_asound_snd_ctl_open=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_ctl_open" >&5 -$as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; } -if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBASOUND 1 -_ACEOF - - LIBS="-lasound $LIBS" - -else - - alsa_found=no - -fi - -fi - -if test "x$alsa_found" = "xyes" ; then - have_alsa=yes - LIBS=`echo $LIBS | sed 's/-lasound//g'` - LIBS=`echo $LIBS | sed 's/ //'` - LIBS="-lasound $LIBS" -fi -if test "x$alsa_found" = "xno" ; then - have_alsa=no - CFLAGS="$alsa_save_CFLAGS" - LDFLAGS="$alsa_save_LDFLAGS" - LIBS="$alsa_save_LIBS" - ALSA_CFLAGS="" - ALSA_LIBS="" -fi - - - - - # Restore all flags from before the ALSA detection runs - CFLAGS="$alsa_save_CFLAGS" - LDFLAGS="$alsa_save_LDFLAGS" - LIBS="$alsa_save_LIBS" - if test x$have_alsa = xyes; then - # Check whether --enable-alsa-shared was given. -if test "${enable_alsa_shared+set}" = set; then - enableval=$enable_alsa_shared; -else - enable_alsa_shared=yes -fi - - alsa_lib=`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'` - - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DRIVER_ALSA 1 -_ACEOF - - SOURCES="$SOURCES $srcdir/src/audio/alsa/*.c" - EXTRA_CFLAGS="$EXTRA_CFLAGS $ALSA_CFLAGS" - if test x$have_loadso != xyes && \ - test x$enable_alsa_shared = xyes; then - { $as_echo "$as_me:$LINENO: WARNING: You must have SDL_LoadObject() support for dynamic ALSA loading" >&5 -$as_echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ALSA loading" >&2;} - fi - if test x$have_loadso = xyes && \ - test x$enable_alsa_shared = xyes && test x$alsa_lib != x; then - echo "-- dynamic libasound -> $alsa_lib" - cat >>confdefs.h <<_ACEOF -#define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "$alsa_lib" -_ACEOF - - else - EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ALSA_LIBS" - fi - have_audio=yes - fi - fi -} - -CheckDMEDIA() -{ - if test x$enable_audio = xyes; then - { $as_echo "$as_me:$LINENO: checking for dmedia audio support" >&5 -$as_echo_n "checking for dmedia audio support... " >&6; } - have_dmedia=no - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - -int -main () -{ - - ALport audio_port; - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - have_dmedia=yes - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - { $as_echo "$as_me:$LINENO: result: $have_dmedia" >&5 -$as_echo "$have_dmedia" >&6; } - # Set up files for the audio library - if test x$have_dmedia = xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DRIVER_DMEDIA 1 -_ACEOF - - SOURCES="$SOURCES $srcdir/src/audio/dmedia/*.c" - EXTRA_LDFLAGS="$EXTRA_LDFLAGS -laudio" - have_audio=yes - fi - fi -} - -CheckMME() -{ - case $ARCH in - osf) - ;; - *) - return - ;; - esac - if test x$enable_audio = xyes; then - { $as_echo "$as_me:$LINENO: checking for MME audio support" >&5 -$as_echo_n "checking for MME audio support... " >&6; } - MME_CFLAGS="-I/usr/include/mme" - MME_LIBS="-lmme" - have_mme=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $MME_CFLAGS" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - -int -main () -{ - - HWAVEOUT sound; - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - have_mme=yes - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - { $as_echo "$as_me:$LINENO: result: $have_mme" >&5 -$as_echo "$have_mme" >&6; } - # Set up files for the audio library - if test x$have_mme = xyes; then - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DRIVER_MMEAUDIO 1 -_ACEOF - - SOURCES="$SOURCES $srcdir/src/audio/mme/*.c" - EXTRA_CFLAGS="$EXTRA_CFLAGS $MME_CFLAGS" - EXTRA_LDFLAGS="$EXTRA_LDFLAGS $MME_LIBS" - have_audio=yes - fi - fi -} - -CheckESD() -{ - # Check whether --enable-esd was given. -if test "${enable_esd+set}" = set; then - enableval=$enable_esd; -else - enable_esd=yes -fi - - if test x$enable_audio = xyes -a x$enable_esd = xyes; then - -# Check whether --with-esd-prefix was given. -if test "${with_esd_prefix+set}" = set; then - withval=$with_esd_prefix; esd_prefix="$withval" -else - esd_prefix="" -fi - - -# Check whether --with-esd-exec-prefix was given. -if test "${with_esd_exec_prefix+set}" = set; then - withval=$with_esd_exec_prefix; esd_exec_prefix="$withval" -else - esd_exec_prefix="" -fi - -# Check whether --enable-esdtest was given. -if test "${enable_esdtest+set}" = set; then - enableval=$enable_esdtest; -else - enable_esdtest=yes -fi - - - if test x$esd_exec_prefix != x ; then - esd_args="$esd_args --exec-prefix=$esd_exec_prefix" - if test x${ESD_CONFIG+set} != xset ; then - ESD_CONFIG=$esd_exec_prefix/bin/esd-config - fi - fi - if test x$esd_prefix != x ; then - esd_args="$esd_args --prefix=$esd_prefix" - if test x${ESD_CONFIG+set} != xset ; then - ESD_CONFIG=$esd_prefix/bin/esd-config - fi - fi - - # Extract the first word of "esd-config", so it can be a program name with args. -set dummy esd-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ESD_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $ESD_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no" - ;; -esac -fi -ESD_CONFIG=$ac_cv_path_ESD_CONFIG -if test -n "$ESD_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $ESD_CONFIG" >&5 -$as_echo "$ESD_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - min_esd_version=0.2.8 - { $as_echo "$as_me:$LINENO: checking for ESD - version >= $min_esd_version" >&5 -$as_echo_n "checking for ESD - version >= $min_esd_version... " >&6; } - no_esd="" - if test "$ESD_CONFIG" = "no" ; then - no_esd=yes - else - ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags` - ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs` - - esd_major_version=`$ESD_CONFIG $esd_args --version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` - esd_minor_version=`$ESD_CONFIG $esd_args --version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` - esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \ - sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` - if test "x$enable_esdtest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $ESD_CFLAGS" - LIBS="$LIBS $ESD_LIBS" - rm -f conf.esdtest - if test "$cross_compiling" = yes; then - echo $ac_n "cross compiling; assumed OK... $ac_c" -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include -#include -#include - -char* -my_strdup (char *str) -{ - char *new_str; - - if (str) - { - new_str = malloc ((strlen (str) + 1) * sizeof(char)); - strcpy (new_str, str); - } - else - new_str = NULL; - - return new_str; -} - -int main () -{ - int major, minor, micro; - char *tmp_version; - - system ("touch conf.esdtest"); - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = my_strdup("$min_esd_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_esd_version"); - exit(1); - } - - if (($esd_major_version > major) || - (($esd_major_version == major) && ($esd_minor_version > minor)) || - (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version); - printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro); - printf("*** best to upgrade to the required version.\n"); - printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n"); - printf("*** to point to the correct copy of esd-config, and remove the file\n"); - printf("*** config.cache before re-running configure\n"); - return 1; - } -} - - -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -no_esd=yes -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_esd" = x ; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - have_esd=yes - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - if test "$ESD_CONFIG" = "no" ; then - echo "*** The esd-config script installed by ESD could not be found" - echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the ESD_CONFIG environment variable to the" - echo "*** full path to esd-config." - else - if test -f conf.esdtest ; then - : - else - echo "*** Could not run ESD test program, checking why..." - CFLAGS="$CFLAGS $ESD_CFLAGS" - LIBS="$LIBS $ESD_LIBS" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -#include -#include - -int -main () -{ - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding ESD or finding the wrong" - echo "*** version of ESD. If it is not finding ESD, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means ESD was incorrectly installed" - echo "*** or that you have moved ESD since it was installed. In the latter case, you" - echo "*** may want to edit the esd-config script: $ESD_CONFIG" -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - ESD_CFLAGS="" - ESD_LIBS="" - have_esd=no - fi - - - rm -f conf.esdtest - - if test x$have_esd = xyes; then - # Check whether --enable-esd-shared was given. -if test "${enable_esd_shared+set}" = set; then - enableval=$enable_esd_shared; -else - enable_esd_shared=yes -fi - - esd_lib=`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'` - - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DRIVER_ESD 1 -_ACEOF - - SOURCES="$SOURCES $srcdir/src/audio/esd/*.c" - EXTRA_CFLAGS="$EXTRA_CFLAGS $ESD_CFLAGS" - if test x$have_loadso != xyes && \ - test x$enable_esd_shared = xyes; then - { $as_echo "$as_me:$LINENO: WARNING: You must have SDL_LoadObject() support for dynamic ESD loading" >&5 -$as_echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ESD loading" >&2;} - fi - if test x$have_loadso = xyes && \ - test x$enable_esd_shared = xyes && test x$esd_lib != x; then - echo "-- dynamic libesd -> $esd_lib" - cat >>confdefs.h <<_ACEOF -#define SDL_AUDIO_DRIVER_ESD_DYNAMIC "$esd_lib" -_ACEOF - - else - EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ESD_LIBS" - fi - have_audio=yes - fi - fi -} - -CheckPulseAudio() -{ - # Check whether --enable-pulseaudio was given. -if test "${enable_pulseaudio+set}" = set; then - enableval=$enable_pulseaudio; -else - enable_pulseaudio=yes -fi - - if test x$enable_audio = xyes -a x$enable_pulseaudio = xyes; then - audio_pulse=no - - PULSE_REQUIRED_VERSION=0.9 - - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - { $as_echo "$as_me:$LINENO: checking for PulseAudio $PULSE_REQUIRED_VERSION support" >&5 -$as_echo_n "checking for PulseAudio $PULSE_REQUIRED_VERSION support... " >&6; } - if test x$PKG_CONFIG != xno; then - if $PKG_CONFIG --atleast-pkgconfig-version 0.7 && $PKG_CONFIG --atleast-version $PULSE_REQUIRED_VERSION libpulse-simple; then - PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse-simple` - PULSE_LIBS=`$PKG_CONFIG --libs libpulse-simple` - audio_pulse=yes - fi - fi - { $as_echo "$as_me:$LINENO: result: $audio_pulse" >&5 -$as_echo "$audio_pulse" >&6; } - - if test x$audio_pulse = xyes; then - # Check whether --enable-pulseaudio-shared was given. -if test "${enable_pulseaudio_shared+set}" = set; then - enableval=$enable_pulseaudio_shared; -else - enable_pulseaudio_shared=yes -fi - - pulse_lib=`find_lib "libpulse-simple.so.*" "$PULSE_LIBS" | sed 's/.*\/\(.*\)/\1/; q'` - - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DRIVER_PULSE 1 -_ACEOF - - SOURCES="$SOURCES $srcdir/src/audio/pulse/*.c" - EXTRA_CFLAGS="$EXTRA_CFLAGS $PULSE_CFLAGS" - if test x$have_loadso != xyes && \ - test x$enable_pulseaudio_shared = xyes; then - { $as_echo "$as_me:$LINENO: WARNING: You must have SDL_LoadObject() support for dynamic PulseAudio loading" >&5 -$as_echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic PulseAudio loading" >&2;} - fi - if test x$have_loadso = xyes && \ - test x$enable_pulseaudio_shared = xyes && test x$pulse_lib != x; then - echo "-- dynamic libpulse-simple -> $pulse_lib" - cat >>confdefs.h <<_ACEOF -#define SDL_AUDIO_DRIVER_PULSE_DYNAMIC "$pulse_lib" -_ACEOF - - else - EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PULSE_LIBS" - fi - have_audio=yes - fi - fi -} - -CheckARTSC() -{ - # Check whether --enable-arts was given. -if test "${enable_arts+set}" = set; then - enableval=$enable_arts; -else - enable_arts=yes -fi - - if test x$enable_audio = xyes -a x$enable_arts = xyes; then - # Extract the first word of "artsc-config", so it can be a program name with args. -set dummy artsc-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ARTSCONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $ARTSCONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ARTSCONFIG="$ARTSCONFIG" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ARTSCONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ARTSCONFIG=$ac_cv_path_ARTSCONFIG -if test -n "$ARTSCONFIG"; then - { $as_echo "$as_me:$LINENO: result: $ARTSCONFIG" >&5 -$as_echo "$ARTSCONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - if test x$ARTSCONFIG = x -o x$ARTSCONFIG = x'"$ARTSCONFIG"'; then - : # arts isn't installed - else - ARTS_CFLAGS=`$ARTSCONFIG --cflags` - ARTS_LIBS=`$ARTSCONFIG --libs` - { $as_echo "$as_me:$LINENO: checking for aRts development environment" >&5 -$as_echo_n "checking for aRts development environment... " >&6; } - audio_arts=no - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $ARTS_CFLAGS" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - -int -main () -{ - - arts_stream_t stream; - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - - audio_arts=yes - -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" - { $as_echo "$as_me:$LINENO: result: $audio_arts" >&5 -$as_echo "$audio_arts" >&6; } - if test x$audio_arts = xyes; then - # Check whether --enable-arts-shared was given. -if test "${enable_arts_shared+set}" = set; then - enableval=$enable_arts_shared; -else - enable_arts_shared=yes -fi - - arts_lib=`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'` - - cat >>confdefs.h <<\_ACEOF -#define SDL_AUDIO_DRIVER_ARTS 1 -_ACEOF - - SOURCES="$SOURCES $srcdir/src/audio/arts/*.c" - EXTRA_CFLAGS="$EXTRA_CFLAGS $ARTS_CFLAGS" - if test x$have_loadso != xyes && \ - test x$enable_arts_shared = xyes; then - { $as_echo "$as_me:$LINENO: WARNING: You must have SDL_LoadObject() support for dynamic ARTS loading" >&5 -$as_echo "$as_me: WARNING: You must have SDL_LoadObject() support for dynamic ARTS loading" >&2;} - fi - if test x$have_loadso = xyes && \ - test x$enable_arts_shared = xyes && test x$arts_lib != x; then - echo "-- dynamic libartsc -> $arts_lib" - cat >>confdefs.h <<_ACEOF -#define SDL_AUDIO_DRIVER_ARTS_DYNAMIC "$arts_lib" -_ACEOF - - else - EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ARTS_LIBS" - fi - have_audio=yes - fi - fi - fi -} - -CheckNAS() -{ - # Check whether --enable-nas was given. -if test "${enable_nas+set}" = set; then - enableval=$enable_nas; -else - enable_nas=yes -fi - - if test x$enable_audio = xyes -a x$enable_nas = xyes; then - if test "${ac_cv_header_audio_audiolib_h+set}" = set; then - { $as_echo "$as_me:$LINENO: checking for audio/audiolib.h" >&5 -$as_echo_n "checking for audio/audiolib.h... " >&6; } -if test "${ac_cv_header_audio_audiolib_h+set}" = set; then - $as_echo_n "(cached) " >&6 -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_audio_audiolib_h" >&5 -$as_echo "$ac_cv_header_audio_audiolib_h" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking audio/audiolib.h usability" >&5 -$as_echo_n "checking audio/audiolib.h usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include