handle filesystems where lowercase(file)==file more gracefully
[swftools.git] / configure
index eae7680..07e1d0b 100755 (executable)
--- a/configure
+++ b/configure
@@ -9595,6 +9595,25 @@ xpdf_in_source='$(xpdf_objects)'
 # ------------------------------------------------------------------
 
 
+{ $as_echo "$as_me:$LINENO: checking whether the filesystem normalizes file names" >&5
+$as_echo_n "checking whether the filesystem normalizes file names... " >&6; }
+
+echo test1 > __abcdefghijklmnopqrstuvwxyz.txt
+echo test2 > __ABCDEFGHIJKLMNOPQRSTUVWXYZ.txt
+if test `cat __abcdefghijklmnopqrstuvwxyz.txt` = "test2";then
+    { $as_echo "$as_me:$LINENO: result: yes" >&5
+$as_echo "yes" >&6; }
+
+cat >>confdefs.h <<\_ACEOF
+#define LOWERCASE_UPPERCASE 1
+_ACEOF
+
+else
+    { $as_echo "$as_me:$LINENO: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
 
 for ac_prog in avifile-config
 do