only test for broken getnameinfo if it exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9372 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -317,10 +317,12 @@ AC_BROKEN([					\ | |||||||
| 	writev					\ | 	writev					\ | ||||||
| ]) | ]) | ||||||
|  |  | ||||||
|  | if test "$ac_cv_func_getnameinfo" = "yes"; then | ||||||
|   rk_BROKEN_GETNAMEINFO |   rk_BROKEN_GETNAMEINFO | ||||||
|   if test "$ac_cv_func_getnameinfo_broken" = yes; then |   if test "$ac_cv_func_getnameinfo_broken" = yes; then | ||||||
|     LIBOBJS="$LIBOBJS getnameinfo.o" |     LIBOBJS="$LIBOBJS getnameinfo.o" | ||||||
|   fi |   fi | ||||||
|  | fi | ||||||
|  |  | ||||||
| AC_NEED_PROTO([#include <stdlib.h>], setenv) | AC_NEED_PROTO([#include <stdlib.h>], setenv) | ||||||
| AC_NEED_PROTO([#include <stdlib.h>], unsetenv) | AC_NEED_PROTO([#include <stdlib.h>], unsetenv) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund