Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
a4de2383
Commit
a4de2383
authored
27 years ago
by
Alastair Reid
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1998-03-03 04:45:06 by reid]
Added more feature tests
parent
4650a817
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
acconfig.h
+72
-0
72 additions, 0 deletions
acconfig.h
aclocal.m4
+18
-1
18 additions, 1 deletion
aclocal.m4
configure.in
+10
-0
10 additions, 0 deletions
configure.in
with
100 additions
and
1 deletion
acconfig.h
0 → 100644
+
72
−
0
View file @
a4de2383
/* acconfig.h
Descriptive text for the C preprocessor macros that
the fptools configuration script can define.
The current version may not use all of them; autoheader copies the ones
your configure.in uses into your configuration header file templates.
The entries are in sort -df order: alphabetical, case insensitive,
ignoring punctuation (such as underscores). Although this order
can split up related entries, it makes it easier to check whether
a given entry is in the file.
Leave the following blank line there!! Autoheader needs it. */
/* The following definitions will only work on Linux.
I (ADR) make no apology for this because we SHOULD NOT
be using system based tests and I want to get this puppy running
tonight. I'm forced to define these values here because the
current system contains 2 (two) config.h files - both of
which are needed. Will someone at Glasgow please fix this mess. */
#define HostPlatform_TYPE i386_unknown_linux
#define TargetPlatform_TYPE i386_unknown_linux
#define BuildPlatform_TYPE i386_unknown_linux
#define i386_unknown_linux_HOST 1
#define i386_unknown_linux_TARGET 1
#define i386_unknown_linux_BUILD 1
#define i386_HOST_ARCH 1
#define i386_TARGET_ARCH 1
#define i386_BUILD_ARCH 1
#define linux_HOST_OS 1
#define linux_TARGET_OS 1
#define linux_BUILD_OS 1
#define unknown_HOST_VENDOR 1
#define unknown_TARGET_VENDOR 1
#define unknown_BUILD_VENDOR 1
@
TOP
@
/* Define if we're have GNU libc. */
#undef _GNU_SOURCE
/* Define if time.h or sys/time.h define the altzone variable */
#undef HAVE_ALTZONE
/* Define to the type of the timezone variable (usually long or time_t) */
#undef TYPE_TIMEZONE
/* Define to unsigned int if <sys/types.h> doesn't define */
#undef uint
/* Define to unsigned long int if <sys/types.h> doesn't define */
#undef ulong
/* Define to unsigned long long int if <sys/types.h> doesn't define */
#undef ullong
/* Leave that blank line there!! Autoheader needs it.
If you're adding to this file, keep in mind:
The entries are in sort -df order: alphabetical, case insensitive,
ignoring punctuation (such as underscores). */
/* autoheader doesn't grok AC_CHECK_LIB_NOWARN so we have to add them
manually. */
@
BOTTOM
@
This diff is collapsed.
Click to expand it.
aclocal.m4
+
18
−
1
View file @
a4de2383
# $Id: aclocal.m4,v 1.1
8
1998/0
2/12 22:25:13 sof
Exp $
# $Id: aclocal.m4,v 1.1
9
1998/0
3/03 04:45:07 reid
Exp $
#
# Extra autoconf macros for the Glasgow fptools
#
#
# Are we running under the GNU libc? Need -D_GNU_SOURCE to get
# caddr_t and such.
#
AC_DEFUN(AC_GNU_LIBC,
[AC_CACHE_CHECK([GNU libc], ac_cv_gnu_libc,
[AC_EGREP_CPP(yes,
[#include <features.h>
#ifdef __GLIBC__
yes
#endif
], ac_cv_gnu_libc=yes, ac_cv_gnu_libc=no)])
if test "$ac_cv_gnu_libc" = yes; then
AC_DEFINE(_GNU_SOURCE)
fi
])
#
# Has timezone the type time_t or long (HP-UX 10.20 apparently
# has `long'..)
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
10
−
0
View file @
a4de2383
...
...
@@ -450,6 +450,16 @@ AC_TYPE_TIMEZONE
dnl do we have altzone?
AC_ALTZONE
#
dnl do we have the GNU libc?
AC_GNU_LIBC
#
dnl define uint, ulong and ullong if not already defined
AC_CHECK_TYPE(uint,unsigned int)
AC_CHECK_TYPE(ulong,unsigned long)
AC_CHECK_TYPE(ullong,unsigned long long)
#
dnl ** check for specific library functions that we are interested in
#
...
...
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