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
b1eed993
Commit
b1eed993
authored
23 years ago
by
Daniel Koester
Browse files
Options
Downloads
Patches
Plain Diff
Standard settings seems to work at last...
parent
03efe378
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.in
+16
-6
16 additions, 6 deletions
configure.in
with
16 additions
and
6 deletions
configure.in
+
16
−
6
View file @
b1eed993
...
...
@@ -23,11 +23,13 @@ dnl Checks for libraries.
dnl Replace `main' with a function in -lm:
AC_CHECK_LIB(m, main,,AC_MSG_ERROR(No lm library! Exiting...))
dnl Replace `main' with a function in -lX11:
dnl
AC_CHECK_LIB(X11, main,,AC_MSG_ERROR(Exiting...))
AC_CHECK_LIB(X11, main,,AC_MSG_ERROR(Exiting...))
dnl Replace `main' with a function in -lXext:
dnl
AC_CHECK_LIB(Xext, main,,AC_MSG_ERROR(Exiting...))
AC_CHECK_LIB(Xext, main,,AC_MSG_ERROR(Exiting...))
dnl Replace `main' with a function in -lGL:
AC_CHECK_LIB(GL, main)
dnl Replace `main' with a function in -lgl:
AC_CHECK_LIB(gl, main)
dnl Checks for header files.
AC_HEADER_STDC
...
...
@@ -64,16 +66,19 @@ dnl destroyed???)
dnl ******************************************************************************
plotansi_variable_source=PLOT_for_sun.c
plotansi_variable_object=PLOT_for_sun.lo
case "$build_vendor" in
*sgi*) AC_MSG_RESULT([Building for SGI system, using -n32 linker flag...])
object_type=-n32;;
object_type=-n32;;
*ibm*) AC_MSG_RESULT([Building for IBM system, affects PLOT_Ansi...])
plotansi_variable_source=PLOT_for_ibm.c;;
plotansi_variable_source=PLOT_for_ibm.c
plotansi_variable_object=PLOT_for_ibm.lo;;
esac
case "$build" in
*titan*) AC_MSG_RESULT([Building for TITAN cpu/vendor/system?, affects PLOT_Ansi...])
plotansi_variable_source=PLOT_for_tit.c;;
plotansi_variable_source=PLOT_for_tit.c
plotansi_variable_object=PLOT_for_tit.lo;;
esac
case "$build_os" in
...
...
@@ -89,7 +94,6 @@ esac
albert_variable_source=
gltools_include=
AC_MSG_CHECKING([for libgltools.a])
AC_ARG_WITH(gltools,
[ --with-gltools=PATH specify the path of the gltools library],
...
...
@@ -97,7 +101,9 @@ if test -f $withval/gltools-2-3/libgltools.a; then
AC_MSG_RESULT([Found libgltools.a in specified directory $withval/gltools-2-3.])
AC_DEFINE(HAVE_LIBGLTOOLS)
gltools_include="-I$withval/gltools-2-3"
gltools_lib="-L$withval/gltools-2-3"
albert_variable_source=gltools.c
albert_variable_object=gltools.lo
LIBS="-L$withval/gltools-2-3 -lgltools $LIBS"
else
AC_MSG_RESULT([No libgltools.a found in $withval/gltools-2-3.])
...
...
@@ -107,6 +113,7 @@ if test -f ./gltools-2-3/libgltools.a; then
AC_DEFINE(HAVE_LIBGLTOOLS)
gltools_include="-I`pwd`/gltools-2-3"
albert_variable_source=gltools.c
albert_variable_object=gltools.lo
LIBS="-L`pwd`/gltools-2-3 -lgltools $LIBS"
else
AC_MSG_RESULT([No libgltools.a found in ./gltools-2-3])
...
...
@@ -115,8 +122,11 @@ fi)
AC_SUBST(static_libraries)
AC_SUBST(object_type)
AC_SUBST(plotansi_variable_source)
AC_SUBST(plotansi_variable_object)
AC_SUBST(gltools_include)
AC_SUBST(albert_variable_source)
AC_SUBST(albert_variable_object)
AC_SUBST(make_own_blas_lib)
AC_OUTPUT(Makefile BLAS/Makefile IAMTOOLS/Makefile SOLVER/Makefile SOLVER/src/Makefile PLOT_ANSI/Makefile PLOT_ANSI/src/Makefile ALBERT/Makefile ALBERT/src/Makefile ALBERT/src/1d/Makefile ALBERT/src/2d/Makefile ALBERT/src/3d/Makefile ALBERT/src/Common/Makefile ALBERT/src/Common/Makefile.albert DEMO/src/1d/Makefile DEMO/src/2d/Makefile DEMO/src/3d/Makefile)
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