mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
scons_utils.py: fix mkdir test on mingw
all files set to eolstyle native git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13851 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e94889a041
commit
b612ed84dd
@ -211,12 +211,25 @@ int main()
|
||||
mkdir("somedir");
|
||||
}
|
||||
"""
|
||||
|
||||
check_mkdir_one_arg_source2 = """
|
||||
#include <unistd.h>
|
||||
int main()
|
||||
{
|
||||
mkdir("somedir");
|
||||
}
|
||||
"""
|
||||
|
||||
conf.Message('Checking for the number of args for mkdir... ')
|
||||
ret = conf.TryLink(check_mkdir_one_arg_source, '.c')
|
||||
if ret:
|
||||
conf.Result('one')
|
||||
else:
|
||||
conf.Result('two')
|
||||
ret = conf.TryLink(check_mkdir_one_arg_source2, '.c')
|
||||
if ret:
|
||||
conf.Result('one')
|
||||
else:
|
||||
conf.Result('two')
|
||||
return ret
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user