Last change
on this file since 778 was 414, checked in by Herwig Bauernfeind, 15 years ago |
Samba 3.5.0: Initial import
|
File size:
554 bytes
|
Line | |
---|
1 | AC_CHECK_HEADERS(direct.h windows.h winsock2.h ws2tcpip.h)
|
---|
2 |
|
---|
3 | #######################################
|
---|
4 | # Check for mkdir mode
|
---|
5 | AC_CACHE_CHECK( [whether mkdir supports mode], libreplace_cv_mkdir_has_mode,
|
---|
6 | AC_TRY_COMPILE([
|
---|
7 | #include <stdio.h>
|
---|
8 | #ifdef HAVE_DIRECT_H
|
---|
9 | #include <direct.h>
|
---|
10 | #endif],[
|
---|
11 | mkdir("foo",0777);
|
---|
12 | return 0;
|
---|
13 | ],
|
---|
14 | libreplace_cv_mkdir_has_mode="yes",
|
---|
15 | libreplace_cv_mkdir_has_mode="no") )
|
---|
16 |
|
---|
17 | if test "$libreplace_cv_mkdir_has_mode" = "yes"
|
---|
18 | then
|
---|
19 | AC_DEFINE(HAVE_MKDIR_MODE, 1, [Define if target mkdir supports mode option])
|
---|
20 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.