Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
dd49f15a
Commit
dd49f15a
authored
Aug 14, 1998
by
simonm
Browse files
[project @ 1998-08-14 15:24:10 by simonm]
remove old test for GLIBC.
parent
a0c8b536
Changes
1
Hide whitespace changes
Inline
Side-by-side
aclocal.m4
View file @
dd49f15a
dnl $Id: aclocal.m4,v 1.2
4
1998/08/
06
1
0
:2
8:34
simonm Exp $
dnl $Id: aclocal.m4,v 1.2
5
1998/08/
14
1
5
:2
4:10
simonm Exp $
dnl
dnl Extra autoconf macros for the Glasgow fptools
dnl
...
...
@@ -6,23 +6,6 @@ dnl To be a good autoconf citizen, names of local macros have
dnl prefixed with FPTOOLS_ to ensure we don't clash
dnl with any pre-supplied autoconf ones.
dnl
dnl Are we running under the GNU libc? Need -D_GNU_SOURCE to get
dnl caddr_t and such.
dnl
AC_DEFUN(FPTOOLS_GNU_LIBC,
[AC_CACHE_CHECK([GNU libc], fptools_cv_gnu_libc,
[AC_EGREP_CPP(yes,
[#include <features.h>
#ifdef __GLIBC__
yes
#endif
], fptools_cv_gnu_libc=yes, fptools_cv_gnu_libc=no)])
if test "$fptools_cv_gnu_libc" = yes; then
AC_DEFINE(_GNU_SOURCE)
fi
])
dnl
dnl Has timezone the type time_t or long (HP-UX 10.20 apparently
dnl has `long'..)
...
...
Write
Preview
Supports
Markdown
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