Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
51e17ea6
Commit
51e17ea6
authored
Feb 17, 2001
by
sebc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2001-02-17 19:52:56 by sebc]
Make LIBM be detected by autoconf.
parent
05dfbd74
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
+12
-5
aclocal.m4
aclocal.m4
+4
-4
configure.in
configure.in
+4
-0
ghc/utils/hp2ps/Makefile
ghc/utils/hp2ps/Makefile
+1
-1
mk/config.mk.in
mk/config.mk.in
+3
-0
No files found.
aclocal.m4
View file @
51e17ea6
dnl $Id: aclocal.m4,v 1.6
6 2001/01/30 11:13:26 simonmar
Exp $
dnl $Id: aclocal.m4,v 1.6
7 2001/02/17 19:52:56 sebc
Exp $
dnl
dnl Extra autoconf macros for the Glasgow fptools
dnl
...
...
@@ -861,7 +861,7 @@ dnl The variable LIBM (which is not an output variable by default) is
dnl set to a value which is suitable for use in a Makefile (for example,
dnl in make's LOADLIBES macro) provided you AC_SUBST it first.
dnl
dnl @version 0.01 $Id: aclocal.m4,v 1.6
6 2001/01/30 11:13:26 simonmar
Exp $
dnl @version 0.01 $Id: aclocal.m4,v 1.6
7 2001/02/17 19:52:56 sebc
Exp $
dnl @author Matthew D. Langston <langston@SLAC.Stanford.EDU>
# FPTOOLS_CHECK_LIBM - check for math library
...
...
@@ -869,7 +869,7 @@ AC_DEFUN(FPTOOLS_CHECK_LIBM,
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM=
case "$host" in
*-*-beos* | *-*-
cygwin
*)
*-*-beos* | *-*-
macosx
*)
# These system don't have libm
;;
*-ncr-sysv4.3*)
...
...
@@ -949,7 +949,7 @@ dnl Please note that as the ac_opengl macro and the toy example evolves,
dnl the version number increases, so you may have to adjust the above
dnl URL accordingly.
dnl
dnl @version 0.01 $Id: aclocal.m4,v 1.6
6 2001/01/30 11:13:26 simonmar
Exp $
dnl @version 0.01 $Id: aclocal.m4,v 1.6
7 2001/02/17 19:52:56 sebc
Exp $
dnl @author Matthew D. Langston <langston@SLAC.Stanford.EDU>
AC_DEFUN(FPTOOLS_HAVE_OPENGL,
...
...
configure.in
View file @
51e17ea6
...
...
@@ -842,6 +842,10 @@ else
fi
AC_SUBST(LibsReadline)
dnl ** check for math library
FPTOOLS_CHECK_LIBM()
AC_SUBST(LIBM)
dnl ################################################################
dnl Check for libraries
dnl ################################################################
...
...
ghc/utils/hp2ps/Makefile
View file @
51e17ea6
...
...
@@ -8,7 +8,7 @@ C_PROG = hp2ps
INSTALL_PROGS
+=
$(C_PROG)
SRC_CC_OPTS
+=
-O
LIBS
=
-lm
LIBS
=
$(LIBM)
CLEAN_FILES
+=
$(C_OBJS)
$(C_PROG)
...
...
mk/config.mk.in
View file @
51e17ea6
...
...
@@ -290,6 +290,9 @@ GhcLibsWithReadline=@HaveReadlineHeaders@
# Libraries needed for linking with readline
LibsReadline
=
@LibsReadline@
# Math library
LIBM
=
@LIBM@
# Include path to readline.h
# (no path == in standard include path)
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment