diff --git a/config/Makefile.am b/config/Makefile.am index 21ec00249e..ff122f85fd 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -11,6 +11,7 @@ EXTRA_DIST = \ cxx_find_template_repository.m4 \ cxx_find_exception_flags.m4 \ cxx_have_exceptions.m4 \ + lam_case_sensitive_fs_setup.m4 \ lam_check_optflags.m4 \ lam_configure_options.m4 \ lam_functions.m4 \ diff --git a/config/lam_case_sensitive_fs_setup.m4 b/config/lam_case_sensitive_fs_setup.m4 new file mode 100644 index 0000000000..7de2f17b26 --- /dev/null +++ b/config/lam_case_sensitive_fs_setup.m4 @@ -0,0 +1,89 @@ +dnl -*- shell-script -*- +dnl +dnl $HEADER$ +dnl + +AC_DEFUN(LAM_CASE_SENSITIVE_FS_SETUP,[ +# +# Arguments: none +# +# Dependencies: None +# +# See if we are on a case sensitive filesystem. Some filesystems +# (like HFS+ on MacOS X and MS Windows) are not case sensitive - mpicc +# and mpiCC are the same file. +# +# Sets prefix_OS_HAVE_CASE_SENSITIVE_FS to 1 if filesystem is case +# sensitive (ie, mpicc and mpiCC will be different files) or 0 if +# filesystem is not case sensitive (ie, mpicc and mpiCC will be +# the same file). +# +# + +have_cs_fs=1 + +AC_MSG_CHECKING([if build filesystem is case sensitive]) +cat > conf_fs_test.$$ < CONF_FS_TEST.$$ <