diff options
author | Jeremy Allison <jra@samba.org> | 2001-11-16 23:22:49 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-11-16 23:22:49 +0000 |
commit | 355124adaf512eeb04a0badfcfefbce63f31f023 (patch) | |
tree | 061d36f801189312cb174a18a22ca8d76bc4f22d /source3/configure | |
parent | b0518da076991f1c70ae8fe752af0f5f558d0389 (diff) | |
download | samba-355124adaf512eeb04a0badfcfefbce63f31f023.tar.gz samba-355124adaf512eeb04a0badfcfefbce63f31f023.tar.bz2 samba-355124adaf512eeb04a0badfcfefbce63f31f023.zip |
Fixed detection of RedHat headers. Removed another file !
Jeremy.
(This used to be commit d70674312d8b98367ccdbbc12fe880f9f539d258)
Diffstat (limited to 'source3/configure')
-rwxr-xr-x | source3/configure | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/configure b/source3/configure index b72b6ff4a6..4c32b6b34a 100755 --- a/source3/configure +++ b/source3/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 |