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:
Abdelrazak Younes 2006-05-16 10:37:25 +00:00
parent e94889a041
commit b612ed84dd

View File

@ -211,8 +211,21 @@ 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:
conf.Result('one')
else:
ret = conf.TryLink(check_mkdir_one_arg_source2, '.c')
if ret: if ret:
conf.Result('one') conf.Result('one')
else: else: