aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-01-11 07:16:42 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-01-11 07:16:42 +0000
commit680e4d14e0534bb535059d0239b71d42317fe0b1 (patch)
treea0fc3ca39b42e5f734303c0045b709c43ec562cf /m4
parentoops - fogot to fix symbols used. fix. (diff)
downloadenlightenment-680e4d14e0534bb535059d0239b71d42317fe0b1.tar.gz
update efl_path_max.m4
SVN revision: 45040
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_path_max.m427
1 files changed, 15 insertions, 12 deletions
diff --git a/m4/efl_path_max.m4 b/m4/efl_path_max.m4
index 2c9b60afe..f57bfd2ab 100644
--- a/m4/efl_path_max.m4
+++ b/m4/efl_path_max.m4
@@ -13,19 +13,22 @@ AC_DEFUN([EFL_CHECK_PATH_MAX],
default_max=m4_default([$1], "4096")
AC_LANG_PUSH([C])
-AC_MSG_CHECKING([for PATH_MAX in limit.h])
+AC_MSG_CHECKING([for PATH_MAX in limits.h])
AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM([[#include <limits.h>]],
- [[int i = PATH_MAX]])
- ],
- AC_MSG_RESULT([yes]),
- [
- AC_DEFINE_UNQUOTED([PATH_MAX],
- [${default_max}],
- [default value since PATH_MAX is not defined])
- AC_MSG_RESULT([no: using ${default_max}])
- ]
-)
+ [AC_LANG_PROGRAM(
+ [[
+#include <limits.h>
+ ]],
+ [[
+int i = PATH_MAX;
+ ]])],
+ [AC_MSG_RESULT([yes])],
+ [
+ AC_DEFINE_UNQUOTED([PATH_MAX],
+ [${default_max}],
+ [default value since PATH_MAX is not defined])
+ AC_MSG_RESULT([no: using ${default_max}])
+ ])
AC_LANG_POP([C])