X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=m4%2Flowercase.m4;fp=m4%2Flowercase.m4;h=0d9cd9a36093b59e50be5346964295565c0ccba9;hp=0000000000000000000000000000000000000000;hb=3e303bea7eb10c99a7b3808f0c355ee63188eb9b;hpb=8978b24a969f73518ecde87b24d972c7030e91f6 diff --git a/m4/lowercase.m4 b/m4/lowercase.m4 new file mode 100644 index 0000000..0d9cd9a --- /dev/null +++ b/m4/lowercase.m4 @@ -0,0 +1,15 @@ +AC_DEFUN([RFX_CHECK_LOWERCASE_UPPERCASE], +[ +AC_MSG_CHECKING([whether the filesystem normalizes file names]) + +echo test1 > __abcdefghijklmnopqrstuvwxyz.txt +echo test2 > __ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt +if test `cat __abcdefghijklmnopqrstuvwxyz.txt` = "test2";then + AC_MSG_RESULT(yes) + AC_DEFINE([LOWERCASE_UPPERCASE], [1], [Define if the file system is case invariant]) +else + AC_MSG_RESULT(no) +fi +]) + +