diff configure @ 36253:5c8339df2496

Check if path is too long Some buggy libc such as OS/2 kLIBC crashes if path is too long.
author komh
date Mon, 17 Jun 2013 12:27:36 +0000
parents 2af48d236902
children 8e7e5d784bae
line wrap: on
line diff
--- a/configure	Sun Jun 16 22:35:51 2013 +0000
+++ b/configure	Mon Jun 17 12:27:36 2013 +0000
@@ -855,6 +855,7 @@
 _priority=no
 def_dos_paths="#define HAVE_DOS_PATHS 0"
 def_stream_cache="#define CONFIG_STREAM_CACHE 1"
+def_path_max_check="#define CONFIG_PATH_MAX_CHECK 0"
 def_priority="#undef CONFIG_PRIORITY"
 def_pthread_cache="#undef PTHREAD_CACHE"
 shmem=no
@@ -1780,6 +1781,7 @@
   _priority=yes
   def_dos_paths="#define HAVE_DOS_PATHS 1"
   def_priority="#define CONFIG_PRIORITY 1"
+  def_path_max_check="#define CONFIG_PATH_MAX_CHECK 1"
 fi
 
 if wine ; then
@@ -8723,6 +8725,7 @@
 $def_macosx_finder
 $def_maemo
 $def_memalign_hack
+$def_path_max_check
 $def_priority
 $def_quicktime
 $def_restrict_keyword