mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +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");
|
mkdir("somedir");
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
check_mkdir_one_arg_source2 = """
|
||||||
|
#include <unistd.h>
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
mkdir("somedir");
|
||||||
|
}
|
||||||
|
"""
|
||||||
|
|
||||||
conf.Message('Checking for the number of args for mkdir... ')
|
conf.Message('Checking for the number of args for mkdir... ')
|
||||||
ret = conf.TryLink(check_mkdir_one_arg_source, '.c')
|
ret = conf.TryLink(check_mkdir_one_arg_source, '.c')
|
||||||
if ret:
|
if ret:
|
||||||
conf.Result('one')
|
conf.Result('one')
|
||||||
else:
|
else:
|
||||||
conf.Result('two')
|
ret = conf.TryLink(check_mkdir_one_arg_source2, '.c')
|
||||||
|
if ret:
|
||||||
|
conf.Result('one')
|
||||||
|
else:
|
||||||
|
conf.Result('two')
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user