diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 793ee1d9..c9d9f767 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1262,7 +1262,7 @@ MHD_CHECK_FUNC([getsockname], | |||
1262 | (void)getsockname(socket(0,0,0),(struct sockaddr *)&ss,(void*)0); | 1262 | (void)getsockname(socket(0,0,0),(struct sockaddr *)&ss,(void*)0); |
1263 | ], | 1263 | ], |
1264 | [ | 1264 | [ |
1265 | AC_CACHE_CHECK([[whether getsockname() is usable]], [[mhc_cv_getsockname_usable]], | 1265 | AC_CACHE_CHECK([[whether getsockname() is usable]], [[mhd_cv_getsockname_usable]], |
1266 | [ | 1266 | [ |
1267 | AC_RUN_IFELSE( | 1267 | AC_RUN_IFELSE( |
1268 | [ | 1268 | [ |
@@ -1351,13 +1351,13 @@ int main(void) | |||
1351 | ]] | 1351 | ]] |
1352 | ) | 1352 | ) |
1353 | ], | 1353 | ], |
1354 | [[mhc_cv_getsockname_usable='yes']], | 1354 | [[mhd_cv_getsockname_usable='yes']], |
1355 | [[mhc_cv_getsockname_usable='no']], | 1355 | [[mhd_cv_getsockname_usable='no']], |
1356 | [[mhc_cv_getsockname_usable='assuming yes']] | 1356 | [[mhd_cv_getsockname_usable='assuming yes']] |
1357 | ) | 1357 | ) |
1358 | ] | 1358 | ] |
1359 | ) | 1359 | ) |
1360 | AS_VAR_IF([[mhc_cv_getsockname_usable]], [["no"]], [:], | 1360 | AS_VAR_IF([[mhd_cv_getsockname_usable]], [["no"]], [:], |
1361 | [AC_DEFINE([[MHD_USE_GETSOCKNAME]], [[1]], [Define if you have usable `getsockname' function.])]) | 1361 | [AC_DEFINE([[MHD_USE_GETSOCKNAME]], [[1]], [Define if you have usable `getsockname' function.])]) |
1362 | ] | 1362 | ] |
1363 | ) | 1363 | ) |