summaryrefslogtreecommitdiffstats
path: root/source/configure
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-16 23:22:49 +0000
committerJeremy Allison <jra@samba.org>2001-11-16 23:22:49 +0000
commitd70674312d8b98367ccdbbc12fe880f9f539d258 (patch)
treec2a3cdd9d00435812a5e6dbeb73a2c4991f23d16 /source/configure
parentc17bfe7c365de19193dcf9ace8728866e344d7aa (diff)
downloadsamba-d70674312d8b98367ccdbbc12fe880f9f539d258.tar.gz
samba-d70674312d8b98367ccdbbc12fe880f9f539d258.tar.xz
samba-d70674312d8b98367ccdbbc12fe880f9f539d258.zip
Fixed detection of RedHat headers. Removed another file !
Jeremy.
Diffstat (limited to 'source/configure')
-rwxr-xr-xsource/configure20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/configure b/source/configure
index b72b6ff4a6a..4c32b6b34a5 100755
--- a/source/configure
+++ b/source/configure
@@ -2524,12 +2524,12 @@ else
#line 2525 "configure"
#include "confdefs.h"
#include <stdio.h>
-main()
+int main()
{
FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
+ if (!f) return(1);
fprintf(f, "%d\n", sizeof(int));
- exit(0);
+ return(0);
}
EOF
if { (eval echo configure:2536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@@ -2563,12 +2563,12 @@ else
#line 2564 "configure"
#include "confdefs.h"
#include <stdio.h>
-main()
+int main()
{
FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
+ if (!f) return(1);
fprintf(f, "%d\n", sizeof(long));
- exit(0);
+ return(0);
}
EOF
if { (eval echo configure:2575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@@ -2602,12 +2602,12 @@ else
#line 2603 "configure"
#include "confdefs.h"
#include <stdio.h>
-main()
+int main()
{
FILE *f=fopen("conftestval", "w");
- if (!f) exit(1);
+ if (!f) return(1);
fprintf(f, "%d\n", sizeof(short));
- exit(0);
+ return(0);
}
EOF
if { (eval echo configure:2614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@@ -11037,7 +11037,7 @@ cat > conftest.$ac_ext <<EOF
#ifdef HAVE_SYS_VFS_H
#include <sys/vfs.h>
#endif
-#ifdef HAVE_SYS_CAPABILITY
+#ifdef HAVE_SYS_CAPABILITY_H
#include <sys/capability.h>
#endif