Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alberta3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ians-nmh-siebert
alberta
alberta3
Commits
27566483
Commit
27566483
authored
14 years ago
by
Claus-Justus Heine
Browse files
Options
Downloads
Patches
Plain Diff
Mac OS X fixes.
parent
b1be2847
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure.ac
+14
-5
14 additions, 5 deletions
configure.ac
m4/grapeiface.m4
+3
-0
3 additions, 0 deletions
m4/grapeiface.m4
m4/opengl.m4
+1
-1
1 addition, 1 deletion
m4/opengl.m4
with
18 additions
and
6 deletions
configure.ac
+
14
−
5
View file @
27566483
...
...
@@ -493,8 +493,6 @@ FFLAGS="${ALBERTA_FFLAGS}"
AC_PROG_LIBTOOL
# Checks for libraries, headers, functions, declarations ...
AC_FUNC_OBSTACK
AM_CONDITIONAL(NEED_OBSTACK, [test ! "x${ac_cv_func_obstack}" = "xyes"])
# Check for libraries
AC_CHECK_LIB([m],[main],,
...
...
@@ -503,10 +501,18 @@ AC_CHECK_LIB([m],[main],,
# Check for header files.
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([math.h stdlib.h unistd.h string.h
rpc/types.h rpc/xdr.h
],,
AC_CHECK_HEADERS([math.h stdlib.h unistd.h string.h],,
[AC_MSG_ERROR([Sorry, these are needed..])])
AC_CHECK_HEADERS([malloc.h])
#
# rpc/xdr.h depends on rpc/types.h, at least on mac os x
#
AC_CHECK_HEADERS([rpc/types.h],,[AC_MSG_ERROR([Sorry, rpc/types.h is needed.])])
AC_CHECK_HEADERS([rpc/xdr.h],,[AC_MSG_ERROR([Sorry, rpc/xdr.h is needed.])],
[#ifdef HAVE_RPC_TYPES_H
# include <rpc/types.h>
#endif])
#
# try to pull in some special features (but make sure to supply
...
...
@@ -580,8 +586,11 @@ AC_CHECK_FUNCS([unsetenv])
AC_CHECK_FUNCS([getopt_long],[],
[AC_LIBOBJ([getopt])
AC_LIBOBJ([getopt1])
NEED_GETOPT=1
GNUCOMPAT_INCLUDE_PATH='-I$(top_srcdir)/gnu-compat/'])
NEED_GETOPT=1])
AC_FUNC_OBSTACK
AM_CONDITIONAL(NEED_OBSTACK, [test ! "x${ac_cv_func_obstack}" = "xyes"])
GNUCOMPAT_INCLUDE_PATH='-I$(top_srcdir)/gnu-compat/'
AC_SUBST([GNUCOMPAT_INCLUDE_PATH])
AM_CONDITIONAL(NEED_GETOPT, [test "x${NEED_GETOPT}" = "x1"])
...
...
This diff is collapsed.
Click to expand it.
m4/grapeiface.m4
+
3
−
0
View file @
27566483
...
...
@@ -9,6 +9,9 @@ ALBERTA_CHECK_PACKAGE([grape],[gr],[grape],[],[${OPENGL_ALL_LIBS}],
[grape.h],[],[],[optional])
ALBERTA_LIB_PATHS='$prefix/lib'
ALBERTA_ALL_INCLUDES='-I$(top_srcdir)/alberta/src/Common/ -I$(top_srcdir)/alberta_util/src/ -I$(top_builddir)/alberta_util/src/'
if test ! "x${ac_cv_func_obstack}" = "xyes" || [test "x${NEED_GETOPT}" = "x1"]; then
ALBERTA_ALL_INCLUDES="${ALBERTA_ALL_INCLUDES} "'-I$(top_srcdir)/gnu-compat/'
fi
#
# ordinary libraries
...
...
This diff is collapsed.
Click to expand it.
m4/opengl.m4
+
1
−
1
View file @
27566483
...
...
@@ -6,7 +6,7 @@ AC_DEFUN([ALBERTA_OPENGL_CHECK],
AC_REQUIRE([ALBERTA_X_WINDOW_SYSTEM])
ALBERTA_CHECK_PACKAGE([OpenGL],[GL],[glXMakeCurrent],
[${x_libraries}],[${X_ALL_LIBS}],
[gl.h],[${x_includes:+${x_includes}
/GL
} ${includedir}
/GL
${oldincludedir}
/GL
],[${X_CFLAGS}],
[
GL/
gl.h],[${x_includes:+${x_includes}} ${includedir} ${oldincludedir}],[${X_CFLAGS}],
[optional])
# ALBERTA_OPENGL_CHECK stop
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment