diff -Naur libX11-1.3.3/configure.ac libX11-1.3.3-haiku/configure.ac
|
old
|
new
|
|
| 189 | 189 | # Checks for typedefs, structures, and compiler characteristics. |
| 190 | 190 | |
| 191 | 191 | # Checks for library functions. |
| | 192 | AC_SEARCH_LIBS(issetugid, [bsd]) |
| | 193 | AC_SEARCH_LIBS(getresuid, [bsd]) |
| | 194 | |
| 192 | 195 | AC_CHECK_FUNCS([strtol]) |
| 193 | 196 | # Used in lcFile.c (see also --enable-xlocaledir settings below) |
| 194 | 197 | XLOCALEDIR_IS_SAFE="no" |
| … |
… |
|
| 229 | 232 | [xthreads=$enableval],[xthreads=yes]) |
| 230 | 233 | |
| 231 | 234 | AC_CHECK_LIB(c, getpwuid_r, [mtsafeapi="yes"], [mtsafeapi="no"]) |
| | 235 | if test "x$mtsafeapi" = xno; then |
| | 236 | AC_CHECK_LIB(root, getpwuid_r, [mtsafeapi="yes"], [mtsafeapi="no"]) |
| | 237 | fi |
| 232 | 238 | |
| 233 | 239 | case x$xthreads in |
| 234 | 240 | xyes) |
| … |
… |
|
| 242 | 248 | ;; |
| 243 | 249 | esac |
| 244 | 250 | |
| 245 | | AC_CHECK_LIB(c, pthread_self, [thrstubs="no"], [thrstubs="yes"]) |
| | 251 | AC_CHECK_LIB(c, pthread_self, [thrstubs="no"], [ |
| | 252 | AC_CHECK_LIB(root, pthread_self, [thrstubs="no"], [thrstubs="yes"]) |
| | 253 | ]) |
| 246 | 254 | AM_CONDITIONAL(THRSTUBS, test x$thrstubs = xyes) |
| 247 | 255 | |
| 248 | 256 | dnl XXX incomplete, please fill this in |