Skip to content

Commit

Permalink
Remove superfluous glapi AM_CONDITIONAL()s
Browse files Browse the repository at this point in the history
These various conditionals are always true or false and hence can be
removed.

Signed-off-by: Brian Nguyen <[email protected]>
  • Loading branch information
brnguyen2 committed Nov 25, 2013
1 parent 09300ed commit c049055
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
8 changes: 0 additions & 8 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ fi
dnl Various conditionals.
AM_CONDITIONAL([GCC], [test x$GCC = xyes ])

AM_CONDITIONAL(HAVE_VND_GLAPI, true)
dnl HACK FIXME TODO
AM_CONDITIONAL(HAVE_SHARED_GLAPI, false)
AM_CONDITIONAL(HAVE_OPENGL, false)
AM_CONDITIONAL(HAVE_OPENGL_ES1, false)
AM_CONDITIONAL(HAVE_OPENGL_ES2, false)
AM_CONDITIONAL(HAVE_OPENVG, false)

dnl
dnl mapi top-relative paths: defined here so mapi can be used elsewhere
dnl
Expand Down
5 changes: 0 additions & 5 deletions src/GLdispatch/vnd-glapi/mapi/glapi/gen/gl_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,9 @@ def __init__(self, es=False):

def printBody(self, api):
for f in api.functionIterateByOffset():
if not f.is_abi() and not self.ifdef_emitted:
print '#if !defined HAVE_SHARED_GLAPI'
self.ifdef_emitted = True
arg_string = f.get_parameter_string()
print ' %s (GLAPIENTRYP %s)(%s); /* %d */' % (f.return_type, f.name, arg_string, f.offset)

print '#endif /* !defined HAVE_SHARED_GLAPI */'


def printRealHeader(self):
print '#ifndef GLAPIENTRYP'
Expand Down

0 comments on commit c049055

Please sign in to comment.