Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
pikelang
pike
Commits
763b588c
Commit
763b588c
authored
26 years ago
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Changed a few AC_TRY_RUN's to AC_TRY_COMPILE.
Rev: src/modules/files/configure.in:1.48
parent
0c73e9d3
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
src/modules/files/configure.in
+5
-11
5 additions, 11 deletions
src/modules/files/configure.in
with
5 additions
and
11 deletions
src/modules/files/configure.in
+
5
−
11
View file @
763b588c
# $Id: configure.in,v 1.4
7
1998/05/22 1
1:49:58
grubba Exp $
# $Id: configure.in,v 1.4
8
1998/05/22 1
5:10:46
grubba Exp $
AC_INIT(file.c)
AC_INIT(file.c)
AC_CONFIG_HEADER(file_machine.h)
AC_CONFIG_HEADER(file_machine.h)
...
@@ -33,7 +33,7 @@ AC_DEFINE_UNQUOTED(MKDIR_ARGS,$pike_cv_func_mkdir_args)
...
@@ -33,7 +33,7 @@ AC_DEFINE_UNQUOTED(MKDIR_ARGS,$pike_cv_func_mkdir_args)
if test x$ac_cv_func_readdir_r = xyes ; then
if test x$ac_cv_func_readdir_r = xyes ; then
AC_MSG_CHECKING(if readdir_r takes 2(Solaris & HPUX) or 3(Posix) arguments)
AC_MSG_CHECKING(if readdir_r takes 2(Solaris & HPUX) or 3(Posix) arguments)
AC_CACHE_VAL(pike_cv_func_posix_readdir_r, [
AC_CACHE_VAL(pike_cv_func_posix_readdir_r, [
AC_TRY_
RUN
([
AC_TRY_
COMPILE
([
/* For _REENTRANT */
/* For _REENTRANT */
#include "machine.h"
#include "machine.h"
#ifndef POSIX_SOURCE
#ifndef POSIX_SOURCE
...
@@ -58,14 +58,11 @@ if test x$ac_cv_func_readdir_r = xyes ; then
...
@@ -58,14 +58,11 @@ if test x$ac_cv_func_readdir_r = xyes ; then
#ifdef HAVE_SYS_SYSPROTO_H
#ifdef HAVE_SYS_SYSPROTO_H
#include <sys/sysproto.h>
#include <sys/sysproto.h>
#endif
#endif
], [
int main()
{
exit(0);
exit(0);
/* NOT REACHED */
/* NOT REACHED */
readdir_r((DIR *)0, (struct dirent *)0);
readdir_r((DIR *)0, (struct dirent *)0);
}
],pike_cv_func_posix_readdir_r=no,pike_cv_func_posix_readdir_r=yes)
],pike_cv_func_posix_readdir_r=no,pike_cv_func_posix_readdir_r=yes)
])
])
...
@@ -225,7 +222,7 @@ else :; fi
...
@@ -225,7 +222,7 @@ else :; fi
if test x$ac_cv_func_statfs = xyes ; then
if test x$ac_cv_func_statfs = xyes ; then
AC_MSG_CHECKING(if statfs takes 2(BSD) or 4(SysV) arguments)
AC_MSG_CHECKING(if statfs takes 2(BSD) or 4(SysV) arguments)
AC_CACHE_VAL(pike_cv_func_sysv_statfs, [
AC_CACHE_VAL(pike_cv_func_sysv_statfs, [
AC_TRY_
RUN
([
AC_TRY_
COMPILE
([
#ifndef POSIX_SOURCE
#ifndef POSIX_SOURCE
#define POSIX_SOURCE
#define POSIX_SOURCE
#endif
#endif
...
@@ -251,9 +248,7 @@ if test x$ac_cv_func_statfs = xyes ; then
...
@@ -251,9 +248,7 @@ if test x$ac_cv_func_statfs = xyes ; then
#ifdef HAVE_SYS_MOUNT_H
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#include <sys/mount.h>
#endif
#endif
], [
int main()
{
exit(0);
exit(0);
/* NOT REACHED */
/* NOT REACHED */
...
@@ -264,7 +259,6 @@ int main()
...
@@ -264,7 +259,6 @@ int main()
* /grubba 1998-05-17
* /grubba 1998-05-17
*/
*/
statfs((char *)0, (struct statfs *)0, 0, 0);
statfs((char *)0, (struct statfs *)0, 0, 0);
}
],pike_cv_func_sysv_statfs=yes,pike_cv_func_sysv_statfs=no)
],pike_cv_func_sysv_statfs=yes,pike_cv_func_sysv_statfs=no)
])
])
if test x$pike_cv_func_sysv_statfs = xyes ; then
if test x$pike_cv_func_sysv_statfs = xyes ; then
...
...
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