Message142925
Patch to get #ifdef REALPATH_SUPPORT_NULL:
diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -1539,6 +1539,17 @@ if test "$have_pthread_t" = yes ; then
#endif
])
fi
+
+AC_MSG_CHECKING(for realpath with NULL)
+realpath_support_null=no
+AC_COMPILE_IFELSE([
+ AC_LANG_PROGRAM([[#include <stdlib.h>]], [[char *p = realpath(__FILE__, NULL);]])
+],[realpath_support_null=yes],[])
+AC_MSG_RESULT($realpath_support_null)
+if test "$have_pthread_t" = yes ; then
+ AC_DEFINE(REALPATH_SUPPORT_NULL, 1,
+ [Define if the realpath() function supports NULL as the second argument])
+fi
CC="$ac_save_cc"
AC_SUBST(OTHER_LIBTOOL_OPT) |
|
Date |
User |
Action |
Args |
2011-08-24 21:22:15 | vstinner | set | recipients:
+ vstinner, pitrou, eric.araujo, neologix, rosslagerwall |
2011-08-24 21:22:15 | vstinner | set | messageid: <1314220935.87.0.996192069008.issue12801@psf.upfronthosting.co.za> |
2011-08-24 21:22:15 | vstinner | link | issue12801 messages |
2011-08-24 21:22:15 | vstinner | create | |
|